Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change keyboard language #263

Closed
aplaikner opened this issue Jul 4, 2020 · 3 comments
Closed

Change keyboard language #263

aplaikner opened this issue Jul 4, 2020 · 3 comments

Comments

@aplaikner
Copy link

aplaikner commented Jul 4, 2020

So I set up LARBS on my artix machine and after logging in the keyboard language switches to american, normally I have German. I have KEYMAP=de-latin1 in my /etc/vconsole.conf but it seams to be overridden after I login. The login prompt still uses the German layout, after that the american is used. I probably failed to change something in a config file...

@kocotian
Copy link

@V1leDev are you solved this problem? if yes, can you say how you solved? i have the same problem too :<

@aplaikner
Copy link
Author

@V1leDev are you solved this problem? if yes, can you say how you solved? i have the same problem too :<

Yes, so I've tried a lot of things by changing some config files for locale etc. but nothing worked. Then in my case I put the
following command into .xprofile (at the very end):
setxkbmap -layout de
That worked. Now every time at login this command is executed and my keyboard layout is set to German.

@3m1l1a
Copy link

3m1l1a commented Jul 15, 2020

I had this problem myself when just started out with LARBS.
@LukeSmithxyz maybe these instructions would be good to have in the LARBS guide?

The reason is that Xorg overwrite the vconsole.conf variable.
Another method than @V1leDev is to create a 00-keyboard.conf file in /etc/X11/xorg.conf.d with these settings.
Xorg reads the files in /etc/X11/xorg.conf.d in order with the lowest number first.

Section "InputClass"
        Identifier "system-keyboard"
        MatchIsKeyboard "on"
        Option "XkbLayout" "de"
        Option "XkbModel" "pc105"
EndSection

More information is in the Arch wiki:
https://wiki.archlinux.org/index.php/Xorg/Keyboard_configuration

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants