Hi guys,
im trying to change the keyboard layout on my artix, but it just won't work.
I changed the /etc/conf.d/keymaps file to my desired layout.
(https://forum.artixlinux.org/index.php?action=dlattach;sa=tmpattach;attach=post_tmp_2758_f3f6bf2d14242bc76e0e034d79b109c3;topic=0)
(https://forum.artixlinux.org/index.php?action=dlattach;sa=tmpattach;attach=post_tmp_2758_27f615c51baae61e897e5d60067a3a86;topic=0)
Can anyone tell me what im doing wrong please?
Kind regards
Weird.
The keymap service uses the command loadkeys.
What happens if you try that command as root, in a tty login (not a terminal in X)
loadkeys slovene
I just tried that and my Y key changed to a Z.
So that worked.
Obviously it won't fix your overall issue but I'd be curious if it works?
Loadkeys works. Thats why it was so weird for me.
Looking a bit more your actual error comes after the service attempts to change the terminal encoding with the command kbd_mode
# Set terminal encoding to either ASCII or UNICODE.
# See utf-8(7) for more information.
ebegin "Setting keyboard mode [$msg]"
n=1
while [ $n -le $ttyn ]; do
kbd_mode $kmode -C $ttydev$n
: $(( n += 1 ))
done
eend 0
There's a bit of code above which seem to decide on Ascii or Unicode based on what $windowkeys is set to.
Try setting windowskeys="YES" in /etc/conf.d/keymaps and see what happens ?
https://www.maketecheasier.com/change-keyboard-layout-linux/
https://forum.artixlinux.org/index.php/topic,1656.0.html
The above post worked. Thank you guys.