Logitech mx1000 under Ubuntu 6.06LTS (Dapper Drake)

Most stuff on my mx1000 worked fine from install in ubuntu, all except the forward, back & task buttons, heres how i got them working:

step 1: install dependencies

sudo apt-get install xorg-dev xserver-xorg-dev xbindkeys xvkbd build-essential

step 2: edit /etc/udev/rules.d/01_mx1000.rules

sudo gedit /etc/udev/rules.d/01_mx1000.rules

Paste in the following, then save:

ACTION==”add”,
KERNEL==”event*”,
SUBSYSTEM==”input”,
SYSFS{manufacturer}==”Logitech”,
SYSFS{product}==”Logitech USB Receiver”,
NAME=”input/mx1000″

Then restart udev:

sudo /etc/init.d/udev restart

Re-plug your mouse, and check if its device node is there

parag0n@Aura:~$ ls /dev/input/
event0  event2  event3  event4  mice  mouse0  mx1000  ts0

It is, so we can carry on…

step 3: edit xorg

sudo gedit /etc/X11/xorg.conf

Change the “Configured Mouse” Device section to read:

Section "InputDevice"
Identifier "MX1000"
Driver     "evdev"
Option     "CorePointer"
Option "Name" "Logitech USB Receiver"
EndSection

and change DefaultMouse in the server section to “MX1000”

Save and exit.

step 4: edit ~/.xbindkeysrc

sudo gedit ~/.xbindkeysrc

Paste in the following:

# Activate Backward and Forward buttons
"xvkbd -text "[Alt_L][Left]""
m:0x10 + b:8
"xvkbd -text "[Alt_L][Right]""
m:0x10 + b:9

# This enables the click up / down buttons to move you further:
"/usr/bin/click 4"
m:0x10 + b:11
"/usr/bin/click 5"
m:0x10 + b:12

#I take lots of screenshots, so i mapped the middle button of forward / back to printscreen
"gnome-screenshot"
m:0x10 + b:10

step 5: make gnome run xbindkeys at startup

edit ~/.gnomerc

gedit ~/.gnomerc

And add:

xbindkeys

step 6: compile click

now we are going to make ‘click’, the program that makes the scroll wheel work properly:

wget http://www.ussg.iu.edu/hypermail/linux/kernel/0504.0/1371/click.tgz
tar xzf click.tgz
cd click
make
sudo cp click /usr/bin/click

reboot, and enjoy!

Thanks to Jürgen Kreileder, for his blog entry that this is based upon, and various other places i found while trying to fix the problems i had with his config.