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

learn more… | top users | synonyms

35
votes
4answers
14k 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 ...
21
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 ...
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 ...
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 ...
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 ...
16
votes
2answers
4k 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: #!/bin/...
16
votes
4answers
8k 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 ...
16
votes
3answers
14k 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 default,...
15
votes
2answers
15k 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 ...
15
votes
4answers
22k 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 ...
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 ...
14
votes
1answer
10k 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 ...
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 ...
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 ...
12
votes
7answers
17k 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.
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.
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 ...
10
votes
5answers
9k 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 ...
10
votes
5answers
8k 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.
10
votes
2answers
639 views

Middle-click scrolling with ThinkPad/avoid pasting

I have a ThinkPad USB keyboard, and I want to be able to use the middle click both for pasting and scrolling. This works on my ThinkPad laptop. On the laptop, if the middle click button is held for ...
9
votes
1answer
11k views

monitoring events (keyboard, mouse) in X

Is it possible to display all events that are generated in Xorg? Such as keyboard pressed, mouse events...?
9
votes
3answers
2k views

Mouse scroll wheel speed far too sensitive

In my Crunchbang installation with X11, openbox, my wireless usb mouse is listed at both /dev/psaux and /dev/input/mouse0. It's working fine apart from the scroll wheel, which although active, is far ...
9
votes
2answers
1k 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 ...
8
votes
1answer
15k views

How do I get my mouse back from qemu/kvm?

I'm running qemu/kvm on Debian testing x64 with this command: kvm -m 1024 -hda win7.img -cdrom win7x86.iso -boot d -net user but when I click inside the virtual machine, qemu captures my mouse and ...
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 ...
8
votes
2answers
688 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 ...
8
votes
1answer
2k 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 ...
8
votes
5answers
1k 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 ...
7
votes
1answer
6k 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-...
7
votes
3answers
5k 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 ...
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 ...
7
votes
2answers
912 views

'OS X-like' momentum scrolling in linux?

Is there a way to make the scrolling on a linux machine (running X11) more like OS X's natural scrolling? With 'natural scrolling' I mean the fact that you can flick trough the pages, there is ...
7
votes
3answers
319 views

How to disable trackpad taps in Yellow Dog Linux?

I just installed Yellow Dog 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 TRACKPAD_OPT=...
6
votes
2answers
1k views

Can I simulate mouse movements via terminal without xdotool?

I would like to write a script to prevent a computer from locking by virtually wiggling the mouse. However, I do not have xdotool on the computer that I am using, and I cannot install since I am not ...
6
votes
3answers
10k 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 ...
6
votes
2answers
331 views

Scrollbar moves to where I click

I use MATE on Fedora. At some point, the behavior of scrollbars on many applications has changed. When I click below a scrollbar, now the scrollbar jumps to where I clicked. Previously, it used to ...
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 ...
6
votes
2answers
821 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.
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.
6
votes
1answer
448 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
428 views

Qt Application Disobeying Xmodmap

A long while ago, I created a ~/.Xmodmap reversing the 4 and 5 to create "natural scrolling": pointer = 1 2 3 5 4 7 6 8 9 10 11 12 I source .Xmodmap in .xinitrc in the standard fashion (xmodmap $...
6
votes
1answer
2k 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 ...
6
votes
1answer
267 views

Xephyr: mouse does not move smoothly

I am using xserver-xephyr in Debian Wheezy. My mouse inside the Xephyr window does not move smoothly. It looks as if the refresh rate was very low. When I move my mouse across the screen, it maybe ...
6
votes
2answers
1k views

Razer Ouroboros mouse not working

The Problem I don't mean the extra keys and what not, I'm just talking about getting the pointer to move across the screen and the left and right buttons to click. I've got it plugged into the ...
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 ...
5
votes
1answer
1k views

Disabling mouse-wheel window-shading in XFce?

If I place the mouse over the titlebar of a window, and roll the mouse-wheel, the window will become shaded. Is there any way to disable this feature?
5
votes
1answer
1k views

Is there a way to stop screensaver on keyboard only?

Let's say you have a screensaver running. When you move your mouse or hit any key on keyboard, the screensaver will be stopped. The problem is that with modern, laser based mice, a slight vibration ...
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 ...