You are not logged in.

#1 2022-03-22 19:29:21

MickeyKnox
Member
Registered: 2010-02-27
Posts: 169

[SOLVED] Configure Xorg keyboard layout

Setting

setxkbmap de

does work.

I've created an Xorg configuration file with

localectl set-x11-keymap de

which yields

/etc/X11/xorg.conf.d/00-keyboard.conf

# Written by systemd-localed(8), read by systemd-localed and Xorg. It's
# probably wise not to edit this file manually. Use localectl(1) to
# instruct systemd-localed to update it.
Section "InputClass"
        Identifier "system-keyboard"
        MatchIsKeyboard "on"
        Option "XkbLayout" "de"
EndSection

After a restart though there is still the us layout; this configuration file seems to be ignored. Why?

I'm using xfce and it comes with a keyboard configuration dialog, which doesn't work either (the keymap is not changed).

Last edited by MickeyKnox (2022-03-22 23:41:25)

Offline

#2 2022-03-22 19:46:43

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

Re: [SOLVED] Configure Xorg keyboard layout

Why?

Ask your xorg log tongue

I actually assume that it's xfce that overrides the server configuration (try a different session, eg. openbox) - in which case you'd want to investigate the failure of mentioned dialog (run it from an interactive shell for error messages?)

Offline

Board footer

Powered by FluxBB