You are not logged in.
After setting up my system with XFCE I followed the wiki to set up an additional keyboard layout.
I used the localectl utility:
localectl set-x11-keymap us,pl
This created /etc/X11/xorg.conf.d/00-keyboard.conf with the following contents:
# Read and parsed by systemd-localed. It's probably wise not to edit this file
# manually too freely.
Section "InputClass"
Identifier "system-keyboard"
MatchIsKeyboard "on"
Option "XkbLayout" "us,pl"
EndSection
After restarting session, I can't switch layouts with the language panel.
setxkbmap -print -verbose 10 gives the following output:
Setting verbose level to 10
locale is C
Trying to load rules file ./rules/evdev...
Trying to load rules file /usr/share/X11/xkb/rules/evdev...
Success.
Applied rules from evdev:
rules: evdev
model: pc104
layout: us,pl
Trying to build keymap using the following components:
keycodes: evdev+aliases(qwerty)
types: complete
compat: complete
symbols: pc+us+pl:2+inet(evdev)
geometry: pc(pc104)
xkb_keymap {
xkb_keycodes { include "evdev+aliases(qwerty)" };
xkb_types { include "complete" };
xkb_compat { include "complete" };
xkb_symbols { include "pc+us+pl:2+inet(evdev)" };
xkb_geometry { include "pc(pc104)" };
};
After just giving the setxkbmap command without arguments I can switch layouts without problem till the end of the session. The setxkbmap -print -verbose 10 output then is exactly the same as before.
I guess I could include setxkbmap in startup somewhere so I don't have to run it every session, however why is it needed for X keyboard configuration to take effect?
Offline