View previous topic :: View next topic |
Author |
Message |
engelsman
Joined: 21 Aug 2005 Posts: 131 Location: Netherlands
|
Posted: Sun Sep 18, 2005 7:27 pm Post subject: Correct location for default xmodmap settings? |
|
|
As described in My Talk page, I found an article outlining how to configure the Logitech MX310 mouse. I've added the appropriate line
Code: | pointer = 1 2 3 7 8 6 4 5 |
to /usr/X11R6/lib/X11/xinit/.Xmodmap so that it's picked up as $sysmodmap in /etc/X11/xinit/xinitrc. Unfortunately this doesn't appear to be picked up correctly, although the mouse roller does work properly if I do the xmodmap explicitly in the first window that I start after running start[x[fce[4]].
I had this problem under 'plain X' using startx, then with Xfce3 using startxfce, and I'm still having it with Xfce4 with startxfce4. I know it's going to be so simple that I'm going to kick myself when I find out what's wrong, but for two weeks I've been hunting for the cause and I'm still unable to see the wood for the trees.
Can someone kindly put me out of my misery: Am I putting the correct line in the correct file? |
|
Back to top |
|
 |
lunar_mike
Joined: 06 Nov 2005 Posts: 30 Location: Toronto, Ontario
|
Posted: Sun Nov 06, 2005 7:06 am Post subject: |
|
|
It is to my understanding that xmodmap is for keyboard layout , ie;
"The xmodmap program is used to edit and display the keyboard modifier map and keymap table that are used by client applications to convert event keycodes into keysyms. It is usually run from the user's session startup script to configure the keyboard according to personal tastes."
^^ is taken from the man itself
now your mouse should be edited in the xorg.conf as below
or edit it so that it works correctly , just look for this in your xorg.conf
(hope it helps)
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/mouse"
# Mouse-speed setting for PS/2 mouse.
# Option "Resolution" "256"
# When using XQUEUE, comment out the above two lines, and uncomment
# the following line.
# Option "Protocol" "Xqueue"
# 5 Buttons + Scroll Wheel
Option "Buttons" "5"
Option "ZAxisMapping" "4 5"
Option "Resolution" "256" _________________ I R Human ...... |
|
Back to top |
|
 |
|