I use the mouse wheel a lot to scroll up and down in my documents and files. Having moved from Windows, I didn't realise that the middle mouse button/wheel, when clicked, pastes highlighted text where the mouse is pointing.  I've been hit with this several time, where my scripts have failed because of a paste that takes me a while to discover.  After several attempts at disabling the middle mouse button, I succeedded with:  xmodmap -e "pointer = 1 25 3 4 5 6 7 8 9"  I found this on this , which also states how to persist it.  The problem with this feature, is that I rely on other elements of clicking the middle mouse button such as opening links in a new tab or closing a tab in my browser (to name 2 of a few).  It is annoying me that I have lost these functions. How can I disable pasting but keep all the other uses of middle mouse button clicking?  * Please note I am reasonably new to Ubuntu and Linux and have also read about patching the kernel, but I don't feel confident doing this!! *
120165
Is there a way to disable the middle mouse button paste behavior that is here by default on gnome?  I have a sensitive mouse wheel and whenever I scroll texts, sometimes it pastes stuff randomly into the text. I lose quite a lot of credibility when I send a file to someone else that has random text snippets pasted all over it.  I have seen a  that goes by mapping the mouse's middle button to a non-existant mouse button, but that implies getting rid of the middle mouse button altogether (i.e. no tab-closing, opening links into a new tab automatically, etc.). I'd like to keep my middle mouse button active, just disable the pasting behavior.  This also happens when I scroll text with my touchpad (accidentally hit two-fingers without moving, bam.)   So the problem will not be fixed just by changing for a new mouse (in fact I believe it happens more often with my touchpad than with my mouse).
71300
I want a keyboard shortcut for switching between selecting things; vertices, faces and points. One key for each, not a pop up menu where i have to select with the mouse. Does this exist? Modelling should be like playing a piano or something, a key for everything, minimal aiming the mouse pointer att small icons, this aiming the mouse att small icons all the time is so.. breaks the flow.. Im sure it exists but i cant find it anywhere?
11399
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.
108026
I am new Mac user and I don't really like the Magic Mouse so I reverted to a good old 3 button mouse with a scroll wheel.  When I turn the wheel slowly, it only scrolls pixel per pixel (or per two pixels) If I turn the wheel more quickly, it scrolls nearly line by line. There is a kind of scroll wheel acceleration where the amount scrolled for each wheel step depends on the rotation speed of the wheel.  This behavior is not present in Windows where you always scroll a few lines per wheel step.  Is there a way to disable this behaviour or to tweak it in Mac OS X Lion?
109309
I just started using tmux, and I really like it, but I need to be able to scroll within the buffers/panes/windows I have open. I don't care if it works with the mouse or not. When I search the tmux man page, I find only two instances of the word "scroll" even showing up, and both have to do with copy mode. Is there a way to scroll without all the overhead of entering copy mode?
34143
So I tried looking through the various other questions but they mostly focus on disabling the middle mouse paste.  Basically the middle mouse button on my Logitech G500s is broken, and it keeps "clicking" randomly so it's screwing up any chance of doing work.  Is there any way to disable it? Or map it to nothing?  Thanks and sorry if this is a duplicate.  xinput list output:  ⎡ Virtual core pointer id=2 [master pointer (3)] ⎜   ↳ Virtual core XTEST pointer id=4 [slave pointer (2)] ⎜   ↳ Turtle Beach Turtle Beach PX3 (XBOX) id=8 [slave pointer (2)] ⎜   ↳ Logitech G500s Laser Gaming Mouse id=9 [slave pointer (2)] ⎜   ↳ Logitech G500s Laser Gaming Mouse id=10 [slave pointer (2)] ⎜   ↳ Razer Razer DeathStalker id=12 [slave pointer (2)] ⎜   ↳ Razer Razer DeathStalker id=13 [slave pointer (2)] ⎣ Virtual core keyboard id=3 [master keyboard (2)]     ↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]     ↳ Power Button id=6 [slave keyboard (3)]     ↳ Power Button id=7 [slave keyboard (3)]     ↳ Razer Razer DeathStalker id=11 [slave keyboard (3)]
74956
Since I upgraded to Sierra, mouse wheel scrolling has become a lot worse. When I scroll the wheel fast, it behaves like it did before and scrolls a bunch of lines, but when I scroll the wheel one notch at a time, nothing happens.  I use a Steelseries Sensei gaming mouse but I also tested with a basic Dell mouse. (There's no model number on it.) As of macOS 10.12.1, this issue affects all programs.  Are there any workarounds? Please don't suggest USB Overdrive or any other nagware.  Edit:
70470
I'm looking for a solution that would display the current mouse cursor coordinates in realtime (i.e. NOT xdotool and NOT xev).  I need to move the mouse to a certain position, then press Alt-Tab to flip to another window and record the coordinates there. (This would not move the mouse, so the coordinate display would stay the same).  There's a Windows program that works BEAUTIFULLY for this purpose -   ...but it doesn't even start up in Wine.  Alternately, instead of displaying the coordinates, if this solution could copy the coordinates (in XXX,YYY format) to the clipboard, upon pressing a hotkey, that would be even better.  Any suggestions would be much appreciated!  P.S. I'm running Ubuntu 12.04 LTS.
114195
My current technique is to right-click in the command prompt and then click paste.  This bugs me - is there a better way?
72405
I don't know whether this just started or perhaps it's actually something new in my browser, but it must come down to SE code ultimately and I've never noticed it before today/yesterday.  Submit a comment via the "Add Comment" button, or submit a close-vote, or post a question, or do anything really that involves clicking one of those kinds of buttons, in Chrome 48 on Windows 7 64-bit, and you'll see your mouse cursor very briefly turn into the "not allowed" cursor right before the button is removed.      It seems the button is being disabled or whatnot before it's being hidden, which results in this "flash of malstyled content". Not a big deal but a little annoying.
104196
I wanted to use two buttons for the same action (Stop - S and Mouse 4), but I cannot find any setting to do so.  Can someone point me on how to do so?
4538
When I pan with the Shift + MMB, it doesn't work. I think I might have accidentally pressed some sort of key-shortcut. It works for other views, so it's not my mouse. What sort of shortcut could I have pressed?
96234
I have a button on the side of my mouse that Mission Control sees as Mouse Button 4.  In Mission Control's preferences, I can assign this button to either 'Show Desktop', 'Mission Control' or 'Show Dashboard'.  All three of these works fine, but if I try to map it to 'Application windows' the mouse button doesn't respond.  I'm able to bring up 'Application windows' using the keyboard shortcuts though.   My new iMac is 2 days old, so it's on fresh and up to date macOS Sierra. Same problem on my brand new MacBook, again with macOS Sierra.  Is the mouse shortcut just broken for this? Can anyone else reproduce it?  [Updated] My mouse is a Logitech G400 Optical Gaming Mouse. I've since installed the Logitech driver software, which also allows you to assign a button to Mission Control (which I did, and then unassigned it from system prefs).  This doesn't work properly either, but rather than not responding, all windows move a couple of pixels and then revert back to their original position. Almost like its trying to invoke Mission Control but something is aborting it. I can map the buttons to any other feature and it works fine
75447
I recently picked up the new Magic Mouse 2.  Since then, the 'Swipe Between Pages' has started working on it's own.  With the old mouse, I turned it off, as I was constantly flipping through web pages accidentally.  Even though the prefs say it is deactivated... it won't stop!  I tried turning it on and back off... no luck.
83956
Much as I like Unity and Gnome, getting global keyboard shortcuts and mouse clicks "right" is a source of continual frustration.  We have:   The "settings" dialogs for keyboard and mouse The ccsm tool with chainsaw-like ability to shred your system Unity tweaks (another obscure application) gconf-editor Kernel configuration to access consoles through Ctrl-Alt-Fx I don't know what else.   Recently, I tried to re-assign Super-L to lower a window rather than lock the screen for my 14.04 setup.  We already have Ctrl-Alt-L to lower the screen anyway, I don't need a second shortcut.  But after trying several tools to re-assign the key, I just gave up.  Several layers of assignment all implemented the "same" shortcut, but it isn't easy to figure out which one(s) are actually causing the system to respond as it is.  Without that information, it is hard to reconfigure.    This is a crazy-making setup that makes Linux harder to use than Windows for the average user: Too many arcane ways to set things up, and then a tangle of confusion trying to figure out why anything happens as it does.  How I long for the good old days of fvwm, the simple window manager that could assign any key or mouse click combination to do anything in any context, and the entire configuration was in a single .fvwmrc file! Using Fvwm as the only holder of system-wide shortcuts make life simple, but the multi-layer approach makes Microsoft's regedit seem simple!  It would be wonderful if there were a simple script that could search all the system and user-specific files for a keyword, and report where keypress and mouse-click events matching a pattern are configured.  Ideally, it would support a "universal" keypress and mouse-click description syntax or a GUI, and parse and match that in each of the many configuration files.  A bonus would be if the script could print out a suggestion how to manage the setting with the least potential for inadvertent misconfiguration (for example, helping the user avoid using ccsm when it isn't needed).
106656
I'm a longtime FVWM user over on the Linux side and have developed some keyboard + mouse shortcuts that I find very helpful in managing windows. Specifically:   left click + command + shift = send to back if frontmost, otherwise raise to front right click + command + shift = maximize window vertically (horizontal size unchanged) left+right chord + command + shift = grab window and move it left+right chord + command + control + shift = resize (drag pointer to side or corner and move that to resize)   For all of these, "click" means click anywhere in the window.  Is there Mac software that will let me set this up? I'm on 10.6.  Edit  To clarify, the move/resize operations should begin on mouse-down and end on mouse-up.
35186
I have a mouse with lots of buttons, but it's not a mainstream make like Logitech. For Windows, I have a driver that lets me assign actions like close-window (Ctrl+W) or next-tab (Ctrl+Tab), but I don't have a Linux driver. Since Linux is so flexible, I thought perhaps there is a general way to do this, regardless of brand?  Update: Based on input from Cyrex, I installed and ran sudo apt-get install btnx which found several but not all mouse buttons. Found: left, right, wheel, wheelclick, thumb fwd, thumb back. Not found: wheel left, wheel right, thumb middle button. Vendor ID is 0x04d9, Model ID is 0xa015.  Update 2: In System>Prefs>Mouse there's a lightbulb icon for testing double-click speed. Every working button can turn the bulb on&amp;off, but the missing buttons can't. It would seem that Ubuntu isn't aware of these buttons and thus doesn't register their clicks. I guess I need to hunt for a driver, though a mainstream mouse is probably the easier way.