quick question

Status
Not open for further replies.

The General

Banned
Messages
5,191
debian etch / 2.6.15-1-k7-smp

i have to run this every time i login in order for my mouse to work right:

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

how can i make it to that automatically every time i login? i added that line in a text file called /home/ted/.Xmodmap and it askes me if i want to use it the next time i restart but it doesnt take effect... it only works if i do it manually.

what am i doing wrong?
 
General,

You are restarting X every time?

Activating the .Xmodmap at startup
Some distributions automatically load the ~/.Xmodmap when a user logs on in X - if yours does, consider yourself happy. One of the distris which doesn't do it is Gentoo, while SuSE does.

Here is how you get it loaded automatically: You've got to open

$KDEDIR/share/config/kdm/Xsession

and insert the following code at the beginning of the file (but after the shebang #!/bin/sh):

if [ -f $HOME/.Xmodmap ]; then
/usr/X11R6/bin/xmodmap $HOME/.Xmodmap
fi

Now save, logout and log in again. Your modmap should have been loaded now.

Source: http://cweiske.de/howto/xmodmap/allinone.html#ownxmodmap

hope this Helps,

Jake
 
Status
Not open for further replies.
Back
Top Bottom