| View previous topic :: View next topic |
| Author |
Message |
Seong-Kook Shin n00b

Joined: 28 Jul 2009 Posts: 4
|
Posted: Mon Aug 15, 2011 3:57 am Post subject: Xfce keyboard ESC key not working |
|
|
Hi,
I don't know whether my problem is Xfce4-related, or xorg-related or xkb-related.
I used Gnome 2.x with following setxkbmap setting in my Gentoo Dell Latitude D800:
| Code: |
$ setxkbmap -v
Trying to build keymap using the following components:
keycodes: xfree86+aliases(qwerty)
types: complete
compat: complete
symbols: pc+us+inet(pc105)+ctrl(nocaps)+terminate(ctrl_alt_bksp)
geometry: pc(pc105)
|
And it works fine. I switched to Xfce and set the keyboard configuration like above and suddenly, my ESC does not work.
The output of xev(1) looks strange:
| Code: |
$ xev
...
FocusOut event, serial 34, synthetic NO, window 0x2a00001,
mode NotifyGrab, detail NotifyAncestor
FocusIn event, serial 34, synthetic NO, window 0x2a00001,
mode NotifyUngrab, detail NotifyAncestor
KeymapNotify event, serial 34, 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
...
|
Normally, xev(1) generate KeyPress..KeyRelease event for all keys, but suddenly, my ESC key does not generate it.
In Gnome, the xev(1) output is:
| Code: |
KeyPress event, serial 33, synthetic NO, window 0x2000001,
root 0x18f, subw 0x0, time 10243344, (389,325), root:(393,371),
state 0x0, keycode 9 (keysym 0xff1b, Escape), same_screen YES,
XLookupString gives 1 bytes: (1b) "^["
XmbLookupString gives 1 bytes: (1b) "^["
XFilterEvent returns: False
KeyRelease event, serial 33, synthetic NO, window 0x2000001,
root 0x18f, subw 0x0, time 10243468, (389,325), root:(393,371),
state 0x0, keycode 9 (keysym 0xff1b, Escape), same_screen YES,
XLookupString gives 1 bytes: (1b) "^["
XFilterEvent returns: False
|
I don't know what is wrong here. Since setxkbmap shows the same output on Gnome/Xfce4.
To make things clear, I re-emerged xorg-server, udev, xf86-input-keyboard/mouse just in case, but nothing is changed.
Since there is no KeyPress event for my ESC key, I cannot use xmodmap either.
Is there any solution for this??[/code] |
|
| Back to top |
|
 |
Hypnos Advocate


Joined: 18 Jul 2002 Posts: 2370 Location: Omnipresent
|
Posted: Mon Aug 15, 2011 4:35 am Post subject: |
|
|
It looks like something is grabbing your "Esc" key event -- check that you don't have a hotkey mapping in your XFCE keyboard settings. _________________ If you don't have backups, you deserve to lose your data -- read about my simple backup scheme. |
|
| Back to top |
|
 |
Seong-Kook Shin n00b

Joined: 28 Jul 2009 Posts: 4
|
Posted: Mon Aug 15, 2011 5:00 am Post subject: |
|
|
| Hypnos wrote: | | It looks like something is grabbing your "Esc" key event -- check that you don't have a hotkey mapping in your XFCE keyboard settings. |
You mean, "Menu -> Settings -> Keyboard -> Application Shortcuts"?
I checked there, but I found nothing about <escape>.  |
|
| Back to top |
|
 |
Seong-Kook Shin n00b

Joined: 28 Jul 2009 Posts: 4
|
Posted: Mon Aug 15, 2011 5:10 am Post subject: |
|
|
| Seong-Kook Shin wrote: | | Hypnos wrote: | | It looks like something is grabbing your "Esc" key event -- check that you don't have a hotkey mapping in your XFCE keyboard settings. |
You mean, "Menu -> Settings -> Keyboard -> Application Shortcuts"?
I checked there, but I found nothing about <escape>.  |
Finally, I solved it!
The reason is the item "xfdesktop --menu <Control>Escape" in [Application Shortcuts].
I don't know why, but "<Control>Escape" shortcut (wrongly) eat-up also "Escape" key event.
Removing that item solves the problem anyway.
Thank you!!!
P.S I'll file a bug report to xfce bugzilla. |
|
| Back to top |
|
 |
Hypnos Advocate


Joined: 18 Jul 2002 Posts: 2370 Location: Omnipresent
|
Posted: Mon Aug 15, 2011 5:32 am Post subject: |
|
|
Great! Please add "[SOLVED]" to the thread title by editing the first post. _________________ If you don't have backups, you deserve to lose your data -- read about my simple backup scheme. |
|
| 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
|
|