Use of this tag should be limited to questions pertaining to the peripheral input device known as a "mouse".

learn more… | top users | synonyms

15
votes
2answers
14k views

Make mouse movements scroll when the middle button is held down

In Windows, I'm used to clicking the center button and it offering a "fast scroll" option up or down. How can I get this behavior on Linux? It currently seems to use the back button upon center click ...
15
votes
3answers
1k views

Manipulating X key and pointer grabs on the command line

What command line tools exist to list and manage X server grabs? (That's grab as in key and pointer grabs, i.e. restricting the use of a particular key or mouse button to a particular application, or ...
20
votes
8answers
10k views

Disable Keyboard & Mouse input on unix (under X)

How can one programmatically "freeze" the Keyboard & Mouse temporarily, so that no one could mess with the system? There are several possibilities where this is useful. For instance, I have a ...
13
votes
2answers
3k views

Disable mouse (not touchpad!) in Xorg while idle

I am an avid keyboard user, but I still need the mouse every now and then. To minimize the hand travel, I have the mouse located below my keyboard. (On a side note, using the mouse this way feels ...
11
votes
3answers
1k views

Emulate horizontal scrolling with Shift key

I want to emulate horizontal scrolling when I use my (vertical) scroll wheel and pressing Shift. In some applications (Chrom{e,ium}) this already works, but I'm looking for a generic solution for X ...
20
votes
3answers
7k views

Command for forcing a pointer ungrab (captured mouse release)

Sometimes Firefox doesn't release the mouse after dragging, so I need to kill the application to force it to release its pointer grab. Is there any command to force an application to ungrab the ...
6
votes
1answer
9k views

Why doesn't this udev rule trigger upon removal of the device?

I have two mice, one which has an issue where the middle mouse button and button6 get triggered simultaneously. So I configured my ~/.Xmodmap to disable this button. At the same time, however, I ...
5
votes
4answers
5k views

Detect if mouse button is pressed, then invoke a script or command

Is there any way to get mouse button state from bash? Xdotool can only get mouse location. I'd like to set something up where I can define a rule where when a mouse button is pressed, a script can ...
1
vote
2answers
125 views

Disable scroll inside Xfce terminal / Avoid scrolling through command history

Is there a way to disable scrolling through command history for the Xfce terminal? I don't wish to rely on palm rejection, I'd just like it disabled when I'm using the terminal. Specifically I'm ...
18
votes
2answers
33k views

Mouse clicks stop working after random time, using Awesome WM + Gnome

I'm using the Awesome Window Manager together with Gnome in Linux Mint. I experience the following problem several times a day: Suddenly the mouse partially stops working, which means that I'm still ...
15
votes
4answers
21k views

How can I set mouse sensitivity, not just mouse acceleration?

I can't find a single desktop environment that supports setting both mouse acceleration AND mouse sensitivity. I don't want any mouse acceleration, but I want to increase the speed of my mouse. That ...
13
votes
1answer
9k views

How to scroll the screen using the middle click?

On Windows, most programs with large, scrollable text containers (e.g. all browsers, most word processors and IDEs) let you press the middle mouse button and then move the mouse to scroll. This ...
10
votes
5answers
7k views

How can I turn off “middle mouse button paste” functionality in all programs?

I don't like having the middle mouse button paste, because I often end up with uncompilable code in Eclipse. How can I turn this off (in all programs)? I'm running Fedora.
13
votes
2answers
2k views

Avoid very fast double clicks

I have a mouse with a weird problem. The left button sometimes fires a double click even if I click just one time. I would like to know if there's a way to avoid fast double clicks, ignoring clicks ...
5
votes
2answers
5k views

bluetooth mouse disconnects

I'm using Debian Jessie (testing). I have a bluetooth mouse (Microsoft Sculpt Comfort) and I can pair it and use it ok, but after some time of inactivity (around 10 minutes) it stops working, I have ...
6
votes
2answers
2k views

How to get mouse click position?

I know I can get the position of the mouse pointer by executing xdotool getmouselocation. What I need is program that will run and let me know the position where the mouse pointer clicks.
1
vote
1answer
617 views

Udev rules involving X11 don't run on startup

I have some udev rules written to run when I connect certain usb devices. For example, I change pointer velocity for certain mice, and change xmodmaps for particular keyboards. The scripts work well ...
35
votes
4answers
13k views

Can mouse wheel scrolling work in a Screen session?

Is there any way to use the mouse wheel to scroll through the output of a screen session? I can use the keypad scroll through previous output in screen after pressing ctrl+a [. Is it possible to do ...
20
votes
2answers
6k views

How to disable the Forward/Back buttons on my mouse

My mouse has an unfortunate feature. On the left side, right where my thumb sits ever so gently when I'm using it, there are two buttons that are so sensitive a mere brush will make them click. I'm ...
2
votes
2answers
2k views

Prevent Wacom tablet from moving mouse pointer

I have a Wacom CTF-221 graphics tablet, and I use it with Linux Wacom drivers. However when I draw it's annoying that the mouse pointer moves with the pen and clicks outside of the drawing window. ...
15
votes
5answers
2k views

How to make X less sensitive when right clicking?

Whenever I right click in X, I almost always seem to trigger the first option in the menu unless I am thinking about what I am doing because I: Mouse down; menu appears Accidentally drag mouse 1-3 ...
8
votes
2answers
3k views

Can I prevent “Disable touchpad while typing” from affecting mouse movements?

When I click my name in the upper right, then click "System Settings", then "Mouse and Touchpad", and then "Disable touchpad while typing" it affects my mouse movements. I have to wait two seconds ...
5
votes
2answers
453 views

Highlight mouse for screencasts without disturbing workflow

For making documentation/tutorial videos, I need to highlight the mouse, for example with a yellow translucent corona around it: The marker should be active when clicking and moving, but if it's on ...
3
votes
2answers
2k views

Change scroll lines when use mouse wheels?

Is there a way to control how many lines will scroll, when you use the mouse wheels? It seems to be 5 lines by default, anyway to change this value? I didn't find it in xfce4-settings-manager
8
votes
2answers
636 views

Highlight current mouse position

I'm running a dual-screen setup and have my trackpad disabled most of the time (which includes hiding the mousepointer). When i reenable the trackpad (and display the mouse pointer again), i've lost ...
7
votes
4answers
5k views

Debian Squeeze: Left mouse click stops working

After starting a new session in my Debian Squeeze (6.0.4, always updated) running in a VM (VMWare Workstation) there comes the point in time where the left mouse click stops working, so that I cannot ...
7
votes
0answers
3k views

Mouse not working correctly [closed]

So for the last month or so on my Ubuntu 13.10, after installing nvidia drivers and then re installing nouveau drivers (because nvidia didn't work correctly) I got a problem with my mouse. I just made ...
6
votes
1answer
5k views

How to configure the double click behavior in an X terminal?

Under different Unix/Linux systems I've observed different double click behavior in X terminal applications (e.g. xterm). Sometimes a double click selects everything left and right until the next non-...
5
votes
0answers
228 views

How to disable select-on-release right mouse button in Linux [duplicate]

We are having issues with mouse behavior in Linux. In Windows: In any application, to open a context menu and select an option: right mouse button down + release move the cursor to an option left ...
3
votes
0answers
944 views

Clicking on Gtk apps menu bar kills mouse

I'm using the following configuration: Ubuntu 11.10 x64 Awesome Window Manager v3.4.10 Gnome 3.2 ...and I got the following problem: Every time I click on the empty space in a menubar or ...
2
votes
3answers
2k views

XFCE hangs with hand cursor

I am using Xubuntu 12.04 in a remote environment. Off late, I am observing that sometimes the cursor turns into a hand and stops responding. I cannot do anything to fix it. The only solution seems to ...
1
vote
1answer
999 views

How can I replace my keyboard and mouse udev rules with xorg.conf.d?

Since it is impossible to make udev rules that affect Xorg settings run on startup, I'd like to replace these with other alternatives. At the moment, I have two primary udev scripts that I've written. ...
11
votes
6answers
2k views

Disable Keyboard & Mouse Temporarily

I would like to know how one can disable the keyboard & mouse temporarily in OS X.
5
votes
5answers
4k views

Is there a way to control the mouse wheel resolution in Debian?

I am using Debian 6.0.4. The mouse wheel scrolls way to much for it to be any use. Is there any way to configure how much "scrolling" is done with with one mouse wheel turn? Thanks! Update: My ...
4
votes
2answers
5k views

Restart USB mouse driver?

Sometimes, after some event that I can't determine, my USB mouse gets stuttery - like the refresh rate drops down to about 5-10Hz. It still works fine other than that, but it's incredibly annoying, ...
4
votes
2answers
657 views

gnome classic terminal mouse double click selection

I am running ubuntu 12.04.5 lts. When I do a mouse double click selection I would like to select only a current word. For example in a line like: /home/xx/asdf right now the whole line gets ...
2
votes
1answer
2k views

Mint 17: Touchpad recognized as mouse

I recently installed Mint 17 on my recently bought laptop, messing with the menus I noticed no options under the Touchpad tab on Mouse and Touchpad work, so I can't disable the touchpad while typing ...
2
votes
4answers
5k views

Lost mouse pointer in XServer

Have tried many windows managers including TWM, xfce and Gnome, but my mouse pointer is gone. It is invisible, but it performs all the actions. If I do the right click the context menu opens and this ...
1
vote
1answer
792 views

mouse in gnome-terminal

how to set up mouse in terminal window? when i click on midnight commander captions i get raw data from mouse printed as characters in terminal and any running progs don't understand mouses clicks. I ...
1
vote
2answers
1k views

Reverse two finger scroll direction with BCM5974?

I'm looking to reverse the scroll direction specifically on my Apple trackpad, and I'm not sure if there's an input option to do so: Device 'bcm5974': Device Enabled (144): 1 Coordinate ...
1
vote
0answers
75 views

Scrolling with mouse while right button held down

I'm trying to configure my mouse to push down a button (right), hold on and drag down/up on a page resulting in scrolling the page like I would do with the wheel. I found the following question/answer ...
1
vote
1answer
79 views

How can I make imwheel leave most modifier actions as default?

I'm attempting to horizontal scroll with shift+scroll wheel. I've tried using imwheel, using the following in ~/.imwheelrc ".*" Shift_L, Up, Left Shift_L, Down, Right I then run imwheel -b 45. This ...