View previous topic :: View next topic |
Author |
Message |
Napalm Llama Guru
Joined: 04 Jun 2005 Posts: 533 Location: Cardiff, UK
|
Posted: Sat Jan 26, 2008 10:52 pm Post subject: Xorg keymap has gone stupid |
|
|
Hi there. I've just installed Gentoo on a new box and I'm trying to iron out some quirks. My keyboard layout has gone really weird. Fortunately the letter keys still work as expected, but a couple of other important things seem to have a mind of their own. I'm using xev to find out exactly what it is they're doing.
Arrow keys are as follows:
Left: keysym 0xfe03, ISO_Level3_Shift
Right: keysym 0xffec, Super_R
Down: keysym 0x0, NoSymbol
Up:
Code: | FocusOut event, serial 31, synthetic NO, window 0x2400001,
mode NotifyGrab, detail NotifyAncestor
FocusIn event, serial 31, synthetic NO, window 0x2400001,
mode NotifyUngrab, detail NotifyAncestor
KeymapNotify event, serial 31, synthetic NO, window 0x0,
keys: 2 0 0 0 0 0 0 0 0 0 0 0 0 4294967168 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
KeyRelease event, serial 31, synthetic NO, window 0x2400001,
root 0x49, subw 0x0, time 2512509, (163,717), root:(580,742),
state 0x0, keycode 111 (keysym 0xff61, Print), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False |
I kid you not, that's what xev says whenever I press the Up button on my keyboard. I think it's performing a screengrab... The Insert block isn't behaving as expected either, along with some of the numpad, the PrintScreen keys and keys like AltGr and Super.
The relevant bit of my xorg.conf is as follows:
Code: | Section "InputDevice"
Identifier "Keyboard"
Driver "kbd"
Option "XkbModel" "pc104"
Option "XkbLayout" "gb"
EndSection |
Everything works fine in the virtual terminal (Alt-F1 et al), so I know it's definately X.
Does anybody know what's going on? Because I sure don't... _________________ Ryzen 5600x; Asus TUF Gaming B550-Plus; Geforce 1660 Super
Registered Linux User #381314
# killall humans |
|
Back to top |
|
|
mathfeel l33t
Joined: 03 Aug 2004 Posts: 700
|
Posted: Sat Jan 26, 2008 10:57 pm Post subject: |
|
|
I got similar problem, here's what I get when I press Ctrl:
Code: | KeymapNotify event, serial 27, synthetic NO, window 0x0,
keys: 34 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
FocusOut event, serial 27, synthetic NO, window 0x4400001,
mode NotifyGrab, detail NotifyAncestor
FocusIn event, serial 27, synthetic NO, window 0x4400001,
mode NotifyUngrab, detail NotifyAncestor
KeymapNotify event, serial 27, synthetic NO, window 0x0,
keys: 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
Needless to say, I am now without the use of CTRL!!
Relevant part of my xorg.conf:
Code: | Section "InputDevice"
Identifier "Default Keyboard"
Driver "evdev"
#Driver "kbd"
Option "evBits" "+1"
Option "keyBits" "~1-255 ~352-511"
Option "Pass" "3"
Option "AutoRepeat" "500 30"
#Option "RightAlt" "Meta"
Option "XkbModel" "evdev"
EndSection |
_________________ -----------------------------------------------------------
"In heaven all the interesting people are missing"
-- Friedrich Nietzsche |
|
Back to top |
|
|
tadeboro Tux's lil' helper
Joined: 21 Nov 2005 Posts: 93 Location: Ljubljana, Slovenia
|
Posted: Sun Jan 27, 2008 3:18 pm Post subject: |
|
|
Similar problem here.
But I also noticed that different WMs react differently to keypresses.
In gnome, my keyboard is stupid as hell: up key performs screen-grab, insert, home end etc. do nothing useful.
But in E17 or in Fvwm, the keyboard layout is set to default, but all keys perform as they should. |
|
Back to top |
|
|
dR0PS Tux's lil' helper
Joined: 27 Feb 2005 Posts: 116 Location: DE/Hamburg
|
Posted: Sun Jan 27, 2008 3:19 pm Post subject: |
|
|
same problem on here
cursor up throws in ksnapshot, other cursors do nothing
any clue about that?
thanks, dR0PS _________________
~x86 gentoo / zen-sources 2.6.36-zen1
|
|
Back to top |
|
|
Tyrius n00b
Joined: 27 Aug 2004 Posts: 46 Location: Southampton, UK
|
|
Back to top |
|
|
mathfeel l33t
Joined: 03 Aug 2004 Posts: 700
|
Posted: Tue Jan 29, 2008 9:25 am Post subject: |
|
|
Thank you, but this did not work for me... _________________ -----------------------------------------------------------
"In heaven all the interesting people are missing"
-- Friedrich Nietzsche |
|
Back to top |
|
|
keenblade Veteran
Joined: 03 Oct 2004 Posts: 1087
|
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|