xmodmap not "taking" when used in .xinitrc
xmodmap not "taking" when used in .xinitrc
- Subject: xmodmap not "taking" when used in .xinitrc
- From: Jerry Callen <email@hidden>
- Date: Wed, 9 Jul 2003 18:55:08 -0400
Greetings. I'm having an odd problem with xmodmap. I'm redefining the
"option/alt"
key to be a meta key in emacs, using this file:
remove mod1 = Mode_switch
keysym Mode_switch = Meta_R
add mod2 = Meta_R
If I run xmodmap with this file AFTER X is up, from, say, an xterm, it
works
fine and has the intended effect. If I run it in my .xinitrc file, like
this:
/usr/X11R6/bin/xmodmap $HOME/.xmodmap_make_option_alt_into_meta
exec /usr/X11R6/bin/quartz-wm
it seems to run, but has no effect. I've run it like this, to get
the results of the command in a file, and it LOOKS like it works!
/usr/X11R6/bin/xmodmap -verbose -pm
$HOME/.xmodmap_make_option_alt_into_meta >$HOME/map.txt
exec /usr/X11R6/bin/quartz-wm
The file "map.txt" contains the expected output, showing the modifier
map changes I want,
but then if I run xmodmap in an xterm once X is up, the changes aren't
there!
It's almost as if quartz-wm is resetting the map, but I don't think
that can be the problem,
since there seem to be many examples (in the mailing list's archives
and elsewhere) of
people doing this without problems.
What am I doing wrong?
Oh, I'm running X11 Beta 3.
-- Jerry
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/x11-users
X11 for Mac OS X FAQ: http://developer.apple.com/qa/qa2001/qa1232.html
Report issues, request features, feedback: http://developer.apple.com/bugreporter
Do not post admin requests to the list. They will be ignored.