On Monday, 20.03.2006 at 17:04 +0100, Florian Kulzer wrote: > I have played around a bit in the meantime and found that it is easily > possible to redefine the keyboard behavior in a way which breaks the VT > switching; all that is needed is messing with the keysymbols for the > CTRL and ALT key. > > You can use xev (as Jerry Quinn already suggested) to identify the > problem. You should see the proper key symbols for "KeyPress" and > "KeyRelease" events of CTRL, ALT and F1. I get the following: > > left CTRL: keycode 37 (keysym 0xffe3, Control_L) > left ALT: keycode 64 (keysym 0xffe9, Alt_L) > F1: keycode 67 (keysym 0xffbe, F1) > > I think the keycodes might be different, depending on the layout of your > keyboard, but you should have the proper keysyms.
I get the same keysyms, certainly and the same keycodes as well actually: I'm using the UK 105-key layou. > If something is wrong > you can use "xmodmap" to change it, e.g. > > $ xmodmap -e "keycode 64 = Alt_L" > > to make the left ALT key work normally again. > > This is what I get when I run xmodmap without arguments: > > $ xmodmap > xmodmap: up to 3 keys per modifier, (keycodes in parentheses): > > shift Shift_L (0x32), Shift_R (0x3e) > lock Caps_Lock (0x42) > control Control_L (0x25), Control_R (0x6d) > mod1 Alt_L (0x40), Alt_L (0x7d), Meta_L (0x9c) > mod2 Num_Lock (0x4d) > mod3 > mod4 Super_L (0x7f), Hyper_L (0x80) > mod5 Mode_switch (0x5d), ISO_Level3_Shift (0x7c) My output is: $ xmodmap xmodmap: up to 2 keys per modifier, (keycodes in parentheses): shift Shift_L (0x32), Shift_R (0x3e) lock Caps_Lock (0x42) control Control_L (0x25), Control_R (0x6d) mod1 Alt_L (0x40), Alt_R (0x71) mod2 Num_Lock (0x4d) mod3 mod4 mod5 Scroll_Lock (0x4e) You seem to have some differences here, but I don't see how important they might be? Dave. -- Please don't CC me on list messages! ... Dave Ewart - [EMAIL PROTECTED] - jabber: [EMAIL PROTECTED] All email from me is now digitally signed, key from http://www.sungate.co.uk/ Fingerprint: AEC5 9360 0A35 7F66 66E9 82E4 9E10 6769 CD28 DA92
signature.asc
Description: Digital signature