X Mouse Button Control Linux
Xbindkeys - a grabbing keys program for X Synopsis. Xbindkeys options Description. XbindKeys is a program that grab keys and mouse button events in X and starts associated shell command. Command Line Options.
- X Mouse Button Control Linux Free
- X Mouse Button Control Linux Update
- Linux Mouse Button Mapping
- X Mouse Button Control Linux Tutorial
- X Mouse Button Control Linux Download
- X Mouse Button Control Linux Commands
Contents
|
This page describes how to configure Ubuntu to fully utilize a mouse with multiple buttons, wheels, and other controls.
It's important to note that Ubuntu considers a standard two button, scroll/click-wheel mouse to have five buttons. Each main button (left and right) count as one, the downward click on the wheel counts as another, and the up/down scrolling also count as one each (2+1+2=5).
If you have installed the GNOME environment (default for Ubuntu) you already have the software needed to get the '6th' and '7th' mouse buttons working (forward/backward on most mice)!
Note that xorg X Input system cannot bind a combination of more than one mouse button to a certain action. For example, it is not possible to bind left-clicking while simultaneously scrolling up to a specific action. So the rule of thumb is one button for one action, unless the button is combined with the keyboard modifier keys (Ctrl, Alt, Super,...)
Some pointing devices have a strange button mapping, so need some tweaking to match X's perception of things. Such tweaking can be performed at runtime with xinput - find your device in xinput list and run xinput set-button-map <device name> 1 2 3 6 7, replacing those numbers with your required button mapping. You might be able to find it by searching for other people with the same hardware, or you might need to play around and see what works. To find the mappings currently applied, you can use xinput test <id>, where <id> is your device's id number found with xinput list.
The key to being able to program mouse buttons beyond the seven already discussed is to install imwheel (from the Universe repository). Imwheel will enable you to define application-specific actions to your additional mouse buttons.
- Download and install imwheel using Synaptic, Adept, or apt-get
Modify your /etc/X11/imwheel/imwheelrc or ~/.imwheelrc file to tell imwheel what to do with a mouse click when it happens in a particular application. See the Wikis referenced below for details on what you can do with your imwheelrc or .imwheelrc file. NOTE: You can use modifications to the ~/.imwheelrc to limit imwheel behavior to specific users on your system.
Finally, if desired, tell X11 to run imwheel whenever X11 is started (modifying /etc/X11/Xsession.d/60imwheel_start-imwheel and changing IMWHEEL_START=0 to =1 in /etc/X11/imwheel/startup.conf). Alternately, you can start imwheel manually.
Before You Proceed
Before any further editing to xorg.conf or .imwheelrc, it might be helpful to check your mouse button mappings.
Run imwheel -c from a terminal window for imwheel's graphical UI. Pressing the GrabWheelAction button and then one of your mouse's buttons should cause imwheel to show the button's default mapping. In practice, this seemed somewhat inconsistent, but results may differ depending on your particular mouse.
The information you glean from this test could prove helpful if your mouse doesn't have traditional button mappings. If, for example, your side mouse buttons map to the standard left and right (1 and 2) positions, and you wanted these side buttons to control Firefox's Back and Forward buttons, you would use the following .imwheelrc entry for Firefox.
Frequently, the best way to learn is to look at what works for other people. Here are some examples of working imwheelrc files. Compare these to your own to help you troubleshoot and test out new configurations.
imwheelrc

Here is an example of what a portion of my .imwheelrc looks like:
If you'd like to customize your mouse buttons for additional applications, just add more entries like this to the imwheelrc file.
Google Search 'configure x11 mouse buttons'
Configuring LIRC (Linux Infrared Remote Control)
Fedora Forum: Configuring mouse side buttons in FC3
Fedora Forum: Configuring mouse buttons
CategoryHardwareCategoryXwindowSystem
y tem trayPerhap one of the mo t underrated feature of the Window ta kbar, Icon repre ent running program or y tem function that you can manipulate. For the uninitiated, the y tem tray i at the botto
Content
System tray
Perhaps one of the most underrated features of the Windows taskbar
, Icons represent running programs or system functions that you can manipulate. For the uninitiated, the system tray is at the bottom right of the screen and also contains the date and time.
Some system tray icons do nothing but sit until you close them. Others have pop-up menus with customization functions when you right-click an icon with your mouse. Good examples of this include Skype, Dropbox, Google Drive, CCleaner, and whatever antivirus package you might have installed.
But there is other software available that adds some useful features to the system tray, making it a really bad guy in the OS. Here are 9 of them for your reading enjoyment.
Hyperdesktop
How often do you upload images to image hosting sites?
such as Imgur or Photobucket? If so, then you will love this little app that is designed to make sending images to Imgur as easy and painless as possible.
You can drag the image into the Hyperdesktop window, click the Browse button to find the image on your computer, or take a screenshot.
using buttons. However you do it, the image is instantly loaded into Imgur in a matter of seconds, and the Imgur direct link is copied into the provided 'Image Links' field. It will also open this link in a new tab / window.
WizMouse
This is a situation that we have all gone through. You move your mouse to move a window, or close a tab (or close an application) and then find that the wrong window has focus. This means that you have to click on what you want to close and then close it with your mouse. Ok, this is just a question or milliseconds, but still ... after a while it gets a little annoying. Wizmouse for help then.
With Wizmouse enabled, you can use your mouse to close whatever you want without having to click on it first to bring it to the front. Does one job, but does it well, and removes one little computer annoyance.
Of course, Windows 10 does this automatically.
,
SuperF4
If I were the developer of this application, I would give it a more bad name like App Annihilator or Software Stomper. SuperF4 pounces on the wolf and kills any foreground process. So, click on the application window, then press the keyboard shortcut
CTRL + ALT + F4 to watch it disappear instantly. Remember to save your work first.
ALT + F4 very politely asks you to get lost, and the application can decide whether to play well or not. CTRL + ALT + F4 with SuperF4 makes him hit the road whether he wants to or not.
X Mouse Button Control Linux Free
ShareX
You're in screen capture and film adaptation
? If so, take a look at GetShareX, which turns you into a capture and casting grandmaster.
Screenshots can be annotated, edited and modified using a wide range of functions. Screenshots are recorded in MPEG format or turned into animated GIF. After that, upload it to image hosting sites like Imgur or file cloud sync services like Dropbox.Finally, get the url as a short url or as a QR code.
SoundSwitch
I'm REALLY glad I found this because the audio settings were driving me crazy. I use headphones for Skype conversation
X Mouse Button Control Linux Update
and Google Hangouts, and then I use my speakers to listen to music and watch TV and movies.
But when I used the speakers to be able to switch them to the headset for a call, I had to go to the start menu, select sound settings, and then click on the headset. Then, after the call, go back to the sound settings and click on the speakers again!
With Soundswitch, you can assign a hotkey to switch between different audio devices, and you don't have to get close to any sound settings.
PureText
There are many different types of formatting in word processing and emails. Countless fonts aside, you also have different font sizes, bold, italic, underline, colors, web links, email addresses, inline images ... ... the list goes on. And if you have a habit of copying and pasting different pieces of rich text from one place to another (for example, from an email to a word document), then you will know how frustrating it can be when things are uneven.
PureText allows you to turn a piece of formatted text into plain text
.Just select the text and copy it to the clipboard
Then press the preset hotkey and that text will then be truncated to plain old text ready to be pasted wherever you want.
Minibin
Are you the type of computer user who likes to have a completely clean desktop devoid of anything? The opposite of our own Matthew Hughes, whose desktop looks like this:
Linux Mouse Button Mapping

Yes, I know, I am also traumatized. Anyway, if I like you and like clean desktops, then MiniBin is a good way to remove the trash can from your desktop.
Once installed, it will be in your system tray and you can open and empty your bin from there.
X-Mouse Button Control
This is where you can give your computer mouse some steroids and really boost it. X-Mouse Button Control gives you a list of possible buttons on your mouse
(assuming your mouse has them) and you can assign different actions to each button. So my left button activates the Electric Sheep splash screen and my right button starts the coffee maker. Indeed.

Tray status
X Mouse Button Control Linux Tutorial
Are you always wondering if the numeric lock key or the Caps Lock key is on? Do you want to type 'hello' and end up HELLO? The tray status displays individual small icons on the taskbar that indicate the following:
- Number blocking status
- Caps Lock Status
- Scroll Lock State
- ALT key status
- CTRL key state
- Shift key state
- Windows key status
- HDD activity at current speed
X Mouse Button Control Linux Download
Just turn on the ones you want to see and turn off the rest.
X Mouse Button Control Linux Commands
The beauty of the system tray is that it can be as minimal or packed as you want. What camp are you in, and what programs would we find if we looked into your Windows system tray?