baskerville/sxhkd

Certain key binds only recognized while running `sxhkd -s`

epbuennig opened this issue · 4 comments

I recently copied my config from my home pc (with a us-intl with alt-gr dead keys layout) to a notebook (with a de-latin1 layout).
Most key binds worked fine as expected, except for these:

# comma and period have the same position on both layouts
# as well as all other keybinds I tried that did work

super + {comma,period}
    bspc desktop -f {prev,next}.local

super + shift + {comma,period}
    bspc node --to-desktop {prev,next}.local --follow

They work as expected when a terminal running sxhkd -s is on any of my desktops.
Rebooting did not solve my issue, I don't think my terminal is wallowing them either since it doesn't work anywhere.
I'm running a fresh arch build, if you need any more specs I'll be happy to follow up.

# command and period have the same position on both layouts
super + {comman,period}
super + shift + {comman,period}

I think you meant to use comma (","), not comman or command :p

I think you meant to use comma (","), not comman or command :p

Haha, that's true, unfortunately that must have been a typo from trying out different binds between, I tried it with comma before and it still didn't work.

I'll fix the issue up when I'm home and try again to make sure it really wasn't a silly typo.

I have updated the issue, I have the correct spelling in my config. Furthermore it seems that this also now only works partially:

super + shift + {Left,Down,Up,Right}
    bspc node -s {west,south,north,east}.local

This works fine apart from swapping east (regardless of sxhkd -s running). What could this be caused by? ´sxhkd -s´ gave me these messages, however I don't know if these are the key binds I am looking for as they are not resolved into their names.

Output
Could not grab key 9 with modfield 64: the combination is already grabbed.
Could not grab key 9 with modfield 80: the combination is already grabbed.
Could not grab key 9 with modfield 66: the combination is already grabbed.
Could not grab key 9 with modfield 82: the combination is already grabbed.
Could not grab key 36 with modfield 64: the combination is already grabbed.
Could not grab key 36 with modfield 80: the combination is already grabbed.
Could not grab key 36 with modfield 66: the combination is already grabbed.
Could not grab key 36 with modfield 82: the combination is already grabbed.
Could not grab key 36 with modfield 68: the combination is already grabbed.
Could not grab key 36 with modfield 84: the combination is already grabbed.
Could not grab key 36 with modfield 70: the combination is already grabbed.
Could not grab key 36 with modfield 86: the combination is already grabbed.
Could not grab key 25 with modfield 64: the combination is already grabbed.
Could not grab key 25 with modfield 80: the combination is already grabbed.
Could not grab key 25 with modfield 66: the combination is already grabbed.
Could not grab key 25 with modfield 82: the combination is already grabbed.
Could not grab key 23 with modfield 64: the combination is already grabbed.
Could not grab key 23 with modfield 80: the combination is already grabbed.
Could not grab key 23 with modfield 66: the combination is already grabbed.
Could not grab key 23 with modfield 82: the combination is already grabbed.
Could not grab key 107 with modfield 4: the combination is already grabbed.
Could not grab key 107 with modfield 20: the combination is already grabbed.
Could not grab key 107 with modfield 6: the combination is already grabbed.
Could not grab key 107 with modfield 22: the combination is already grabbed.
Could not grab key 218 with modfield 4: the combination is already grabbed.
Could not grab key 218 with modfield 20: the combination is already grabbed.
Could not grab key 218 with modfield 6: the combination is already grabbed.
Could not grab key 218 with modfield 22: the combination is already grabbed.
Could not grab key 24 with modfield 64: the combination is already grabbed.
Could not grab key 24 with modfield 80: the combination is already grabbed.
Could not grab key 24 with modfield 66: the combination is already grabbed.
Could not grab key 24 with modfield 82: the combination is already grabbed.
Could not grab key 24 with modfield 65: the combination is already grabbed.
Could not grab key 24 with modfield 81: the combination is already grabbed.
Could not grab key 24 with modfield 67: the combination is already grabbed.
Could not grab key 24 with modfield 83: the combination is already grabbed.
Could not grab key 24 with modfield 72: the combination is already grabbed.
Could not grab key 24 with modfield 88: the combination is already grabbed.
Could not grab key 24 with modfield 74: the combination is already grabbed.
Could not grab key 24 with modfield 90: the combination is already grabbed.
Could not grab key 27 with modfield 72: the combination is already grabbed.
Could not grab key 27 with modfield 88: the combination is already grabbed.
Could not grab key 27 with modfield 74: the combination is already grabbed.
Could not grab key 27 with modfield 90: the combination is already grabbed.
Could not grab key 23 with modfield 8: the combination is already grabbed.
Could not grab key 23 with modfield 24: the combination is already grabbed.
Could not grab key 23 with modfield 10: the combination is already grabbed.
Could not grab key 23 with modfield 26: the combination is already grabbed.
Could not grab key 113 with modfield 64: the combination is already grabbed.
Could not grab key 113 with modfield 80: the combination is already grabbed.
Could not grab key 113 with modfield 66: the combination is already grabbed.
Could not grab key 113 with modfield 82: the combination is already grabbed.
Could not grab key 116 with modfield 64: the combination is already grabbed.
Could not grab key 116 with modfield 80: the combination is already grabbed.
Could not grab key 116 with modfield 66: the combination is already grabbed.
Could not grab key 116 with modfield 82: the combination is already grabbed.
Could not grab key 111 with modfield 64: the combination is already grabbed.
Could not grab key 111 with modfield 80: the combination is already grabbed.
Could not grab key 111 with modfield 66: the combination is already grabbed.
Could not grab key 111 with modfield 82: the combination is already grabbed.
Could not grab key 114 with modfield 64: the combination is already grabbed.
Could not grab key 114 with modfield 80: the combination is already grabbed.
Could not grab key 114 with modfield 66: the combination is already grabbed.
Could not grab key 114 with modfield 82: the combination is already grabbed.
Could not grab key 59 with modfield 64: the combination is already grabbed.
Could not grab key 59 with modfield 80: the combination is already grabbed.
Could not grab key 59 with modfield 66: the combination is already grabbed.
Could not grab key 59 with modfield 82: the combination is already grabbed.
Could not grab key 60 with modfield 64: the combination is already grabbed.
Could not grab key 60 with modfield 80: the combination is already grabbed.
Could not grab key 60 with modfield 66: the combination is already grabbed.
Could not grab key 60 with modfield 82: the combination is already grabbed.
Could not grab key 113 with modfield 68: the combination is already grabbed.
Could not grab key 113 with modfield 84: the combination is already grabbed.
Could not grab key 113 with modfield 70: the combination is already grabbed.
Could not grab key 113 with modfield 86: the combination is already grabbed.
Could not grab key 116 with modfield 68: the combination is already grabbed.
Could not grab key 116 with modfield 84: the combination is already grabbed.
Could not grab key 116 with modfield 70: the combination is already grabbed.
Could not grab key 116 with modfield 86: the combination is already grabbed.
Could not grab key 111 with modfield 68: the combination is already grabbed.
Could not grab key 111 with modfield 84: the combination is already grabbed.
Could not grab key 111 with modfield 70: the combination is already grabbed.
Could not grab key 111 with modfield 86: the combination is already grabbed.
Could not grab key 114 with modfield 68: the combination is already grabbed.
Could not grab key 114 with modfield 84: the combination is already grabbed.
Could not grab key 114 with modfield 70: the combination is already grabbed.
Could not grab key 114 with modfield 86: the combination is already grabbed.
Could not grab key 54 with modfield 68: the combination is already grabbed.
Could not grab key 54 with modfield 84: the combination is already grabbed.
Could not grab key 54 with modfield 70: the combination is already grabbed.
Could not grab key 54 with modfield 86: the combination is already grabbed.
Could not grab key 113 with modfield 65: the combination is already grabbed.
Could not grab key 113 with modfield 81: the combination is already grabbed.
Could not grab key 113 with modfield 67: the combination is already grabbed.
Could not grab key 113 with modfield 83: the combination is already grabbed.
Could not grab key 116 with modfield 65: the combination is already grabbed.
Could not grab key 116 with modfield 81: the combination is already grabbed.
Could not grab key 116 with modfield 67: the combination is already grabbed.
Could not grab key 116 with modfield 83: the combination is already grabbed.
Could not grab key 111 with modfield 65: the combination is already grabbed.
Could not grab key 111 with modfield 81: the combination is already grabbed.
Could not grab key 111 with modfield 67: the combination is already grabbed.
Could not grab key 111 with modfield 83: the combination is already grabbed.
Could not grab key 114 with modfield 65: the combination is already grabbed.
Could not grab key 114 with modfield 81: the combination is already grabbed.
Could not grab key 114 with modfield 67: the combination is already grabbed.
Could not grab key 114 with modfield 83: the combination is already grabbed.
Could not grab key 59 with modfield 65: the combination is already grabbed.
Could not grab key 59 with modfield 81: the combination is already grabbed.
Could not grab key 59 with modfield 67: the combination is already grabbed.
Could not grab key 59 with modfield 83: the combination is already grabbed.
Could not grab key 60 with modfield 65: the combination is already grabbed.
Could not grab key 60 with modfield 81: the combination is already grabbed.
Could not grab key 60 with modfield 67: the combination is already grabbed.
Could not grab key 60 with modfield 83: the combination is already grabbed.
Could not grab key 65 with modfield 65: the combination is already grabbed.
Could not grab key 65 with modfield 81: the combination is already grabbed.
Could not grab key 65 with modfield 67: the combination is already grabbed.
Could not grab key 65 with modfield 83: the combination is already grabbed.
Could not grab key 65 with modfield 65: the combination is already grabbed.
Could not grab key 65 with modfield 81: the combination is already grabbed.
Could not grab key 65 with modfield 67: the combination is already grabbed.
Could not grab key 65 with modfield 83: the combination is already grabbed.
Could not grab key 65 with modfield 64: the combination is already grabbed.
Could not grab key 65 with modfield 80: the combination is already grabbed.
Could not grab key 65 with modfield 66: the combination is already grabbed.
Could not grab key 65 with modfield 82: the combination is already grabbed.
Could not grab key 65 with modfield 64: the combination is already grabbed.
Could not grab key 65 with modfield 80: the combination is already grabbed.
Could not grab key 65 with modfield 66: the combination is already grabbed.
Could not grab key 65 with modfield 82: the combination is already grabbed.
Could not grab key 113 with modfield 72: the combination is already grabbed.
Could not grab key 113 with modfield 88: the combination is already grabbed.
Could not grab key 113 with modfield 74: the combination is already grabbed.
Could not grab key 113 with modfield 90: the combination is already grabbed.
Could not grab key 116 with modfield 72: the combination is already grabbed.
Could not grab key 116 with modfield 88: the combination is already grabbed.
Could not grab key 116 with modfield 74: the combination is already grabbed.
Could not grab key 116 with modfield 90: the combination is already grabbed.
Could not grab key 111 with modfield 72: the combination is already grabbed.
Could not grab key 111 with modfield 88: the combination is already grabbed.
Could not grab key 111 with modfield 74: the combination is already grabbed.
Could not grab key 111 with modfield 90: the combination is already grabbed.
Could not grab key 114 with modfield 72: the combination is already grabbed.
Could not grab key 114 with modfield 88: the combination is already grabbed.
Could not grab key 114 with modfield 74: the combination is already grabbed.
Could not grab key 114 with modfield 90: the combination is already grabbed.
Does this mean some other program is grabbing the key combinations, and if yes, is there a way to simply find out which programm is doing that before sxhkd can?

I don't remember how, when and why it was suddenly fixed, but it just started working some random day.
I unfortunately don't remember what fixed it, so I can't give a solution for people that may encounter the same issue.