Skip to main content
Topic: GDM keyboard layout (Read 580 times) previous topic - next topic
0 Members and 4 Guests are viewing this topic.

GDM keyboard layout

Hi,

i installed a fresh artix with openrc.
Is there a way to change the keyboard layout for gdm?
i've tested https://wiki.gentoo.org/wiki/GNOME/GDM#GDM_ignores_my_keyboard_layout and
Code: [Select]
#/etc/X11/xorg.conf.d/00-keyboard.conf

Section "InputClass"
Identifier "evdev keyboard catchall"
MatchIsKeyboard "on"
Option "XkbLayout" "de"
EndSection

Is there a way to enable logging for X?
I don't knwo the right Identifier for my keyboard and there is not xorg-log.

Thanks

Re: GDM keyboard layout

Reply #1
Xorg logs are available at /var/log/
Create problems which don't have solution


Re: GDM keyboard layout

Reply #3
are you running rootless xorg? check with this command
Code: [Select]
ps -o user $(pgrep Xorg)
Create problems which don't have solution


Re: GDM keyboard layout

Reply #5
Code: [Select]
# ps -o user $(pgrep Xorg)
USER
<username>
<username>

Code: [Select]
# sudo ps -o user $(pgrep Xorg)
[sudo] Passwort für <username>:
USER
root
root

I'm confused, are you running Xorg as root or not?

How do you run Xorg? with a login manager or using startx?

If Xorg is running as root, you should stop doing it and only launch Xorg as a normal user.

Re: GDM keyboard layout

Reply #6
I'm confused, are you running Xorg as root or not?

How do you run Xorg? with a login manager or using startx?

If Xorg is running as root, you should stop doing it and only launch Xorg as a normal user.

Xorg run as root by default
Create problems which don't have solution

Re: GDM keyboard layout

Reply #7
I'm confused, are you running Xorg as root or not?

How do you run Xorg? with a login manager or using startx?

If Xorg is running as root, you should stop doing it and only launch Xorg as a normal user.

I run GNOME with gdm service (openrc).

Now i have rebuilded gnome-shell with the patch provided by Gentoo Wiki and it works.