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

Re: meta key in emacs



This problem has come up so many times since hamm started getting used that it almost
merits its own HOWTO. What's happened is that you've upgraded X and now you are using
the XKEYBOARD extension. As you've noticed, the ALT key now does ALT and the "windows"
key is now the META key. I've argued several times that this is a bug since it changes
behavior. Alas no one listens to this raving madman. Where's whatcha do (as root):

sed -e 's/Alt_L/Foo_L/' -e 's/Alt_R/Foo_R/' < /usr/lib/X11/xkb/symbols/us |\
sed -e 's/Meta_L/Alt_L/' -e 's/Meta_R/Alt_R/' |\
sed -e 's/Foo_L/Meta_L/' -e 's/Foo_R/Meta_R/' > /usr/lib/X11/xkb/symbols/us.new
mv /usr/lib/X11/xkb/symbols/us /usr/lib/X11/xkb/symbols/us.old
mv /usr/lib/X11/xkb/symbols/us.new /usr/lib/X11/xkb/symbols/us

Now restart X and Things should work normally.

Michael Symalla wrote:

> Dear Debian users,
>
> can anyone help me to let my Alt-key be the metakey in emacs? Now I am
> using the ESC key, which works fine but is not as comfortable as the ALT
> key.
>
> Thanks a lot.
> --
> Bye
>       Mitch
>
> --
> Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null



--
Jens B. Jorgensen
jjorgens@bdsinc.com



Reply to: