Questions tagged [mouse]

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

Filter by
Sorted by
Tagged with
80
votes
8answers
48k 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.
77
votes
3answers
73k views

How to copy and paste with a mouse with tmux

I'm using tmux and OSX. When copying and pasting from the terminal with tmux I'm able to hold down Option and select text. However I can't get the text to stay inside the pane. So when I want to copy ...
71
votes
3answers
27k views

Tmux mouse-mode on does not allow to select text with mouse

I'm using tmux 2.1 and tried to on mouse mode with set -g mouse on And it works fine, I can switch across tmux window splits by clicking the appropriate window. But the downside of this is that I ...
63
votes
5answers
37k 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 ...
55
votes
8answers
73k 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,...
53
votes
6answers
90k 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 ...
52
votes
6answers
22k 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 ...
48
votes
4answers
60k 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 ...
46
votes
7answers
118k 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 ...
44
votes
5answers
18k 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 ...
39
votes
4answers
56k 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 ...
39
votes
3answers
18k 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 ...
34
votes
6answers
45k views

Mouse left click stops working

On Xubuntu, for a long time I've had an issue where my Left mouse button stops working for some reason. It happens pretty much everyday. Everything else seems to work. The only way I can get my mouse ...
30
votes
1answer
62k 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...?
28
votes
8answers
22k 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 ...
28
votes
4answers
8k 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 ...
25
votes
8answers
39k 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.
25
votes
3answers
5k 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 ...
24
votes
2answers
15k views

How can mouse support be enabled in terminal Emacs?

How can mouse support be enabled in an Emacs terminal session started with emacs -nw? Is there a keyboard shortcut or a flag to do this? If not how can it be done in terminal emulators? I use Guake.
23
votes
2answers
8k 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 ...
22
votes
2answers
43k 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 ...
21
votes
5answers
4k 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 ...
19
votes
2answers
9k 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/...
19
votes
2answers
20k 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-...
19
votes
5answers
12k 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 ...
19
votes
3answers
15k views

tmux: Select and copy pane text with mouse

My Problem When I select text from tmux using the mouse, the block selection spans to neighbouring panes. What Have I Tried set -g mouse on Hitting option while selecting (Mac's equivalent for alt) ...
19
votes
4answers
8k 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 ...
17
votes
2answers
6k 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 ...
17
votes
3answers
5k views

Mouse scroll wheel speed problem with linux kernel 5.0

Sometimes, the mouse scrolling speed changes to a very slow rate, where it takes many clicks (3-8 clicks) or significant wheel rotation to scroll the page one step. This started after upgrading to ...
16
votes
1answer
7k 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 ...
16
votes
4answers
4k views

Is there a linux equivalent to Mac's “Shake to Find Cursor”?

My coworker has a Mac, and when he loses his mouse cursor, he wiggles the mouse, and the mouse pointer gets bigger and bigger to visually show its location. Is there anything like that in Linux? I ...
14
votes
4answers
28k 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 ...
14
votes
3answers
3k 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 ...
13
votes
5answers
25k 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 ...
13
votes
4answers
8k views

Configure extra mouse button as a second middle click under Wayland

I use a 10-button mouse (Logitech M705). Under X11, I was able to configure one of the extra buttons to behave as a second middle-click by modifying files in etc/X11/xorg.conf.d. Under Wayland, this ...
13
votes
5answers
24k views

How do I enable tmux mouse support?

I have put set -g mouse on set -g mouse-select-pane on in my .tmux.conf file and then I open tmux and create a new pane and I cant switch pane with mouse. is there something else I need to ...
13
votes
3answers
23k 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 ...
13
votes
2answers
20k 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 ...
13
votes
4answers
20k 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 ...
13
votes
3answers
8k views

“Shake to locate cursor” feature

I was wondering if there is a feature in linux like OSX "shake to locate cursor", which temporarily makes the user's mouse or trackpad cursor much larger when shaken back and forth, making it easier ...
12
votes
4answers
6k views

Disabling middle click on bottom of a clickpad / touchpad

The Thinkpad T480s has a "clickpad": a touchpad where (parts of) the touchpad itself is pressable instead of having physical dedicated buttons. Running X.org 7.7, there is a horizontal stripe at the ...
12
votes
2answers
6k views

Any terminal shell with mouse support?

Is there any terminal shell/emulator out there that supports editing your current command with the mouse? Specifically things like placing the cursor by clicking (useful for long commands) or double ...
12
votes
2answers
3k 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 ...
11
votes
5answers
15k 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 ...
11
votes
2answers
7k 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 ...
11
votes
1answer
6k views

How to disable middle mouse button paste in KDE? [duplicate]

I want to disable middle mouse button paste, but still be able to: Close tabs by clicking it with the scrollwheel Open links in a new tab by clicking the link with the scrollwheel. I tried this, but ...
11
votes
6answers
3k views

Disable Keyboard & Mouse Temporarily

I would like to know how one can disable the keyboard & mouse temporarily in OS X.
11
votes
1answer
2k views

A real non-“better touch tools” solution for select-to-copy on Mac OS X

I recently moved to Mac. I am missing my X11 copy-paste style. I can't find a way to exactly emulate X11 behavior "select-to-copy", "middle-click-to-paste" globally on Mac OS X. I am aware that this ...
11
votes
4answers
393 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=...
10
votes
2answers
9k 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 ...

1
2 3 4 5
13