[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: xmodmap automatically (.xsession or .xinitrc does not work)



Uwe Brauer wrote:

Hello

I changed from suse to Debian, via Knoppix. To my surprise
putting
xmodmap ~/.Xmodmap
in the .xinitrc or .xsession file
had no effect that is I have to execute this command every time I log
in.
Is there any solution?


Thanks

Uwe Brauer


Not sure if you found a solution yet, but what I do is just put:

    if [ "$TERM"  == "xterm" ]; then
         xmodmap ~/.Xmodmap
    fi

in my .bashrc[or whatever shell you use]. I always have at least one gnome-terminal open anyway...

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: