You are not logged in.
Hi lads
I have recently switched over to PekWM and I have found it to be a great WM. But since the standard key config relies heavily on Mod4-keys (and I don't have any Meta keys) I just remapped Caps_Lock as Super_L and Scroll_Lock as Caps_Lock:
poul ~ $ cat .Xmodmap
clear mod4
clear lock
keycode 78 = Caps_Lock NoSymbol Caps_Lock NoSymbol Caps_Lock
keycode 66 = Super_L NoSymbol Super_L NoSymbol Super_L
add mod4 = Super_L
add lock = Caps_Lock
Which is working great. However, now it seems that AltGr isn't working properly. For example pressing AltGr+2 produces nothing in terminals, editors and such. But xev does registrated the key combination:
KeyPress event, serial 31, synthetic NO, window 0xa00001,
root 0xaf, subw 0x0, time 16207100, (-674,340), root:(171,364),
state 0x88, keycode 11 (keysym 0x40, at), same_screen YES,
XLookupString gives 1 bytes: (40) "@"
XmbLookupString gives 1 bytes: (40) "@"
XFilterEvent returns: False
KeyRelease event, serial 31, synthetic NO, window 0xa00001,
root 0xaf, subw 0x0, time 16207187, (-674,340), root:(171,364),
state 0x88, keycode 11 (keysym 0x40, at), same_screen YES,
XLookupString gives 1 bytes: (40) "@"
XFilterEvent returns: False
KeyRelease event, serial 31, synthetic NO, window 0xa00001,
root 0xaf, subw 0x0, time 16207304, (-674,340), root:(171,364),
state 0x88, keycode 108 (keysym 0xfe03, ISO_Level3_Shift), same_screen YES,
XKeysymToKeycode returns keycode: 92
XLookupString gives 0 bytes:
XFilterEvent returns: False
Addditonal info (key 108 is of course the AltGr key):
poul ~ $ xmodmap
xmodmap: up to 4 keys per modifier, (keycodes in parentheses):
shift Shift_L (0x32), Shift_R (0x3e)
lock Caps_Lock (0x4e)
control Control_L (0x25), Control_R (0x69)
mod1 Alt_L (0x40), ISO_Level3_Shift (0x6c), Meta_L (0xcd)
mod2 Num_Lock (0x4d)
mod3
mod4 Super_L (0x42), Super_L (0x85), Super_L (0xce)
mod5 ISO_Level3_Shift (0x5c), Mode_switch (0xcb)
poul ~ $ xmodmap -pke | grep 108
keycode 108 = ISO_Level3_Shift NoSymbol ISO_Level3_Shift NoSymbol ISO_Level3_Shift
poul ~ $ xmodmap -pk | grep 108
108 0xfe03 (ISO_Level3_Shift) 0x0000 (NoSymbol) 0xfe03 (ISO_Level3_Shift) 0x0000 (NoSymbol) 0xfe03 (ISO_Level3_Shift)
EDIT:
Alright so I solved the problem by simply turning to xkeycaps from [community] which is a frontend to xmodmap. I made the same changes as before, and made a output of all current keys which produced a big .xmodmap-Poulsen file. And with that config file I have no problem with any key.
Last edited by whargoul (2009-06-03 16:45:56)
Arch - It's something refreshing
Offline