Skip to main content

Warning: count(): Parameter must be an array or an object that implements Countable in C:\home\site\wwwroot\gs\plugins\i18n_navigation\frontend.class.php on line 219

Extra Mouse Buttons

Setup xbindkeys

  1. Install xbindkeys sudo apt-get install xbindkeys
  2. Create default configuration xbindkeys --defaults > $HOME/.xbindkeysrc
  3. Optionally install xbindkeys-config sudo apt-get install xbindkeys-config
    Note: Create the config file with xbindkeys --defaults > $HOME/.xbindkeysrc before using the graphical application otherwise it will crash on saving.

Source

Configure xbindkeys

Edit ~/.xbindkeysrc and add at the end:

# Ctrl + Logitech M705 Thumb
"chromium-browser www.google.com/ncr"
   control + m:0x10 + b:10 + release

# Logitech M705 Thumb
"xdotool key Super_L+d"
    m:0x10 + b:10 + release

Note: If you use the xbindkeys-config to setup the different keys/buttons, don't forget to add the + release handler to the mouse buttons, by editing the ~/.xbindkeysrc.

Source #1: Release handler for extra mouse buttons
Source #2: Sending key presses

Restart xbindkeys

pkill -f xbindkeys
xbindkeys

Source