Teclado abnt2 no Void pelo Xorg
Teclado abnt2 no Void pelo Xorg
Tal configuração afeta o sistema INTEIRO, não apenas um usuário. Basta criar e editar um arquivo no diretório "xorg.conf.g".
Veja a seguir como fazer isso.
# mkdir /etc/X11/xorg.conf.d/
# vim /etc/X11/xorg.conf.d/10-keyboard.conf
Deixe assim:
Identifier "any value works here"
MatchIsKeyboard "on" # Limit these settings to keyboards
# Driver "libinput"
# Keyboard layout - comma-separated list for multiple layouts
Option "XkbLayout" "br"
# Keyboard variant - comma-separated list matching XkbLayout line
# Option "XkbVariant" "abnt2"
EndSection
Salve e feche. Depois, reinicie o computador e não use o setxkbmap. O teclado estará com as configurações brasileiras mesmo após o startx.
Fonte: Post Installation - Void Linux Wiki