Thank you Erik.
From: "ERIC KLINGER" <[email protected]> To: [email protected] Subject: Re: Problem with logitech Mouseman wheel /optical Date: Mon, 10 Nov 2003 04:07:40 +0000 Reply-To: [email protected]
Here is the piece relevent to my mouse of my /etc/X11/XF86Config file. This is a typical wheel mouse setup. Notice the "ZAxisMapping" line - that is the line to add for a wheel.
Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "IMPS/2" Option "Device" "/dev/psaux" Option "ZAxisMapping" "4 5" Option "Emulate3Buttons" "yes" EndSection
if your unsure how to do this, probably the easiest way to do it is to exit the GUI from to a command line ( Ctrl+Alt+F1 to exit the GUI and then login as root and type 'telinit 3' to kill the x server.)
from the root prompt you would type 'vi /etc/X11/XF86Config' and hit enter. This will open your XF86Config files in the VI editor (although it will look the same). From there you use the arrow keys to navigate through the file until you get to the section that looks like I posted above. Once you find it, hitting the 'Insert" key on your keyboard will put that file in "editing mode" and the cursor will be placed into the file for you to type, add, delete etc. Add in the lin "ZAxisMapping" as shown above.
To save the file once you've edited it hit the "Esc" key - type ':wq' to save your changes and exit.
REMEMBER - if you mess up this XF86Config file, you may not be able to start the GUI (Xserver) until is is corrected. A smart idea may be to back it up first by the following means...
@root (shown as #)... #cd /etc/X11 #cp XF86Config XF86Config.OLD
this will create a copy of the file and rename it with a .OLD extention. That way, if you mess it up you can simply do this #cp XF86Config.OLD XF86Config
and you will be back to where you are now.
remember in vi... :wq - to "write" and "quit" - in other words - save and exit the file :q! - this is an important one - exits the file without saving any changes!!!!!!!!
After all of that is done - log out of root (type "exit"), log back in as user and type 'startx' to get back to the GUI - if it fails, you'll know.
Be careful ;)
Hope this helps Eric
Hot chart ringtones and polyphonics. Go to http://ninemsn.com.au/mobilemania/default.asp