Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
xmodmap -e "pointer = 1 2 3 6 7 4 5", where to put
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
Visceral
Apprentice
Apprentice


Joined: 28 Oct 2003
Posts: 232
Location: Austin, Texas. USA

PostPosted: Sun Dec 14, 2003 12:59 am    Post subject: xmodmap -e "pointer = 1 2 3 6 7 4 5", where to put Reply with quote

I was messing around with IMwheel and now in order to get mouse scrolling to work, I must enter xmodmap -e "pointer = 1 2 3 6 7 4 5" every time I boot up. My question is, where is the best place to place this command so that when I boot up into GNOME, I don't have to do this manually?
Back to top
View user's profile Send private message
occam2003
n00b
n00b


Joined: 03 Mar 2003
Posts: 17
Location: Melbourne, Australia

PostPosted: Sun Dec 14, 2003 3:52 am    Post subject: Reply with quote

Why not just change the ZAxis line in /etc/X11/XF86Config to
Option "ZAxisMapping" "4 5"
instead? Nips the problem in the bud..
Back to top
View user's profile Send private message
eNTi
Veteran
Veteran


Joined: 20 Oct 2002
Posts: 1011
Location: Salzburg, Austria

PostPosted: Sun Dec 14, 2003 4:51 am    Post subject: Reply with quote

~/.xinitrc is a good place to start :).
_________________
If you fall off a cliff, you might as well try to fly. After all, you got nothing to lose.

-- John Sheridan - Babylon 5, Season 4
Back to top
View user's profile Send private message
brainlock
Tux's lil' helper
Tux's lil' helper


Joined: 20 Jun 2002
Posts: 110

PostPosted: Sun Dec 14, 2003 4:51 am    Post subject: Reply with quote

The "BEST" place to put it (it's intended spot) is in the global /etc/X11/Xmodmap file. Here is what you should write in that file:

Code:
pointer = 1 2 3 6 7 4 5


do not put any -e or stuff like that...



brainlock
Back to top
View user's profile Send private message
Visceral
Apprentice
Apprentice


Joined: 28 Oct 2003
Posts: 232
Location: Austin, Texas. USA

PostPosted: Sun Dec 14, 2003 5:33 am    Post subject: Worked. Reply with quote

Excellent, the Xmodmap file worked for me. I *had* tried it in the .Xinitrc file earlier, but it wasn't working for some reason. In any case, thanks to all for the help.
Back to top
View user's profile Send private message
eNTi
Veteran
Veteran


Joined: 20 Oct 2002
Posts: 1011
Location: Salzburg, Austria

PostPosted: Sun Dec 14, 2003 12:44 pm    Post subject: Re: Worked. Reply with quote

Visceral wrote:
Excellent, the Xmodmap file worked for me. I *had* tried it in the .Xinitrc file earlier, but it wasn't working for soeb reason. In any case, thanks to all for the help.

mabye because the file ist called: .xinitrc and not .Xinitrc?
_________________
If you fall off a cliff, you might as well try to fly. After all, you got nothing to lose.

-- John Sheridan - Babylon 5, Season 4
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