Unable to permanently change X11 keyboard settings with localectl

X11, the wayland version of i3 is called Sway.

Do you have xmodmap running? I had trouble with this, you have to make sure things are executed in the correct order, so if you have xmodmap then setxkbmap, try it the other way round.

I ended up adding the following to ~/.config/i3/config:

bindsym $mod+u exec "setxkbmap -layout us"
bindsym $mod+i exec "setxkbmap -layout is"

Which works perfectly.

@xircon : I tried moving setxkbmap around in the /etc/X11/xinit/xinitrc file but it didn’t really make a difference. I might have misunderstood you though, I’m new to this business.

I’m content with the i3 “solution” but if any of you want to replicate this “problem” you can just install a fresh copy of EOS + i3wm on a VM. It is there from the beginning (at least for me).

Thanks for all the help everyone.

2 Likes

Im glad that this Suggestion works for you.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.