oshunluvr Posted December 8, 2006 Report Share Posted December 8, 2006 I love/hate weird problems: love when I fix them and hate...well you get it. On an otherwise fairly stable 2006 install I am using a Microsoft Wireless Optical Mouse with a tilt wheel. I did my google (actually dogpile - I hate google) duty and setup my xorg.conf like this: Section "InputDevice" Identifier "Mouse0" Driver "evdev" Option "Device" "/dev/input/event1" Option "Emulate3Buttons" "no" Option "ZAxisMapping" "4 5 6 7" Option "Dev Name" "Microsoft Microsoft Wireless Optical Mouse 1.0A" Option "Dev Phys" "usb-0000:00:1d.7-1.3/input0" Option "Buttons" "7" EndSection The 'Dev Name' and 'Dev Phys' came right off my system output. This results in my mouse working but button three (pushing on the wheel) and button two (right click) are reversed. No problem, I just put "xmodmap -e 'pointer = 1 3 2 4 5 6 7'" in /etc/X11/Xmodmap along with my multimedia key defs and this fixes it. BUT: When I log out of kde and back in (as any user) the mouse buttons 2/3 are reversed again and the tilt and scroll functions are also reversed. I have discovered through trial and error that simply opening a konsole puts the mouse buttons back in order. Let me make that totally clear: Simply opening a konsole makes the mouse buttons function as I want. No other entries are needed. Totally weird. The output of "xmodmap -pp" will show the buttons as correct (1 3 2 4 5 6 7) but button 32 will show various numbers (I don't know why or if this is even relevant), but of course to enter the xmodmap -pp command I open a konsole, thus fixing the buttons. I think that this may be solvable with a better xorg.conf entry for the mouse buttons, but I'm hoping for someone with knowledge will help before I have to try 500 different combos in xorg. Any tips? Quote Link to comment Share on other sites More sharing options...
Mhn Posted December 8, 2006 Report Share Posted December 8, 2006 Even if it doesn't solve the problem permanently, you can save the kde session with a konsole opened, to make it work each time you start kde at least Quote Link to comment Share on other sites More sharing options...
oshunluvr Posted December 16, 2006 Author Report Share Posted December 16, 2006 (edited) So the final answer is: In xorg.conf: Option "ButtonMapping" "1 3 2 4 5 6 7" This gave me the results I want. It doesn't explain what was causing the earlier reported odd behavior, but fixes the underlying issue. Edited December 16, 2006 by oshunluvr Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.