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

Re: [FC3] How to do key remapping on X startup???



Am Sa, den 16.04.2005 schrieb VB um 19:33:

> I'm trying to map Caps Lock to Esc on X startup but
> everyhwere I've placed the commmand "xmodmap <path to
> my home dir>/.Xmodmap" has not taken effect once I've
> logged into an X session.  I know the .Xmodmap file is
> correct since manually running "xmodmap <path to my
> home dir>/.Xmodmap" once I'm in X works. I have
> disabled Xkeyboard since the two apparently do not
> work well together.

I think ~/.Xmodmap is only read when using xdm.

> How can I remap keys using xmodmap or xkeyboard
> extension??? Nothing seems to work.

Not the first time I post this. I am using following to remap my mouse
buttons:

$ cat /etc/X11/xinit/xinitrc.d/xmouse.sh

#!/bin/sh
# /etc/X11/xinit/xinitrc.d/xmouse.sh
# Required for the configuration of a 5-button mouse
/usr/X11R6/bin/xmodmap -e "pointer = 1 2 3 6 7 4 5"

Alexander


-- 
Alexander Dalloz | Enger, Germany | GPG http://pgp.mit.edu 0xB366A773
legal statement: http://www.uni-x.org/legal.html
Fedora Core 2 GNU/Linux on Athlon with kernel 2.6.11-1.14_FC2smp 
Serendipity 19:52:10 up 4 days, 16:32, load average: 0.43, 0.24, 0.13 

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


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