So i’ve been running Archlabs for a while now, and thus far all of the problemas have found a fix, until i met this one.
Long story short, my keyboard is now in english layout instead of portuguese, but i still want the system language to be in en_us.
The only thing i’ve changed in regard to language in my system was adding english to the autocorrect feature in Chromium. Anyways, here’s some output of some commands that i ran on my system:
┌ ~
└> $ setxkbmap -print -verbose 10
Setting verbose level to 10
locale is C
Trying to load rules file ./rules/evdev…
Trying to load rules file /usr/share/X11/xkb/rules/evdev…
Success.
Applied rules from evdev:
rules: evdev
model: pc105
layout: pt
Trying to build keymap using the following components:
keycodes: evdev+aliases(qwerty)
types: complete
compat: complete
symbols: pc+pt+inet(evdev)
geometry: pc(pc105)
xkb_keymap {
xkb_keycodes { include “evdev+aliases(qwerty)” };
xkb_types { include “complete” };
xkb_compat { include “complete” };
xkb_symbols { include “pc+pt+inet(evdev)” };
xkb_geometry { include “pc(pc105)” };
};
┌ /etc/X11/xorg.conf.d
└> $ cat 00-keyboard.conf
Use localectl(1) to instruct systemd-localed to update it.
As you can clearly see, all of the options that are assigned to keyboard layout clearly specify pt as the current layout language, which is what i want, so i’m unable to trace the source of this issue, and i’m unsure how does adding a language to Chromium for the autocorrect changes the default system keyboard layout language.
I think your /etc/vconsole should look like below.
KEYMAP=pt_PT.UTF-8
Actually after re-reading your post im not so sure. You want to be able to read the system/os in en_us but have the keyboard in pt Portuguese or should that be reversed ?
I want to have the system in english (en_US) and have my keyboard in portuguese (pt), just like it was when i installed it. Since i didn’t change anything, besides the chromium auto-correct, and all the files seem fine to me, i’m wondering how the hell did this happen.
As i said, all of the options that resemble keyboard layout have the value ‘pt’, which is what i want, however, my keyboard is still in english. Here are the files that you told me to edit:
Perhaps the xfce4-settings-manager has a keyboard section? A lot of the time these desktop settings managers override the system setting listed before. I hate this personally as it’s not even easy to find during diagnosis of issues.
I have i3-gaps, but, i’m not unsure what i did before, i do have some xfce settings on my computer. The one that says Keyboard is currently on ‘use system defaults’, and forcing a change to the portugues layout turned out to have no effect.
You probably need to do this as root, it will also modify files (I think), still I thought it would prompt or something, maybe I’m wrong. Just to be sure though, your keys still register as the same, correct?
it appears that i’m not the only one, thanks a lot i’ll look into it, but i can only do it tonight, but based on the comments they managed to fix it using a patch.
The bugs on that site are for the upstream Arch Linux distribution, yes, but they will also apply to ArchLabs (except for the ArchLabs-specific packages, of course).
However, please don’t post stuff there (or on the Arch forums) without first replicating the problem in pure Arch, thanks.