baskerville/sxhkd

Sxhkd using 2 layouts at the same time?

MarcoPolo-PasTonMolo opened this issue · 6 comments

I'm on arch linux running bspwm with sxhkd.
I'm mainly a dvorak guy and that's what I want sxhkd to be using.

I recently updated my system and I'm not sure but I think that has been the cause for some weird behaviour.
It appears that sxhkd is using 2 layouts. Qwerty and dvorak at the same time. super + ,(w in qwerty) and super + w both close windows.
super + d(h in qwerty) and super + h both switch to the left window. Yes I have sxhkd -m -1 in my bspwmrc.

At the same time some keymaps I have defined, stopped working or use the qwerty version instead of the dvorak one. super + r(o in qwerty, this one acts as super + o), super + v (. in qwerty) and super + n (l in qwerty, acts as super + l when I want it to act as super + n).

I'm running the same setup on my pc.

Although I don't know exactly what's causing it, I was able to solve it temporarily by downgrading xkeyboard-config to version 3.36-3:

sudo pacman -U /var/cache/pacman/pkg/xkeyboard-config-2.36-3-any.pkg.tar.zst

sudo pacman -U /var/cache/pacman/pkg/xkeyboard-config-2.36-3-any.pkg.tar.zst

This worked thank you. How did you figure that out exactly?

This worked thank you. How did you figure that out exactly?

As soon as I noticed something wrong, I looked at the logs to see the list of packages that were updated recently. Judging only by their names, xkeyboard-config was the most likely to be the culprit.

Then I just downgraded to a previous version, rebooted to see if it had worked, and added it to the list of pacman's ignored packages to avoid further updates until it was solved.

Thanks for helping with this, driving me nuts. Opened an issue with xkeyboard-config here