Questions tagged [mouse]

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

The mouse is an input device, capable of moving a virtual pointer inside a graphical interface. It can be wireless, with 1 or more buttons and can have side buttons (and some gaming versions have a lots of them).

Invented by Douglas Engelbart in 1964, the first version of this computer artifact was made of wood, and it had two metal wheels to make the horizontal and vertical input orientation.

8 years after that Bill English developed a version with the "ball mouse": A sphere inside the mouse capable of monitoring movement in any direction. The ball came into contact with two rollers that creating the pointer motion.

Today the optical mouse has completely replaced the ball mouse being supplied as standard with all new computers.

Further reading:

700 questions
115
votes
6 answers

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 text I either need to cycle the pane to the far…
mbigras
  • 2,928
  • 6
  • 28
  • 45
105
votes
12 answers

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.
derekhh
  • 1,227
  • 3
  • 10
  • 7
96
votes
4 answers

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 cannot select text with mouse. Here is how it looks…
Dmitrii Bundin
  • 1,073
  • 1
  • 7
  • 7
74
votes
5 answers

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 scrolling is smooth and allows you to scroll very…
Mark Amery
  • 2,860
  • 6
  • 22
  • 29
72
votes
5 answers

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 this with the mouse wheel? (I'm using putty, but I…
kristi
  • 821
  • 1
  • 7
  • 6
67
votes
7 answers

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 means that if I move the mouse the same distance,…
David Gay
  • 955
  • 1
  • 7
  • 13
67
votes
7 answers

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 won't let it go. I thought the key combination to…
Michael A
  • 1,501
  • 5
  • 19
  • 33
63
votes
6 answers

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 settings but to no avail. Has anyone else worked…
Jim
  • 994
  • 2
  • 9
  • 16
55
votes
8 answers

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, and I have the option to enable it (:set…
user001
  • 3,598
  • 5
  • 39
  • 54
52
votes
5 answers

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 talking of course about the pesky forward/back…
n0pe
  • 9,411
  • 13
  • 60
  • 108
45
votes
8 answers

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 to work again is to logout and login, which…
user668074
  • 551
  • 1
  • 4
  • 4
45
votes
4 answers

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 instead. I use Gnome under CentOS.
some1
  • 1,776
  • 4
  • 20
  • 27
44
votes
4 answers

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 pointer without killing it?
Ariyan
  • 2,056
  • 3
  • 27
  • 36
36
votes
1 answer

monitoring events (keyboard, mouse) in X

Is it possible to display all events that are generated in Xorg? Such as keyboard pressed, mouse events...?
fstab
  • 880
  • 4
  • 11
  • 18
34
votes
6 answers

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 configure? I am using tmux 2.9 on Mac using zsh.
Matthew Allen
  • 449
  • 1
  • 4
  • 3
1
2 3
46 47