[SuSE Linux] Suse 5.3 & switching mouse buttons
To All: I am using Suse 5.3, and would like to change my mouse button mapping on a Logitech Trackman Marble FX: I want to swap the left and middle buttons (I find I get much less thumb discomfort when I use the middle button as the LMB; and the lower, left real button as the occasional middle button) At present it works fine in standard R handed 3 button mode (PS2). To switch buttons - xmodmap -e "pointer = 2 1 3" --> this works just fine if I run it in an xterm window once I have kde or fvwm up and running. However, I would like to place it in the proper startup file so it automatically takes hold before starting a console window; and before starting an X server/windows manager combination. I would also like this to work when I log on either as root , or as a regular user. I have looked at the following file locations: /etc/profile /etc/rc.config etc/skel/.xinitrc ~/.xinitrc What are the appropriate files for inserting the xmodmap line - considering the logon options I am considering? (root/user, console/X) Any suggestions or pointers to appropriate help files, howto's, URL's would be much appreciated - I have already done some research, but no joy so far. Many thanks - Rick Stiphout rstiphout@who.net - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e Check out the SuSE-FAQ at <A HREF="http://www.suse.com/Support/Doku/FAQ/"><A HREF="http://www.suse.com/Support/Doku/FAQ/</A">http://www.suse.com/Support/Doku/FAQ/</A</A>> and the archiv at <A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html"><A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html</A">http://www.suse.com/Mailinglists/suse-linux-e/index.html</A</A>>
Hi, On Sun, Dec 20, 1998 at 08:34 -0700, Rick Stiphout wrote:
xmodmap -e "pointer = 2 1 3" --> this works just fine if I run it in an xterm window once I have kde or fvwm up and running.
However, I would like to place it in the proper startup file so it automatically takes hold before starting a console window; and before starting an X server/windows manager combination. I would also like this to work when I log on either as root , or as a regular user.
Just add the line pointer = 2 1 3 to /usr/X11R6/lib/X11/Xmodmap. This way the setting is automatically loaded whenever you start X, regardless if you're root or some other user. Ciao, Stefan - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e Check out the SuSE-FAQ at <A HREF="http://www.suse.com/Support/Doku/FAQ/"><A HREF="http://www.suse.com/Support/Doku/FAQ/</A">http://www.suse.com/Support/Doku/FAQ/</A</A>> and the archiv at <A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html"><A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html</A">http://www.suse.com/Mailinglists/suse-linux-e/index.html</A</A>>
participants (2)
-
rstiphout@who.net
-
stefan.troeger@wirtschaft.tu-chemnitz.de