ratpoison-devel
[Top][All Lists]
Advanced

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

[RP] Slightly OT? Alt_L // Mod1 and emacs


From: Stephen Nelson-Smith
Subject: [RP] Slightly OT? Alt_L // Mod1 and emacs
Date: Thu, 26 Apr 2007 01:18:58 +0100

Hello all,

Running debian/etch and 1.4.0.  Fresh install, on an IBM thinkpad T41
with UK keyboard.

X config says:

Section "InputDevice"
       Identifier      "Generic Keyboard"
       Driver          "kbd"
       Option          "CoreKeyboard"
       Option          "XkbRules"      "xorg"
       Option          "XkbModel"      "pc105"
       Option          "XkbLayout"     "gb"
       Option          "XkbVariant"    "uk"
       Option          "XkbOptions"    "ctrl:nocaps, ctrl:swapcaps"
EndSection

I also have an xmodmap script:

clear Lock
keysym Caps_Lock = Control_L
add control = Control_L
clear mod1
add mod1 = Alt_L
add mod1 = Alt_R

xmodmap -pm shows:
$ xmodmap -pm
xmodmap:  up to 3 keys per modifier, (keycodes in parentheses):

shift       Shift_L (0x32),  Shift_R (0x3e)
lock
control     Control_L (0x25),  Control_R (0x6d),  Control_L (0x42)
mod1        Alt_L (0x40),  Alt_R (0x71)
mod2        Num_Lock (0x4d)
mod3
mod4
mod5        Scroll_Lock (0x4e)

xev shows:

KeyRelease event, serial 30, synthetic NO, window 0x1000001,
   root 0x3e, subw 0x0, time 729136996, (528,-101), root:(529,438),
   state 0x8, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
   XLookupString gives 0 bytes:

KeyPress event, serial 30, synthetic NO, window 0x1000001,
   root 0x3e, subw 0x0, time 729139483, (528,-101), root:(529,438),
   state 0x0, keycode 113 (keysym 0xffea, Alt_R), same_screen YES,
   XLookupString gives 0 bytes:
   XmbLookupString gives 0 bytes:
   XFilterEvent returns: False

When I fire up emacs-nox, I can only get M-x with Esc+x.  Caps works
as a control, but meta doesn't at all - it seems to be ignored and all
I get is a literal x.

What am I doing wrong?

S.




reply via email to

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