Software :: Mouse Button As Modifier?

Apr 20, 2011

As I'd like to be able to fully control my desktop with both my keyboard and my mouse, I wrote a .xbindkeysrc.scm script to make two of my eight mouse buttons work as modifiers. For instance, b:9 + wheel now changes volume.

Only problem is, I accomplish this by emulating a key press with a modifier held, and the modifier seems to stick randomly after the mouse buttons have been released.

I would be very happy if anyone could point out the errors in the script below (or with the software used, I don't know how reliable xvkbd is).

Code:
(define (display-n str)
"Display a string then newline"
(display str)

[Code].....

The first part declares some base functions for the keystrokes to be sent with xvkbd. Also, the function to reset the bindings on relesae of the modifier is here. (As you may see, I already tried to put in some code to specifically reset the modifiers, with no results.) The second part contains the default bindings for buttons 10-12 when no modifier is held. The third and fourth part specify the actions when modifiers are held, usually to send a keystroke or to run a command. The fifth part performs the bindings for the first, second and third level.

View 5 Replies


ADVERTISEMENT

Hardware :: Map Mouse Button To Modifier Key

Sep 19, 2010

I have a MX 518 which as 5 additional buttons, I'm trying to bind the thumb button to Control or Shift. I'm fighting against it since yesterday, I tried many things : easystroke, imwheel, xbindkeys/xvkbd. I'm a bit new to Linux so I can still miss something very important. I read a tutorial about that mouse, all went well but it isn't explained how to set up what I wish.

View 2 Replies View Related

Ubuntu :: How To Use Super Key As Standalone Button And Modifier

Nov 21, 2010

Predefinations: From here on in, I will refer to the "Windows Key" on the keyboard as the "Super Key" (Linux terminology)

Consider a user's experience in Windows:
* UseCaseA: Accessing the start menu --> "Super Key" open the menu.
* UseCaseB: Open the "run dialogue" --> "Super Key" + R
* UseCaseC: Open win explorer --> "Super Key" + E
* etc.

In GNOME/ubuntu however, apparently there is this odd limitation in that the "Super Key" cannot be both a standalone key, and a modifier key. Is it still the case? Currently running Ubuntu 10.04 and 10.10. Apparently in KDE this works, and in Windows it's worked since Windows95. How can we achieve this functionality in Ubuntu/gnome?

View 2 Replies View Related

Debian Configuration :: Disable Middle Mouse Button Paste Action-not The Whole Button?

Apr 1, 2011

While searching the net I found how to complete disable the functionality of the middle mouse button but I need this button for many other uses.I want to disable only it's paste action.

View 2 Replies View Related

General :: Multi-button Mouse On X11: How To Configure Several Buttons To Act As The Middle Button

Mar 17, 2011

I know how to make another button act as the middle button but how can I map several mouse buttons to the middle button? xmodmap complains if I repeat button numbers in the pointer option.

View 2 Replies View Related

Fedora Hardware :: Mouse Middle Button Mouse Paste No Longer Works In FC14?

Jan 4, 2011

I just upgraded to FC14 (64) from FC13 (32) and the mouse middle button (simultaneous left+right button) paste function has stopped working. I tested it with 3 makes/models of different mice and trackballs. For some reason (left+right) mouse returns the same code as the single right-button ('xev' value = 3). This worked in all previous FC and RH distros I've used in the past. Did a default setting get zonked somewhere? System: Toshiba laptop w/ USB mouse.

View 1 Replies View Related

Debian :: Need To Record Mouse Location When There Is A Mouse Button Event

Sep 15, 2015

CNEE(1) General Commands Manual says this. RECORD OPTIONS --first-last Print only first and last of multiple successive MotionEvent. So I try this. my test window is Calculator 3.14.1 cnee --record --mouse --keyboard --time 5 --store-mouse-position --first-last --stop-key h -o xnee.xns -e xnee_record.log -v;The result is, xnee.xns lists every mouse movement.But I only need to record the mouse location when there is a mouse button event. it seems --first-last does not work. How can I make it work?I use

hardware HP pavillion 20.
The only avalible resolution is 1600x900.
/etc/debian_version 8.1
GNOME Terminal 3.14.1
xnee 3.19

View 0 Replies View Related

Ubuntu :: Right Mouse Click Freeze / When Right Mouse Button To Open Options Menu It Freezes And Does Not Open Menu?

Oct 14, 2010

just want to report "Right Mouse Click Freeze" on Ubuntu 10.10. When I click on anything with my right mouse button to open options menu it freezes and does not open menu. Sometimes when I shake my mouse left/right a bit it opens that menu, but this does not work always. It seems like xserver issue, but I'm not sure since I'm not expert in linux yet. It's very annoying issue that I would like to resolve asap.

My System Specs:
Intel Core 2 Quad Q6600 @ 2.40GHz
CORSAIR XMS2 2GB (2 x 1GB) 240-Pin DDR2 800 (PC2 6400)
Western Digital 250 GB Hard Drive
Ubuntu 10.10 64-bit (Kernel Linux 2.6.35-22)
(Used Desktop Install CD)

View 2 Replies View Related

Ubuntu :: Get Mouse Button 4 Working?

Jan 28, 2010

i got a razer diamondback 3G and button 1,2,3+weel up/down works.. but the button 4 (previous) not.

instead the button 5 (next) do previous, and button 4 don't work.

i tried modify xorg.conf but do nothing..

View 3 Replies View Related

Software :: Using Keyboard Key As Mouse Button?

May 7, 2010

The mouse buttons on my machine are frustratingly loud, unreliable and hard to press down. (the touchpad thingy that *moves* the mouse works great though)

I would like to map a certain (unused) keyboard key I have, to do the job that the left mouse button does (i.e. the opposite of what tons of mouse-keyboard mapping programs do).

I'm open for suggestions on how to accomplish this, but I would prefer using xmodmap, possibly in conjunction with xdotool. Thus, I need someway to map events as follows: (button1=leftmouse; keycode123=keyboard key alternative)

KeyPress 123 ---> ButtonPress Button 1
Keyrelease 123 ---> ButtonRelease Button 1

Compiz is also a great way to map stuff to xdotool commands, but it doesn't handle separate KeyDown/KeyUp event.

View 7 Replies View Related

Fedora :: 4th & 5th Mouse Button Doesn't Work

Oct 10, 2009

I have a 5 button mouse and the 4th and 5th buttons are useful for skipping back or forwards while surfing with Firefox. It would be nice if I could skip back in Nautilus too, but it doesn't work. (Alt+LeftArrow & Alt+RightArrow as keybord equivalent) Is there a possibility to use this buttons in Nautilus too?

View 6 Replies View Related

Fedora X86/64bit :: Mouse Button Locks

Sep 30, 2010

I downloaded Fedora 13 (x86_64) just two or three days ago, and installed it in VMWare Workstation. The problem that I am having is that the OS will randomly think that I am holding down the left mouse button, which I am clearly not. I only installed the base system (development pack), and did not add any of ther other repositories. I would really like to be able to use Fedora 13, and not just have it sitting there on my HDD, and also use it as a server operating system (because of the configuration tools)

View 3 Replies View Related

OpenSUSE ::add Some Items Under Mouse Right Button Menu?

Mar 13, 2010

I really like to add some items under mouse right button menu. For example when i right-click on the desktop i like to have as first entry "open konsole".

View 7 Replies View Related

OpenSUSE Install :: Mouse Right Button Is Not Working On KDE In 11.3?

Jan 18, 2011

I am using openSUSE 11.3 in Compaq presario v3000. Its working fine. One morning I found that, my home folder is deleted from the desktop and my mouse right-button is not working on desktop. What can I do?

View 6 Replies View Related

Ubuntu / Apple :: Remap Mouse Button 3?

Jan 26, 2010

wondering if any other ppc users have had the issue whereby, after the first unsuccessful power down (or sometimes the second or third) of a fresh ubuntu 9.10 install, mouse button 3, which is normally mapped to F12, becomes function (fn) + F12.? This is really annoying as you now have to use two hands to activate the little drop down menu. So i tried remapping mouse button three to that strange little key beside the left arrow on an ibook keyboard that looks like a picnic table and which, under os x, renames stuff.

I ran "gksu gedit /etc/sysctl.d/10-arch-specific.conf" and edited it accordingly: mouse button 3 from keycode 88 to 104. It works, but i still have to press function to activate it and fn + F12 still works simultaneously (though it is no longer defined in the conf file), and my new key doesnt offer the same functionality (eg, it doesnt give spell check options in firefox where fn + F12 does). Arg. Anybody know how to make it so that i can activate mouse button three without having to press function?

View 9 Replies View Related

Ubuntu :: No Menu With The Right Mouse Button In Lucid?

May 5, 2010

I was using lucid since beta 2 without problems, but since few days I can't get a menu when I click on the right mouse button. Doesn't work on the desktop or when for example I want to rename a file using the right mouse button. Is this a bug from gnome or a new properties?

View 1 Replies View Related

Ubuntu :: Mouse Button No Longer Working

May 19, 2010

I have a 'Microsoft Comfort Optical Mouse 3000'. In addition to the regular left/right click and scroll wheel it has an extra button on the side. In previous versions of Ubuntu I was able to remap this button to act as double-click using 'xbindkeys'. However, in Lucid this no longer seems to work. X seems to know about all of the buttons on the mouse since 'xinput' lists the device as having 13 buttons and labels button 8 as 'Button Side'. However, 'xev' does not show a button event when I press the button. Instead it shows:

[Code]...

View 1 Replies View Related

Ubuntu :: Epiphany Mouse Back Button?

Oct 12, 2010

I have been trying out several newcomer browsers (using webkit) as alternatives to Firefox, which seems increasingly slow to me.Midori and Arora both allow the back button of my mouse to work, as does Firefox.However, Epiphany, which would be my first choice, does not, and I can't find any way whatsoever of configuring it to do so.I can't see why such a 'flagship' app should lack such an essential feature.

View 3 Replies View Related

Ubuntu :: Left Mouse Button Cannot Work Sometimes

Oct 16, 2010

While Login into ubuntu, open firefox for sometime, my left mouse button usually cannot work, while right button is OK and keyboard is also OK. Mouse pointer can be moved,however left click shows no reaction(when i move the mouse pointer to some certain icon, the icon can be highlighted just as usual but left click still shows no reaction).

I doubted this may be firefox's problem, but when I kill firefox-bin and firefox process through the terminal(keyboard is ok and i can use ALT+F2 to enter gnome-terminal), Left mouse button still cannot work. And then I have to Ctrl+Alt+Delete and reboot the system. My ubuntu is 10.10, updated several days ago(this problem has been existed before the update)

View 2 Replies View Related

Ubuntu :: Mouse Thumb Button Configuration?

Nov 5, 2010

Running Ubuntu Studio 10.04 with an MS wireless notebook optical mouse 4000. By default, my thumb button is acting as a "Forward" button, but I want it to be my "Back" button. I have not installed anything like imwheel, nor do I want to, especially because the button support is obviously already there, it just needs to be configured to a new command. My xorg.conf looks like this (at least the parts of it that I think are relevant,

[code]....

I have tried messing with Emulate3Buttons and the ZAxisMappings, but there were no changes. Please tell me if I am in the right place? Or is there another program or something running already that is controlling my mouse.

View 6 Replies View Related

Ubuntu :: Drag & Drop Using The Right Mouse Button?

Mar 20, 2011

can nautilus be set up in a way, that it has the same right-click drag & drop behaviour like windows ? i mean, i want to drag & drop using the right mouse button, and then i want a pop-up menue like the one i get using the left mouse button and ALT.

View 3 Replies View Related

Fedora Hardware :: Disable Left Mouse Button?

Jul 8, 2011

I have a question - how to disable the left mouse button in Fedora 14? I do not mean to replace the buttons, only the total exclusion of the left button. I mean that as a result of a error mouse clicks itself, so I swapped it in Preferences on the right and now I want to disable. I would be very grateful if you would tell me how to do it. Maybe should I replace left mouse button with middle mouse button? But how to do it?

View 1 Replies View Related

OpenSUSE :: Mouse Middle Button Paste Is Not Working?

Mar 4, 2010

Suddenly the mouse middle button paste feature does not work in Bluefish and OpenOffice. It is driving me crazy. I have become so used to this feature I am constantly forgetting to ctl c/v to cut and paste.

It works everywhere else. ( For example, I can use it in this text box that I am typing this message in. ) and when I select text in either Bluefish or OpenOffice it shows up in Klipper. Strangely, if I select that text in Klipper I can paste it into either application with the middle button.

This just started a few days ago. I have no idea what changed on my system. It is a KDE4 desktop, if that is relevant.

View 2 Replies View Related

Ubuntu :: Low Level Way Of Listing Which Mouse Button Does What In Gnome

Jan 23, 2010

Is there some low-level way of listing which mouse button does what in Gnome? It seems my middle mouse button is mapped to something besides a middle mouse click (button 3). For example, to move or pan in apps like Xmind or blender, you need to click on hold the MMB. The app will work like expected for a split second then stop, making it useless.

This is one of the most frustrating issues I find with Gnome/Linux/etc. There is a million places to set global inputs, but no place to find them. I have been through every control panel, every compiz plugin, xorg, gconf etc, and can't find what the MMB is set too (or any other input for that matter). I know that somewhere MMB on a window title bar will send it to the back, but can't find where that is either

View 9 Replies View Related

Ubuntu :: Configure Multi Button Mouse In Kubuntu

Mar 11, 2010

Does anyone know how to configure a multi-button mouse in kubuntu in order to use the back and forward keys?

View 2 Replies View Related

Ubuntu :: Logitech Mouse Volume Control Button?

Apr 21, 2010

I'm using the Logitech MX1100 mouse which has a quite a few buttons. (10) I would like to use 2 of them for volume control (as I do for Windows) but have no idea how to in ubuntu 9.10. Is there any way I could map the buttons to control volume? I'm a minor noob so keep it simple.

View 9 Replies View Related

Ubuntu :: Key Mapping For Shift-mouse Button Click?

Jun 21, 2010

I have successfully mapped the plus-minus key on the keyboard to emulate the Wheel/Middle Mouse Button click with this shell script run at startup:

Code:
#!/bin/sh
xmodmap -e "keycode 49 = Pointer_Button2"
xkbset m

This is so I can rotate the view in Blender without clicking the wheel, because the wheel also zooms, and it's too easy to zoom inadvertently. The remaining problem is panning, a Shift-MMB combination. Now I'm lost - how can I map a key (or better still, a Shift-key combo) to the Shift-MMB click?

View 2 Replies View Related

Ubuntu :: Emulate Right-mouse-click With Hardware Button?

Jul 25, 2010

I would like to assign right-mouse-click behaviour to a hardware button. I can associate a keypress, or a combination of keypresses with an "xdotool click 3" command via the Gnome keyboard shortcuts.

I have the scancode of the hardware button so can use

setkeycodes scancode keycode

to mimic any key of my keyboard. However, I don't want the hardware button to mimic a single key of my keyboard that is already in use, since then the keyboard key will also activate xdotool.

So I think I need:

- either a way to associate that particular scancode with an (outlandish) keypress combo rather than a single keypress;

- or a keycode which is not currently in use, to bind to the scancode. Are there any like that and how would I find out? In the Gnome Keyboard Shortcuts list there is stuff like "XF86AudioMedia" which I'm not using -- but does that correspond to a numerical keycode value which setkeycodes understands?

View 7 Replies View Related

Ubuntu :: Left Mouse Button Stops Working In 10.10?

Sep 15, 2010

I'm having a problem with gnome. When I press a multimedia key on my keyboard (or obstensibly other hotkeys although I haven't figured out exactly what). My left-mouse button stops responding. The right mouse button works fine and the mouse tracks fine. I can go into the mouse control panel and switch it to a left handed mouse and the left mouse button works, but not the right. I ran 'xinput test "HP Mouse"', and I can see the left mouse clicks coming through. So X11 at least thinks it's coming through. I've got nothing interesting that I can find in /var/log. This is really generic USB hardware. HP Mouse and Microsoft Digital Media Keyboard.

View 9 Replies View Related

Ubuntu :: Left Mouse Button Has Stopped Working?

Oct 1, 2010

After upgrading from 10.04 to 10.10 I have a big problem that makes ubuntu unusable. It seems like my left mouse button has stopped working. Left mouse clicks are not registered (although right clicks are). I've tested with 3 mouses (all USB, 1 wireless, 2 wired) and all show the same problem. All three mouses work fine under Windows 7 on the same computer and under ubuntu on different computers.

Right now I can't do anything, does anyone have a good suggestion how I might go and start troubleshooting this?

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved