• In order to install Logitech v470 follow these steps:cat /proc/bus/input/devices
I: Bus=0005 Vendor=046d Product=b008 Version=0314
N: Name="Bluetooth Laser Travel Mouse"
P: Phys=00:15:83:07:CE:19
S: Sysfs=/devices/pci0000:00/0000:00:1d.2/usb4/4-1/4-1:1.0/bluetooth/hci0/hci0:42/input5
U: Uniq=00:07:61:A6:98:69
H: Handlers=mouse2 event5
B: EV=17
B: KEY=ff0000 0 0 0 0
B: REL=143
B: MSC=10

write down your device ID mine was: 00:15:83:07:CE:19
  • Then edit /etc/X11/xorg.conf to have:
Section "InputDevice"
 Identifier "v470"
 Driver "evdev"
 Option "Name" "Bluetooth Laser Travel Mouse"
 Option "Dev Phys" "00:15:83:07:CE:19"
 Option "SendCoreEvents" "true"
EndSection

  • fire-up xev from a console and then press left and right mouse buttons and identify their IDs: mine where 06 and 07
  • create a file ~/.xbindkeys : sudo nano ~/.xbindkeys
  • add the following lines:

“/usr/bin/xvkbd -xsendevent -text “[Alt_L][Left]””b:06
“/usr/bin/xvkbd -xsendevent -text “[Alt_L][Right]””b:07

Save and then run: xbindkeys.

If you want to start automatically then System/Preferences/Startup Applications a new entry for xbindkeys e.g. :

Screenshot-Edit Startup Program