[Top][All Lists]

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

Re: Alt key in woody

From: Fredrik Staxeng
Subject: Re: Alt key in woody
Date: 09 Oct 2002 08:52:13 +0200
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.2 (Wu XiaoGuang) writes:

>Hi, all:
>  I just installed Debian GNU/Linux 3.0 . The GNU Emacs version is
>  21.2 .
>  I couldn't use Alt key normally. Although I could use it it in
>  terminal (emacs -nw), it's a little unsuitable.
>  I tried to put 
>| xmodmap -e "keysym Alt_L = Meta_L Alt_L" & 
>  in ~/.xinitrc or ~/.xsession , but after I do this, I can't startx
>  later.
>  Thank you.

I put only the Meta keysym on the Alt key, since Meta and Alt are

keysym Alt_L = Meta_L
keysym Alt_R = Meta_R

And then you have to check that all Meta keys are mapped to the mod1

; xmodmap -pm
xmodmap:  up to 4 keys per modifier, (keycodes in parentheses):

shift       Shift_L (0x32),  Shift_R (0x3e)
lock        Caps_Lock (0x42)
control     Control_L (0x25),  Control_R (0x6d),  Control_L (0x73),  Control_R 
mod1        Meta_L (0x40),  Meta_R (0x71)
mod2        Num_Lock (0x4d)
mod4        Control_L (0x73)
mod5        Scroll_Lock (0x4e)

Or you could just use the pc101 keyboard layout in X. Then there will be
no Meta mapping on the Windows key, so the Alt key will be Meta.

Your fix should work by itself, so it seems that your problem is
to get the rest of the .xinitrc to work. Oh, and lose the & on the
xmodmap line.

Fredrik Stax\"ang | rot13:

reply via email to

[Prev in Thread] Current Thread [Next in Thread]