baskerville / sxhkd

Simple X hotkey daemon
BSD 2-Clause "Simplified" License
2.79k stars 139 forks source link

Wrong behaviour on the non-english keyboard layout #63

Open ruffe972 opened 8 years ago

ruffe972 commented 8 years ago
XF86AudioLowerVolume
    ~/scripts/volume-down.sh

super + F11
    ~/scripts/volume-down.sh

I have these two hotkeys in my config file. On English keyboard layout, I can press Super and press and HOLD F11 key so my volume changes until I release the F11 key. But on Russian layout, the key repeat doesn't work: I have to tap the F11 key a lot. It's strange, but XF86AudioLowerVolume (Fn key + F11) works great on both layouts.

baskerville commented 8 years ago

Have you tried -m -1?

ruffe972 commented 8 years ago

Yes, this didn't help.

skindstrom commented 8 years ago

Can confirm there's something wonky with different keyboard layouts. I'm using Swedish as default, but when switching over to English layout, some keybindings don't work. Can't say for sure, but it seems the only keybindings that don't work are the mouse buttons. (Default mouse bindings for bspwm)

I also tried with -m -1 to no avail.

It doesn't matter if I restart sxhkd with the English layout activated, the mouse bindings still only work in Swedish layout.

Maxfield-Chen commented 8 years ago

I'm also having similar issues in the dvorak keyboard layout.

ghost commented 8 years ago

The -m -1 works perfectly for me, running in arch linux using a dvorak layout.

ym1234 commented 6 years ago

-m -1 also worked for me (arch, dvorak, bspwm)

bertof commented 1 year ago

Hi, this is still a problem for me. I'm using the layouts it, us and us:colemak with options terminate:ctrl_alt_bksp compose:rctrl grp:menu_toggle. The argument -m -1 did not solve the issue.