You are not logged in.
For example, pressing the Windows key and T does not open urxvt with this:
<keybind key="W-t">
<action name="Execute">
<command>urxvt</command>
</action>
</keybind>This keybind opens urxvt with CTRL, ALT and T (so bindings overall are working):
<keybind key="C-A-t">
<action name="Execute">
<command>urxvt</command>
</action>
</keybind>The weird thing is that if I use the first snippet, I am able to open urxvt by using xdotool:
xdotool key super+tHow is it that xdotool can successfully use the W-t keybind while I cannot?
Last edited by Grima (2013-12-15 22:53:17)
Offline
What key does your keymap assign to your windows key? All my applications recognize the super key when pressed on my keyboard as well as xdotool events. This is my xev output
KeyPress event, serial 29, synthetic NO, window 0x2c00001,
root 0x2b9, subw 0x0, time 91386493, (322,425), root:(326,445),
state 0x0, keycode 133 (keysym 0xffeb, Super_L), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 32, synthetic NO, window 0x2c00001,
root 0x2b9, subw 0x0, time 91386596, (322,425), root:(326,445),
state 0x40, keycode 133 (keysym 0xffeb, Super_L), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
...
KeyPress event, serial 29, synthetic NO, window 0x2c00001,
root 0x2b9, subw 0x0, time 91479808, (701,544), root:(705,564),
state 0x0, keycode 133 (keysym 0xffeb, Super_L), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyPress event, serial 32, synthetic NO, window 0x2c00001,
root 0x2b9, subw 0x0, time 91480380, (701,544), root:(705,564),
state 0x40, keycode 28 (keysym 0x74, t), same_screen YES,
XLookupString gives 1 bytes: (74) "t"
XmbLookupString gives 1 bytes: (74) "t"
XFilterEvent returns: False
KeyRelease event, serial 32, synthetic NO, window 0x2c00001,
root 0x2b9, subw 0x0, time 91480471, (701,544), root:(705,564),
state 0x40, keycode 28 (keysym 0x74, t), same_screen YES,
XLookupString gives 1 bytes: (74) "t"
XFilterEvent returns: False
KeyRelease event, serial 32, synthetic NO, window 0x2c00001,
root 0x2b9, subw 0x0, time 91481146, (701,544), root:(705,564),
state 0x40, keycode 133 (keysym 0xffeb, Super_L), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: FalseLast edited by progandy (2013-12-15 16:28:44)
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |
Offline
What key does your keymap assign to your windows key? All my applications recognize the super key when pressed on my keyboard as well as xdotool events. This is my xev output
KeyPress event, serial 29, synthetic NO, window 0x2c00001, root 0x2b9, subw 0x0, time 91386493, (322,425), root:(326,445), state 0x0, keycode 133 (keysym 0xffeb, Super_L), same_screen YES, XLookupString gives 0 bytes: XmbLookupString gives 0 bytes: XFilterEvent returns: False KeyRelease event, serial 32, synthetic NO, window 0x2c00001, root 0x2b9, subw 0x0, time 91386596, (322,425), root:(326,445), state 0x40, keycode 133 (keysym 0xffeb, Super_L), same_screen YES, XLookupString gives 0 bytes: XFilterEvent returns: False ... KeyPress event, serial 29, synthetic NO, window 0x2c00001, root 0x2b9, subw 0x0, time 91479808, (701,544), root:(705,564), state 0x0, keycode 133 (keysym 0xffeb, Super_L), same_screen YES, XLookupString gives 0 bytes: XmbLookupString gives 0 bytes: XFilterEvent returns: False KeyPress event, serial 32, synthetic NO, window 0x2c00001, root 0x2b9, subw 0x0, time 91480380, (701,544), root:(705,564), state 0x40, keycode 28 (keysym 0x74, t), same_screen YES, XLookupString gives 1 bytes: (74) "t" XmbLookupString gives 1 bytes: (74) "t" XFilterEvent returns: False KeyRelease event, serial 32, synthetic NO, window 0x2c00001, root 0x2b9, subw 0x0, time 91480471, (701,544), root:(705,564), state 0x40, keycode 28 (keysym 0x74, t), same_screen YES, XLookupString gives 1 bytes: (74) "t" XFilterEvent returns: False KeyRelease event, serial 32, synthetic NO, window 0x2c00001, root 0x2b9, subw 0x0, time 91481146, (701,544), root:(705,564), state 0x40, keycode 133 (keysym 0xffeb, Super_L), same_screen YES, XLookupString gives 0 bytes: XFilterEvent returns: False
Hmm, xev only displays the event for T in my case. The Windows key doesn't even show up, and I tried both the left and right key.
Offline
Does anything show up in the output of dmesg after you press the windows key? (In other words, press the window key, then run dmesg
You are looking for output similar to
[ 5951.627896] atkbd serio0: Use 'setkeycodes e014 <keycode>' to make it known.
[ 5951.639286] atkbd serio0: Unknown key released (translated set 2, code 0x94 on isa0060/serio0).
[ 5951.639291] atkbd serio0: Use 'setkeycodes e014 <keycode>' to make it known.Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
Does anything show up in the output of dmesg after you press the windows key? (In other words, press the window key, then run dmesg
You are looking for output similar to
[ 5951.627896] atkbd serio0: Use 'setkeycodes e014 <keycode>' to make it known. [ 5951.639286] atkbd serio0: Unknown key released (translated set 2, code 0x94 on isa0060/serio0). [ 5951.639291] atkbd serio0: Use 'setkeycodes e014 <keycode>' to make it known.
I just tried it and nothing new is outputted when I press the key.
---
According to this thread, a program might've hijacked the key. Is there any way I can identify such a program?
I don't think that is the issue for me though, since I'm only running Chromium this instant and I don't think that it would hijack the key.
Offline
Did you choose the right keyboard model when calling localectl / setxkbmap? I guess you'll need at least pc104 (for US) or pc105 (for EU keyboard). If you can identify a specifc model use that. Use this list to identify your model:
http://www.freedesktop.org/wiki/Softwar … atibility/
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |
Offline
Did you choose the right keyboard model when calling localectl / setxkbmap? I guess you'll need at least pc104 (for US) or pc105 (for EU keyboard). If you can identify a specifc model use that. Use this list to identify your model:
http://www.freedesktop.org/wiki/Softwar … atibility/
I was using the pc104 layout, but I just switched over to pc105 since I'm European. Sadly, it didn't help.
>> localectl status
System Locale: LANG=sv_SE.UTF-8
LC_MESSAGES=en_US.UTF-8
VC Keymap: sv-latin1
X11 Layout: se
X11 Model: pc105Offline
Marking this thread as solved. The problem is the keyboard, I just tried it on another computer and the problem persists.
Offline