Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

Systemd+Wayland+GNOME: Change GDM keyboard layout

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
7 posts • Page 1 of 1
Author
Message
strm
n00b
n00b
Posts: 13
Joined: Thu Dec 26, 2024 12:30 am

Systemd+Wayland+GNOME: Change GDM keyboard layout

  • Quote

Post by strm » Thu Dec 26, 2024 1:00 am

Hello everyone, I've got a little problem with GDM.

The password prompt uses us keyboard layout and there does not seem to be a way to change this. I already spent hours searching the web and trying every trick in the book (i. e. that I could find). Nothing worked so far. No .xinitrc, no localectl thing, no XKBLAYOUT in /etc/vconsole.conf etc.

Is there a way that works with Gentoo or do I need to chose another display manager?

Help is appreciated.

Gentoo 6.6.62-dist, GNOME 45.2 (although Settings says it is 46), Wayland 1.23.1, systemd-256.7
Top
mega_flow
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 100
Joined: Sun Jun 26, 2016 9:54 pm
Location: Belgium

  • Quote

Post by mega_flow » Thu Dec 26, 2024 3:00 am

localectl set-x11-keymap is the command u looking for
Legion Slim 5 16ARP9
Top
strm
n00b
n00b
Posts: 13
Joined: Thu Dec 26, 2024 12:30 am

  • Quote

Post by strm » Thu Dec 26, 2024 4:53 pm

Tried that. Did not work.
Top
ChrisJumper
Advocate
Advocate
Posts: 2419
Joined: Sat Mar 12, 2005 1:42 pm
Location: Germany

  • Quote

Post by ChrisJumper » Sun Jan 12, 2025 9:03 pm

Hi strm,

first check to enable the debug mode in your

/etc/gdm/custom.conf

just uncommend this:

Code: Select all

[debug]
# Uncomment the line below to turn on debugging
Enable=true
This way you can take a look into the error log of gdm with the systemd journaling tool:

Code: Select all

# journalctl -u gdm
On the next Reboot gdm should be more verbose.
And show you what Mode it launch. If your mouse symbol is like an X at the beginning of the loading gdm - it indicates an X11 session.
If this works for you try to stay with the x11 configuration.

This was the easy part. Now there are only to separate ways why you have not your localisation:

A. Your Desktop uses wayland but gdm run fallback X11
B. Your Desktop uses X11 and gdm use wayland

Or less likely your Base System configuration is wrong.

Check out the Localization Guide.

Because gdm try to use the system default, because it runs as user gdm.
However, the GDM Wiki describe some other helps, watch out for "GDM ignores my keyboard layout".

But if you have Point B and a real wayland config. I would try to use Systemd and its [url=https://wiki.gentoo.org/wiki/Systemd#Locale]localisation[url]:

If your /etc/locale.conf is like this:

Code: Select all

# cat /etc/locale.conf 
LANG="en_US.utf8"

Code: Select all

# localectl set-locale LANG="en_us.utf8"

Code: Select all

# localectl set-keymap en

Code: Select all

# localectl set-x11-keymap en 
If you changed something run afterwards:

Code: Select all

# env-update && source /etc/profile
And reboot. To see if something changed. When all is fine deactivate the debug by comment it out again in /etc/gdm/custom.conf.
Top
strm
n00b
n00b
Posts: 13
Joined: Thu Dec 26, 2024 12:30 am

  • Quote

Post by strm » Fri Jan 24, 2025 3:01 pm

Thx for the hints! Will try.
Top
strm
n00b
n00b
Posts: 13
Joined: Thu Dec 26, 2024 12:30 am

  • Quote

Post by strm » Sat Feb 08, 2025 11:59 am

Tried the hints. None of them worked I am afraid.
Top
ChrisJumper
Advocate
Advocate
Posts: 2419
Joined: Sat Mar 12, 2005 1:42 pm
Location: Germany

  • Quote

Post by ChrisJumper » Fri Feb 21, 2025 12:31 am

then change your pass code to use only common characters.
Top
Post Reply

7 posts • Page 1 of 1

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic