You are not logged in.

#1 2023-03-29 08:43:16

Arthur99
Member
Registered: 2022-11-08
Posts: 3

BSPWM not adapting my keyboard layout but everything in my session do

Hey, I'm a Belgian so I have an azerty belgian keyboard, I have this installed in the file
vconsole.conf in /etc having KEYMAP=be-latin1 and had a setxkbmap command in my .xinitrc file, however recently (as of some X11 update probs) the keyboard decided to randomly change itself back to qwerty when using X11. To try and resolve this issue I deleted this line and added in /etc/X11/xorg.conf.d/00-keyboard.conf

# Written by systemd-localed(8), read by systemd-localed and Xorg. It's
# probably wise not to edit this file manually. Use localectl(1) to
# instruct systemd-localed to update it.
Section "InputClass"
        Identifier "system-keyboard"
        MatchIsKeyboard "on"
        Option "XkbLayout" "be"
        Option "XkbOptions" "caps:escape"
EndSection

Now the keyboard is Belgian in all the programs that I use (e.g xfce4-terminal) but all my shortcuts that used to work don't anymore as bspwm responds to the us layout. I guess I might try adding setxkbmap back into the .xinitrc file but I feel like that's overkill for something that should be working by now, am I missing something?

Thanks in advance

Arthur

Offline

#2 2023-04-01 07:35:50

Stefan Husmann
Member
From: Germany
Registered: 2007-08-07
Posts: 1,391

Re: BSPWM not adapting my keyboard layout but everything in my session do

bspwm does not handle shortcuts itself. This is normally done by the sxhkd daemon, which comes from the same author. How did you configure your shotcuts?

Offline

#3 2023-04-17 08:55:07

Arthur99
Member
Registered: 2022-11-08
Posts: 3

Re: BSPWM not adapting my keyboard layout but everything in my session do

Yes I did configure the shortcuts with sxhkd, I guess it's sxhkd then who's following the us layout instead of the be layout

Offline

#4 2023-04-17 14:54:31

Stefan Husmann
Member
From: Germany
Registered: 2007-08-07
Posts: 1,391

Re: BSPWM not adapting my keyboard layout but everything in my session do

Please show your configs (bspwmrc and sxhkdrc).

Offline

Board footer

Powered by FluxBB