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

Re: emacs, X, and Alt key



> My problem is that *neither* `Alt' key is being interpreted as `Meta'
> by emacs.  AfterStep's `Alt-Tab' combination works well enough to switch
> between windows.

Run `xev' and press the Alt keys to find what keycode they generate:
For example, I get:

    keycode 113 (keysym 0xffea, Alt_R)
    keycode 64 (keysym 0xffe9, Alt_L)

Then write a ~/.Xmodmap file (which `xmopmap' should run).  Mine looks
like:

clear Mod1
clear Mod2
clear Mod3

keycode  64 = Alt_L
keycode 113 = Alt_R
keycode 115 = Meta_L
keycode 116 = Meta_R
keycode 117 = Menu

add Mod2 = Alt_L
add Mod2 = Alt_R
add Mod1 = Meta_L
add Mod1 = Meta_R

remove Lock = Caps_Lock
keysym Caps_Lock = Hyper_L
add Mod3 = Hyper_L

keycode 22 = BackSpace

-- 
Peter Galbraith, research scientist             <galbraith@mixing.qc.dfo.ca>
Maurice-Lamontagne Institute, Department of Fisheries and Oceans Canada
P.O. Box 1000, Mont-Joli Qc, G5H 3Z4 Canada  418-775-0852 - FAX 418-775-0546


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: