You are not logged in.
Hello!
Whenever I turn on or reboot the PC, a keyboard icon featuring the US flag appears in the taskbar. Clicking on it only gives me the option to choose “US English”.
However, when I go to System Settings > Keyboard > Layouts, I only have one option: 'Spanish from Spain'.
I have to delete that layout, apply the changes, select “Spanish from Spain” again and apply the changes again. Then, finally, I have my desired Spanish keyboard layout and the taskbar flag disappears, which makes sense because I only have one option (although it used to appear and I also only had one option).
What do I need to do or change so that, whenever I start up, I have the Spanish layout (or whichever one I choose)?
Thank you.
___________________________________
Fernando Pucci
GPG: E1AB 369F C188 9DCD F423 7090 1C88 D8FB C3FB 42EB
Offline
Hi...
15 days and no reply, clue or help in any way?![]()
___________________________________
Fernando Pucci
GPG: E1AB 369F C188 9DCD F423 7090 1C88 D8FB C3FB 42EB
Offline
What's your output for
locale
locale -a
localectl
setxkbmap -print -query
cat ~/.config/kxbrcOffline
Thank you V1del.
locale:
LANG=es_AR.UTF-8
LC_CTYPE="es_AR.UTF-8"
LC_NUMERIC="es_AR.UTF-8"
LC_TIME="es_AR.UTF-8"
LC_COLLATE="es_AR.UTF-8"
LC_MONETARY="es_AR.UTF-8"
LC_MESSAGES="es_AR.UTF-8"
LC_PAPER="es_AR.UTF-8"
LC_NAME="es_AR.UTF-8"
LC_ADDRESS="es_AR.UTF-8"
LC_TELEPHONE="es_AR.UTF-8"
LC_MEASUREMENT="es_AR.UTF-8"
LC_IDENTIFICATION="es_AR.UTF-8"
LC_ALL=
locale -a
C
C.utf8
es_AR.utf8
POSIX
localectl:
System Locale: LANG=es_AR.UTF-8
VC Keymap: es
X11 Layout: es
cat ~/.config/kxbrc
cat: /home/fernando/.config/kxbrc: No existe el fichero o el directorio
(no file found)
___________________________________
Fernando Pucci
GPG: E1AB 369F C188 9DCD F423 7090 1C88 D8FB C3FB 42EB
Offline
mhm? Is your .config writeable or are you doing some XDG env shenanigans?
printenv | grep XDG
stat .configas that file missing would explain why the config does not stick (and please use code not quote tags for outputs)
Last edited by V1del (2025-06-19 02:02:37)
Offline
Hello V1del
Thank you
printenv | grep XDG
XDG_CONFIG_DIRS=/home/fernando/.config/kdedefaults:/etc/xdg
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session1
XDG_MENU_PREFIX=plasma-
XDG_SEAT=seat0
XDG_SESSION_DESKTOP=KDE
XDG_SESSION_TYPE=x11
XDG_CURRENT_DESKTOP=KDE
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
XDG_SESSION_CLASS=user
XDG_VTNR=2
XDG_SESSION_ID=2
XDG_RUNTIME_DIR=/run/user/1000stat .config
Fichero: .config
Tamaño: 12288 Bloques: 24 Bloque E/S: 4096 directorio
Device: 8,1 Inode: 4983666 Links: 54
Acceso: (0700/drwx------) Uid: ( 1000/fernando) Gid: ( 984/ users)
Acceso: 2025-06-19 17:53:59.281588488 -0300
Modificación: 2025-06-19 17:53:13.750160091 -0300
Cambio: 2025-06-19 17:53:13.750160091 -0300
Creación: 2021-07-06 12:46:24.813332541 -0300___________________________________
Fernando Pucci
GPG: E1AB 369F C188 9DCD F423 7090 1C88 D8FB C3FB 42EB
Offline
I came across your post trying to solve the same problem. My problem turned out to be caused by fcitx5, which launches on session startup and reconfigures the keyboard independently of the KDE settings. Its configuration files are in ~/.config/fcitx5, and on my system included the settings for my old keyboard. Since I'm not using any fcitx features (and don't remember why it's installed) I just pacman -R'd it to solve my issue.
Even if that's not what's causing your problem, the workaround I was using in the meantime may help: I added an entry to Autostart that runs setxkbmap es. This DIDN'T work for me until I put it in a loop like this:
#!/bin/bash
for x in {1..100}; do
setxkbmap es
sleep .1
doneNeeding to write this loop was how I figured out that some other auto-starting program must have been causing my problem.
(@mods: sorry if this counts as a necrobump... only two months old and exactly the same problem; if I hadn't found a solution I'd have started my own thread linking this one)
Offline