You are not logged in.

#1 2023-05-07 13:50:39

vinnys
Member
Registered: 2023-05-07
Posts: 2

[SOLVED] inconsistent keyboard layout between windows

I use qtile wayland as my compositor and desktop environment.
I used 'setxkbmap no' to set my keyboard layout to norwegian. This works fine, but I have to do this every time I log in. I haven't found a persistent fix for it yet. However, I just installed alacritty, which still uses the default US layout.
It feels like this could be fixed by finding a persistent solution to the first problem. I have set the keymap to no-latin1 using localectl, and /etc/vconsole.conf is set to KEYMAP=no-latin1, but these seem to do nothing.
Any help is appreciated! smile

Last edited by vinnys (2023-05-07 23:48:51)

Offline

#2 2023-05-07 14:38:07

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,337

Re: [SOLVED] inconsistent keyboard layout between windows

https://wiki.archlinux.org/title/Xorg/K … _localectl
Not sure how much qtile/wayland tracks setxkbmap but on xwayland.

vconsole.conf is only for the console.

Offline

#3 2023-05-07 23:48:26

vinnys
Member
Registered: 2023-05-07
Posts: 2

Re: [SOLVED] inconsistent keyboard layout between windows

Fixed it by adding two lines to the top of my qtile/config.py.

from libqtile import qtile
qtile.core.cmd_set_keymap(layout="no", options="", variant="")

Offline

Board footer

Powered by FluxBB