The bad news is to configure it correctly you need to use the logitech software that only runs in windows. The functions for the mouse are stored in the mouse. The good news is that it was expensive (for a mouse) and the manufacture actually built it to a high standard. If you will tell me the button numbers of your buttons and what you want each to do, I will write the script for you. This would bind Ctrl to mouse button one. To make a button act as Ctrl we would add: "xte 'key Control_L'" We are going to use xte to set bindings to our buttons. You can open this file with gedit $HOME/.xbindkeysrc. Next we need to add the key/button bindings to the config file. Step 2Ĭreate the xbindkeys config file using: xbindkeys -defaults > $HOME/.xbindkeysrc That tells us that particular button is button one. This is what is important from that output: button 1. (note: xev also capture mouse movement so you might need to sift through mouse movement events to find your button events e.g.: xev -event mouse | grep Button -before-context=1 -after-context=2) You should get output like this for each button: ButtonRelease event, serial 41, synthetic NO, window 0x4c00001, You will see a litle white windows appear, put your mouse in it and press your mouse buttons (it's best to do this one button at a time). You need to find the button numbers for the buttons on your mouse. ( xev was merged into x11utils, as of Ubuntu 14.04 or greater) Step 1
#Logitech control center showing duplicate install
Sudo apt-get install xbindkeys xautomation xev Sudo apt-get install xbindkeys xautomation x11-utils You're going to need several applications for this, to install them run # Ubuntu 14.04 and newer