You are not logged in.

#1 2023-10-01 22:28:57

mabvmet
Member
Registered: 2019-03-06
Posts: 26

Keyboard layout is diferent at login screen and user sesion

Hi.

I have this issue, when my pc starts, in the login screen, always the keyboard distribution is set in US, but once I'm in my user sesion the keyboard goes to ES.

the /etc/vconsole.conf file is setted KEYMAP=es

The question is:
How do I change the keyboard layout also in the login screen?

Thanks!

Last edited by mabvmet (2023-10-01 22:29:18)

Offline

#2 2023-10-01 22:31:52

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,089

Re: Keyboard layout is diferent at login screen and user sesion

vconsole is for the console only (the DOS-like text shell thing)

What /is you "login screen", which display server (X11 or wayland) and what's the output of "localectl"?

Online

#3 2023-10-01 22:38:51

mabvmet
Member
Registered: 2019-03-06
Posts: 26

Re: Keyboard layout is diferent at login screen and user sesion

- The output of "localectl" is:
   System Locale: LANG=es_MX.UTF-8
   VC Keymap: es
   X11 Layout: (unset)

- echo $XDG_SESSION_TYPE
   wayland

Offline

#4 2023-10-01 22:42:11

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,089

Re: Keyboard layout is diferent at login screen and user sesion

seth, almost wrote:

What /is/ your "login screen"

GDM, SDDM, …

https://wiki.archlinux.org/title/Xorg/K … _localectl - most will pick it up from there.

Online

#5 2023-10-01 22:47:06

mabvmet
Member
Registered: 2019-03-06
Posts: 26

Re: Keyboard layout is diferent at login screen and user sesion

Looks like it is GDM:

env | grep XDG
XDG_CURRENT_DESKTOP=GNOME
XDG_MENU_PREFIX=gnome-
XDG_DATA_DIRS=/home/mabvmet/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop
XDG_SESSION_DESKTOP=gnome
XDG_RUNTIME_DIR=/run/user/1000
XDG_SESSION_TYPE=wayland
XDG_SESSION_CLASS=user

Offline

#6 2023-10-01 22:49:24

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,089

Re: Keyboard layout is diferent at login screen and user sesion

"looks like"??

1st, no doesn't - nothing there hints at your DM
2nd, how did you install archlinux? How can you not *know* what your DM is?

Online

#7 2023-10-01 23:30:09

mabvmet
Member
Registered: 2019-03-06
Posts: 26

Re: Keyboard layout is diferent at login screen and user sesion

This is an old pc, I don't use it often, so I do not remember what I have installed here, but here is the output about the DM:

$ systemctl status display-manager

● gdm.service - GNOME Display Manager
     Loaded: loaded (/usr/lib/systemd/system/gdm.service; enabled; preset: disa>
     Active: active (running) since Sun 2023-10-01 16:12:44 CST; 35min ago
   Main PID: 706 (gdm)
      Tasks: 4 (limit: 19061)
     Memory: 7.2M
        CPU: 144ms
     CGroup: /system.slice/gdm.service
             └─706 /usr/bin/gdm

Offline

#8 2023-10-02 05:36:33

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,089

Re: Keyboard layout is diferent at login screen and user sesion

Please use [code][/code] tags. Edit your posts in this regard.

https://wiki.archlinux.org/title/GDM#Keyboard_layout
Did you check the link in #4 and add a global key config?

Online

Board footer

Powered by FluxBB