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

learn more… | top users | synonyms

22
votes
4answers
5k views

Can mouse wheel scrolling work in a /usr/bin/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 ...
15
votes
7answers
4k 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 ...
14
votes
2answers
2k views

bash script to detect and record mouse movements?

I need to be able to record the mouse movements every so often (every .2 of a second for example) and have them in a coordinate representation instead of a diff. I found the following script: ...
14
votes
5answers
608 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 ...
12
votes
2answers
2k 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
5answers
1k views

Disable Keyboard & Mouse Temporarily

I would like to know how one can disable the keyboard & mouse temporarily in OS X.
10
votes
3answers
2k 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 ...
10
votes
2answers
15k 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 ...
9
votes
3answers
3k views

How to get alt+right mouse to resize windows again!

I'm frustrated that this was removed/altered in gnome-shell3. There are certain key bindings for resizing and moving windows like alt+right click etc, that I'd like back. I've tried to use the system ...
9
votes
5answers
5k views

How to lock one mouse/keyboard pair to each screen?

Using the ATI Catalyst Control Center (fglrx), I setup two desktops (the multidesktop option) via dual-head. Now I have two mice and keyboards (USB) attached which, using xinput can be put in two ...
9
votes
2answers
716 views

Logitech MX-510: Some extra buttons not usable

I have a Logitech MX-510, that I've been using for about six years. The Mouse has several extra buttons, that I'd like to use in Gnome, but I have problems with the button codes, that the mouse ...
9
votes
2answers
133 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 ...
8
votes
2answers
2k 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 ...
8
votes
2answers
632 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 ...
8
votes
4answers
3k 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.
8
votes
5answers
982 views

Avoiding pasting with the mouse wheel

I'm tired of having to copy and paste text using the the wheel of my mouse; the amount of dexterity needed is legendary. Anybody know of any kind of frankenmouse which has four buttons (one that ...
6
votes
2answers
2k 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 ...
6
votes
1answer
260 views

Back button to middle mouse button

I would like to map "Back" button (xev shows it as "button 7") of my mouse (A4Tech X-7) to act as a middle mouse button. Is there a way to do this? I'm lost in google, finding only how to map buttons ...
6
votes
1answer
665 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 ...
5
votes
1answer
705 views

What fast UI mechanisms for page scrolling exist for desktop Linux users?

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 ...
5
votes
3answers
3k views

disabling mouse support in `vim` in a `gnome-terminal` environment

Edit: The problem of an enabled mouse in vim appears to be specific to gnome-terminal (version 3.4.1.1-1; I am using gnome 3 fallback mode). If I run xterm, mouse support in vim is disabled by ...
5
votes
3answers
919 views

Evdev Wheel Emulation on T431s

I have a Thinkpad T431s with trackpoint (the red stick in the middle of the keyboard) and clickpad (a touchpad that also acts as a button). This is the first model that does not provide any dedicated ...
5
votes
4answers
2k 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 ...
5
votes
0answers
224 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 ...
5
votes
1answer
646 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
288 views

Disable trackpad click in Yellowdog linux

I just installed yellowdog linux 6.2 on an old PowerPC laptop. By default, it's interpreting trackpad taps as clicks, which I want to disable. I followed the directions here, and put ...
4
votes
5answers
6k views

How do I find the X window ID under the mouse pointer in bash?

From a bash script, is there some way to get the ID of the X window under the mouse pointer? (edit) I need the process to be non-interactive.
4
votes
2answers
4k views

Configuring mouse for right+left button simulating middle click (for copy/paste)

I was using the mouse copy-paste extensively, until recently, when some OpenSuSe upgrade reconfigured this on all my machines. Now the scrollbuton is the one to paste (which I hate, since it's hard to ...
4
votes
2answers
152 views

How to disable a mouse movement input, while leaving mouse buttons enabled?

I have a mouse I just use for the buttons. I want to disable only the movement input of the mouse. Physically covering the sensor doesn't work.
4
votes
1answer
65 views

How to disable ctrl+wheel font resize in konsole/yakuake

Which is quite annoying when I mistouch touchpad with two fingers.
4
votes
2answers
1k views

joystick as a mouse with Fedora

I would like to use a joystick as a mouse with Fedora 12. I tried js2mouse but didn't work. Is there another solution? How should I configure the system?
4
votes
1answer
1k 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 ...
4
votes
1answer
933 views

Mouse sensitivity confusion

In my few years of using Linux from using Windows for so long, there have been many new concepts for me to grasp. One of the more obvious seeming mysteries to me is how the mouse is configured in ...
4
votes
1answer
983 views

Thinkpad disable TrackPoint

I have a new thinkpad x220t running Arch Linux. There seems to be a problem in the products hardware architecture as the TrackPoint is moving when you convert the thinkpad into tablet mode and put ...
4
votes
1answer
391 views

How can I make C-m1 emulate a right click?

On Mac OS X, you can right click by holding down control and clicking. I swapped the command and control keys with setxkbmap -option altwin:ctrl_win, but how do I make it right click by holding down ...
4
votes
1answer
1k views

Adjust mouse wheel sensitivity in Fedora / Gnome

Short Question Is there a way to adjust the mouse wheel scroll sensitivity in Fedora 18? Long Question I'm running Fedora 18, with the standard Gnome desktop. I use a Logitech M705 mouse with the ...
3
votes
2answers
1k views

vim - but with scrolling, clickable text, and copy-paste

I like vim. I think touching mice is dirty. But sometimes when my hand is already on a mouse, it sure would be nice to be able to scroll the text or click a location in the text and have the cursor ...
3
votes
2answers
521 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 ...
3
votes
3answers
1k views

Ubuntu 12.04 Gnome 3 “freezes” randomly - not a normal freeze though

Since upgrading to 12.04, I've randomly experienced this strange phenomenon where my mouse mostly doesn't work and keyboard mostly does. I have not been able to identify a cause for this. Sometimes it ...
3
votes
1answer
2k 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 ...
3
votes
3answers
207 views

Emulate mouse cut'n'paste behavior in a test script

I've got a shell script which outputs shell commands which are supposed to be copy-pasted with the mouse from one terminal window to another (I can test it in the same window though). The output ...
3
votes
1answer
658 views

Is there a way to stop screensaver on keyboard only?

Let's say you have screensaver running. When you move your mouse or hit any key on keyboard screensaver will be stopped. The problem is that with modern, laser based mice, slight vibration of ...
3
votes
2answers
706 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
3
votes
2answers
1k views

Wireless mouse freezes frequently for a second on laptop, when on battery

I have Samsung NP360E5A-A07PL laptop with ELAN Smart-Pad (ETPS/2 Elantech Touchpad, according to gpointing-device-settings), and a Logitech M195 wireless mouse (with an USB receiver). On Linux ...
3
votes
3answers
1k views

How can I configure Fedora to support scrolling with my ThinkPad TrackPoint?

On Ubuntu (and Windows), I'm able to scroll by using the trackpoint and the middle button. How can I configure Fedora 16 to allow me to scroll with that? In Ubuntu, it just worked out of the box - I ...
3
votes
1answer
2k views

Why does my mouse stop working a short time into my session?

Running Easy Peasy 1.6 clean installation. Hardware - EEE PC 900-HA. About 10 or so minutes into a new session after a reboot my mouse will stop working. It will still move the pointer, but it will ...
3
votes
1answer
646 views

Adjust sensitivity of trackball in Linux Mint 13

I am using Logitech Trackball Marble and I have difficulty adjusting the sensitivity of it in Linux Mint 13. Apparently the sensitivity and acceleration setting in Linux Mint only work for the mouse. ...
3
votes
1answer
543 views

How to configure the terminal so that a mouse click will move the cursor to the current mouse position

What I'm looking for is how to configure the terminal so that it behaves like nano -m. I know that xterm inside fvwm2 running on slackware does this but neither gnome or kde does it. I have tested ...
3
votes
2answers
2k 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 ...
3
votes
0answers
46 views

Mouse not working correctly

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 ...