I configured my IntelliMouse Optical to function correctly by Enable Intellimouse Support. I changed my the relevant portion of these files looks like:
NOTE: The following works for the Microsoft IntelliMouse Explorer 3.0A. It will enable full support for the forward and back side buttons (works in Nautilus, Epiphany, Firefox, Konqueror). As always, backup your files before mucking with them.
1. Install imwheel:
2. Edit xorg.conf:
3. Replace the mouse section with the following:
4. Create .imwheelrc:
5. Paste in the following code:
6. Edit the startup file to make imwheel start with X:
Find this line and change the 0 to a 1:
To look like:
7. Create one last file:
Paste in the following code:
8. Make the file executable:
9. Finally restart X:
CTRL + ALT + BACKSPACE
The only problem is that I cannot use this configuration for my other users on the same computer.
So I created IMWheel start-up script:
Then I inserted the following into this new file:
I want to grant execution for everyone to this new script:
My question is how do I configure this script to be executed at start-up?
I am using Kubuntu 7.04
NOTE: The following works for the Microsoft IntelliMouse Explorer 3.0A. It will enable full support for the forward and back side buttons (works in Nautilus, Epiphany, Firefox, Konqueror). As always, backup your files before mucking with them.
1. Install imwheel:
Code:
sudo aptitude install imwheel
Code:
sudo gedit /etc/X11/xorg.conf
Code:
Section "InputDevice" Identifier "Configured Mouse" Driver "mouse" Option "CorePointer" Option "Device" "/dev/input/mice" Option "Protocol" "ExplorerPS/2" Option "Emulate3Buttons" "false" Option "Buttons" "7" Option "ButtonMapping" "1 2 3 6 7" Option "ZAxisMapping" "4 5" Option "Resolution" "100" EndSection
4. Create .imwheelrc:
Code:
sudo gedit .imwheelrc
Code:
# Intellimouse or Mouseman's Back/Forward Buttons ".*" None, Up, Alt_L|Left None, Down, Alt_L|Right # [url]http://ubuntuforums.org/showthread.php?t=178574#5[/url] I added "(null)" None, Up, Alt_L|Left None, Down, Alt_L|Right
Code:
sudo gedit /etc/X11/imwheel/startup.conf
Code:
IMWHEEL_START=0
Code:
IMWHEEL_START=1
Code:
sudo gedit /etc/X11/Xsession.d/63xmodmap
Code:
killall imwheel xmodmap -e "pointer = 1 2 3 4 5 6 7" BINARY=$(which imwheel) $BINARY -k -p -b "6 7"
Code:
sudo chmod 777 /etc/X11/Xsession.d/63xmodmap
CTRL + ALT + BACKSPACE
The only problem is that I cannot use this configuration for my other users on the same computer.
So I created IMWheel start-up script:
Code:
sudo mkdir /home/login gksudo gedit /home/login/mouse
Code:
#!/bin/sh exec xmodmap -e "pointer = 1 2 3 6 7 4 5" & exec imwheel -k -b "6 7" & exec $REALSTARTUP
Code:
sudo chmod +x /home/login/mouse
I am using Kubuntu 7.04
Comment