On Wed, 06 Aug 2003 07:57:54 +0200, Frank Murphy wrote: > Try this .Xmodmap: > > ! Rebind keys to permit Apple logo key to be Meta in Emacs. > clear mod1 > clear mod4 > keycode 115 = Super_L > keycode 116 = Super_R > keycode 64 = Alt_L > keycode 113 = Alt_R > add mod1 = Alt_L Alt_R > add mod4 = Meta_L Meta_R Super_L Super_R > > Try this from :1.
Funny, this one caused the Apple/Command key to produce M-s, that is, Meta-Super. So I am using now: ! Rebind keys to permit Apple logo key to be Meta in Emacs. clear mod1 clear mod4 keycode 115 = Meta_L keycode 108 = Meta_R keycode 64 = Alt_L add mod1 = Alt_L Alt_R add mod4 = Meta_L Meta_R ! keycode 115 = Meta_L ! keycode 108 = Meta_R ! keycode 64 = Alt_L This gives me Alt and Meta as I want them in Emacs, but with an additional strange twist: M-TAB gets captured by Emacs without cycling windows as altwin:meta_win does; and outside of Emacs, only the first time M-TAB gets used it cycles windows, after that it only produces the effect of TAB, that is, changing input fields... Yes, GNU/Linux is still far away from the average user... -- _ Leandro Guimarães Faria Corsetti Dutra +41 (21) 648 11 34 / \ http://br.geocities.com./lgcdutra/ +41 (78) 778 11 34 \ / Answer to the list, not to me directly! +55 (11) 5686 2219 / \ Rate this if helpful: http://svcs.affero.net/rm.php?r=leandro