Olá!
Estou há algum tempo tentando achar um solução para esse problema simples, porém insistente…
Tenho/uso um notebook HP Pavillion 15 com algumas das especificações de sistema…
Sistema operacional: Manjaro Linux
Versão do KDE Plasma: 5.21.1
Versão do KDE Frameworks: 5.79.0
Versão da Qt: 5.15.2
Versão do kernel: 5.10.18-1-MANJARO
Tipo de sistema operacional: 64 bits
Plataforma gráfica: X11
Processadores: 4 × AMD A8-5550M APU with Radeon™ HD Graphics
Memória: 7,0 GiB de RAM
Processador gráfico: AMD ARUBA
Venho tentando achar uma maneira de manter a configuração de layout do teclado em: US, alt. intl. (o layout físico do teclado é exatamente esse) permanentemente em todas as sessões porém sem sucesso.
Alguém pode me ajudar?
Sim, é o KDE Plasma.
Eu geralmente faço isso toda vez que ligo o notebook e tenho que fazer isso quando saio da sessão de usuário também.
A configuração não salva permanentemente, daí toda vez é a mesma ladainha.
Tenta aí sudo cat /etc/locale.gen coloca um # antes desse en_US.UTF-8 UTF-8, fazendo isso, esse idioma deixa de ser considerado nas configurações do seu sistema, depois salva (não sei como que salva com o cat, acho que ctrl X) e atualiza as configurações de idioma com o comando sudo locale-gen talvez você precise reiniciar o computador.
Olha, eu to tentando aqui mas sem sucesso. Travei no inicio da tentativa da sua resposta, o “#” como colocar ele antes do “en_US.UTF-8 UTF-8” ? nesse comando:
sudo cat /etc/locale.gen
Eu ainda sou novato na comunidade Linux; não sei muito bem como usar esses comandos, se puder/tiver algum tutorial que eu possa seguir, também é bem-vindo!
#Locales enabled by Calamares
en_US.UTF-8 UTF-8
pt_BR.UTF-8 UTF-8
And here`s what i get from the new outputs:
$ ls /etc/X11/xorg.conf.d
00-keyboard.conf 30-touchpad.conf
$ cat /etc/X11/xorg.conf.d/00-keyboard.conf #Written by systemd-localed(8), read by systemd-localed and Xorg. It’s #probably wise not to edit this file manually. Use localectl(1) to #instruct systemd-localed to update it.
Section “InputClass”
Identifier “system-keyboard”
MatchIsKeyboard “on”
Option “XkbLayout” “us”
Option “XkbModel” “hpzt11xx”
Option “XkbVariant” “alt-intl”
EndSection
(Sorry if it`s strange on the blockquote it always get with large letters when putting a space between the word and the “#” in some cases )
Yep, I’ve input the commands before changing anything…
So, it seems that changing the configurations on this part of the system, and adding the right layout there maintain the changes even when rebooting the system.
I`m gonna try, and do one more test and see if it stays with the right config…
And, it worked! Thanks Kilicpu for the patience and the persistence in looking for a way to solve it!
What I`ve done was, clicking in the “Add” button and adding manually the layout of the keyboard that works for my hardware, that in this case is "English(EUA intern. alt.).