You are not logged in.
I have i3 as my window manager, no desktop environment. I haven't bound Control + Space to anything, however, it doesn't register in any program.
When inside i3, pressing Control + Space does not register in any program.
I have tested this with showkey -a, and Control + Space produces no output. When running from a TTY, the keypress is correctly registered:
$ showkey -a
Press any keys - Ctrl-D will terminate this program
^@ 0 0000 0x00
When pressing Control and Space separately in xev, both are correctly received. However, when pressing them together, the following output appears:
KeyPress event, serial 34, synthetic NO, window 0x3c00001,
root 0x1e5, subw 0x0, time 26368664, (752,226), root:(2043,983),
state 0x0, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
FocusOut event, serial 34, synthetic NO, window 0x3c00001,
mode NotifyGrab, detail NotifyAncestor
FocusOut event, serial 34, synthetic NO, window 0x3c00001,
mode NotifyUngrab, detail NotifyPointer
FocusIn event, serial 34, synthetic NO, window 0x3c00001,
mode NotifyUngrab, detail NotifyAncestor
KeymapNotify event, serial 34, synthetic NO, window 0x0,
keys: 4294967269 0 0 0 32 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
KeyRelease event, serial 34, synthetic NO, window 0x3c00001,
root 0x1e5, subw 0x0, time 26370201, (752,226), root:(2043,983),
state 0x4, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
The FocusOut and FocusIn events lead me to believe that Control + Space is opening some other window, but no such window appears.
After some googling I found that this is often caused by ibus, but I do not have ibus installed.
Any help is greatly appreciated, as this combination of keys is used in several programs I use daily. If I need to provide more info, I will.
Last edited by noobstar (2019-05-30 00:38:36)
Offline
The xev output indicates that the shortcut is grabbed by something (probably i3?) - that something™ just doesn't do anything notable to you.
This has nothing to do w/ opening a window, it's a technical detail about grabs because the input has to be directed somewhere.
Offline
@noobstar Did you use CTRL+Space as shortcut for switching keyboard layouts?
Last edited by sincomil (2019-05-29 07:23:47)
Offline
It depends on your 'Mod' button.
Default configuration is
# change focus between tiling / floating windows
bindsym Mod1+space focus mode_toggle
If your mod button is Ctrl. then it is mapped, if you use another button for that, or changed the default config, it's okay.
Otherwise you should change it...
Offline
I have mod set to Mod4/super, and I don't have any space bindings at all in my ~/.config/i3/config, so I don't think it's related to those.
Offline
xdotool key "XF86LogGrabInfo"
Consult your xorg log afterwards, the tail lists all clients grabbing shortcuts.
Offline
Thanks so much seth! Doing that I was able to find a program using the combo (dunst) and removed it, and now the keys work.
Offline