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

VB vboyt at yahoo.com
Sat Apr 16 18:19:56 UTC 2005


--- Alexander Dalloz <ad+lists at uni-x.org> wrote:
> 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 
> > -- 

Right, it isn't the first time you posted.  I tried
putting a file in /etc/X11/xinit/xinitrc.d but how do
I tell the system to run my new script that I placed
in there?  It doesn't run just by putting a file in
that directory.


		
__________________________________ 
Do you Yahoo!? 
Plan great trips with Yahoo! Travel: Now over 17,000 guides!
http://travel.yahoo.com/p-travelguide




More information about the users mailing list