This is the contents of my .xmodmaprc
remove mod2 = Alt_L
remove mod1 = Alt_L
remove mod2 = Mode_switch
remove mod1 = Mode_switch
remove mod1 = Multi_key
add mod2 = Mode_switch
add mod2 = Alt_L
After logging in I run xmodmap .xmodmaprc followed by xmodmap -pm which prints
out:
xmodmap: up to 2 keys per modifier, (keycodes in parentheses):
shift Shift_L (0xe8), Shift_R (0xec)
lock Caps_Lock (0x40)
control Control_L (0xe7)
mod1
mod2 Mode_switch (0xed), Alt_L (0xe9)
mod3 Num_Lock (0x5a)
mod4 Meta_L (0xea), Meta_R (0xee)
mod5
Then I start emacs and is unable to use either alt or altgr to compose
character such as { on my swedish layout. Howerver in all other apps (like
thunderbird where I just wrote it), including Xemacs it works fine. I was
hoping there was away to do this internally in emacs.
I don't know xev, neither can I find it on my system.
Hope this is helps you help me
/Daniel Aarno
Peter Dyballa wrote:
Am 06.06.2005 um 11:24 schrieb Daniel Aarno:
Hi, I tried to map left alt to altgr (right alt) in emacs without
success.
You know 'xmodmap -pm'?
You know xev that tells you a key's keysym and keycode?
Did you use syntax like
clear Mod1
clear Mod2
keycode 66 = Meta_L
add Mod1 = Meta_L
How and when do you try to tell X11 the new key meanings?
--
Greetings
Pete
$ sumascii BILL GATES
B I L L G A T E S
66+ 73+ 76+ 76+ 71+ 65+ 84+ 69+ 83 = 663
and add 3 because he's Bill Gates the third.
_______________________________________________
Help-gnu-emacs mailing list
Help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs