You are not logged in.
Pages: 1
Hi everyone,
I have a problem with keyboard layout, I set the layout for my keyboard, following the arc guide, but it won't load, keep using the US keyboard. What should I do to fix it?
Last edited by Heisenberg32 (2022-06-08 08:25:48)
Offline
What should I do to fix it?
Describe, in detail, the actual steps you took. Read How To Ask Questions The Smart Way.
Offline
I have install Arch with Sway on thinkpad, the laptop have a it keyboard. I followed all steps of the arch guide . I wanted to continue to Sway configuration but I had issue to keyboard. I have configured the file 'vconsole.conf', I have add 'KEYMAP=it' at file, but nothing, the layout not change, remains US. I try to run 'localectl set-keymap --no-convert keymap' but nothing to do, layout not change. The output of 'localectl status', it is this:
System Locale: LANG=it_IT.UTF-8
VC Keymap: it
X11 Layout: it
The terminal is 'foot' and I installed Sway minimal without desktop envriovment.
Offline
I have configured the file 'vconsole.conf', I have add 'KEYMAP=it'
That's only for the tty, not for a wayland session. Under wayland you must either configure the compositor itself (sway), or xkbcommon through environment variables.
So, either
A) Set the layout in your sway config
or
B) Set XKB_DEFAULT_LAYOUT prior to launching sway, e.g.:
export XKB_DEFAULT_LAYOUT=it
exec sway
Last edited by Trilby (2022-06-07 23:29:40)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Heisenberg32 wrote:I have configured the file 'vconsole.conf', I have add 'KEYMAP=it'
That's only for the tty, not for a wayland session. Under wayland you must either configure the compositor itself (sway), or xkbcommon through environment variables.
So, either
A) Set the layout in your sway config
or
B) Set XKB_DEFAULT_LAYOUT prior to launching sway, e.g.:
export XKB_DEFAULT_LAYOUT=it exec sway
Thanks, I chose the option A) and it work.
Offline
Pages: 1