Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Strange problem with Logitech MX310, Gnome, and xmodmap
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
jmachacek
n00b
n00b


Joined: 05 Aug 2003
Posts: 23

PostPosted: Thu May 20, 2004 5:25 am    Post subject: Strange problem with Logitech MX310, Gnome, and xmodmap Reply with quote

I'm having a really strange problem with my new Logitech MX310 mouse, Gnome, and xmodmap. The MX310 has thumb buttons that I'd really like to work properly in Linux, and I can get them to work the way I like them to. My problem is that I can't get the button mapping configuration to be saved when I reboot.

Here's my Mouse section in XF86config:

Code:

    Identifier  "Mouse1"
    Driver      "mouse"
    Option "CorePointer"
    Option "Protocol"    "ExplorerPS/2"
    Option "Buttons" "7"
    Option "ZAxisMapping" "6 7"
    Option "Device"      "/dev/input/mice"


And here's the command I'm using to remap the buttons:
Code:

xmodmap -e "pointer = 1 2 3 6 7 4 5"


Now, I want to save those settings. I've put the xmodmap command in /etc/X11/xinit/xinitrc, /etc/X11/gdm/gnomerc, and several other autoexecuting files. I even put it in my Gnome Session Startup Programs settings tab. However, each time I boot the mapping configuration gets overridden to the "1 2 3 4 5 6 7" default, which maps the thumb buttons as the wheel.

Does anyone know how to get the "1 2 3 6 7 4 5" setting to stick?

Thanks,
Jason
_________________
Jason Machacek
Back to top
View user's profile Send private message
ecatmur
Advocate
Advocate


Joined: 20 Oct 2003
Posts: 3595
Location: Edinburgh

PostPosted: Thu May 20, 2004 7:14 am    Post subject: Reply with quote

Put "pointer = 1 2 3 6 7 4 5" in /etc/X11/Xmodmap.
_________________
No more cruft
dep: Revdeps that work
Using command-line ACCEPT_KEYWORDS?
Back to top
View user's profile Send private message
jmachacek
n00b
n00b


Joined: 05 Aug 2003
Posts: 23

PostPosted: Sat May 29, 2004 7:14 am    Post subject: Reply with quote

Thanks, that did it!
_________________
Jason Machacek
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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