Julian Xhokaxhiu
Julian Xhokaxhiu
DevOps Engineer - Cloud Architect - Solution Architect - Platform Engineer - Open Source Enthusiast
Sep 22, 2012 1 min read

Back/Forward Mouse Button for Logitech LS1 on Ubuntu 12.04

Have you ever wondered how to make it work? Well, follow these simple steps and you’re done :)

  1. Install xbindkeys and xautomation
sudo apt-get install xautomation xbindkeys [ENTER]
  1. Create a the file .xbindkeysrc in your ~/ folder
gedit .xbindkeysrc [ENTER]

and paste this into it

#Back
"xte 'keydown Alt_L' 'key Left' 'keyup Alt_L'"
b:6

#Forward
"xte 'keydown Alt_L' 'key Right' 'keyup Alt_L'"
b:7
  1. Reboot (or just run “xbindkeys” process from your terminal, DO NOT RUN IT AS SUDO)
xbindkeys [ENTER]

And that’s all. Simple and straightforward :)

Enjoy