Correct location for default xmodmap settings?

 
Post new topic   Reply to topic    Lunar-Linux Forum Index -> General Discussion
View previous topic :: View next topic  
Author Message
engelsman



Joined: 21 Aug 2005
Posts: 131
Location: Netherlands

PostPosted: Sun Sep 18, 2005 7:27 pm    Post subject: Correct location for default xmodmap settings? Reply with quote

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
View user's profile Send private message
lunar_mike



Joined: 06 Nov 2005
Posts: 30
Location: Toronto, Ontario

PostPosted: Sun Nov 06, 2005 7:06 am    Post subject: Reply with quote

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)Twisted Evil

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
View user's profile Send private message Send e-mail Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic    Lunar-Linux Forum Index -> General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group