Is there a way to query where xkb
is getting its configuration from?
Under ArchLinux I have /etc/X11/xorg.conf.d/00-keyboard.conf
with:
Section "InputClass"
Identifier "system-keyboard"
MatchIsKeyboard "on"
Option "XkbLayout" "us,us"
Option "XkbVariant" "altgr-intl,colemak"
Option "XKbOptions" "ctrl:nocaps,grp:alt_shift_toggle"
EndSection
but when I start up, if I do setxkbmap -query
, I only get
rules: evdev
model: evdev
layout: us,us
variant: altgr-intl,
So neither the alternative variants nor options are recognized (needless to say, I cannot change layout). If I however run
setxkbmap -layout "us,us" -variant "altgr-intl,colemak" -option "ctrl:nocaps,grp:alt_shift_toggle"
I get the correct
rules: evdev
model: evdev
layout: us,us
variant: altgr-intl,colemak
options: ctrl:nocaps,grp:alt_shift_toggle
So is there a possibility something is overwriting my configuration? I am running GNOME/Cinnamon
('xkb, 'us')
, at least it works on my install (it doesn't hurt to add it and see if it makes any difference). If it still doesn't work then something must be wrong on your side as I am also on Archlinux and setting your layouts and options works fine on my side. Also, I don't think you can stop Gnome from overriding thexkb
settings as it's hardcoded into gnome-settings-daemon – don_crissti Mar 02 '13 at 16:58variant: colemak,
. A bug, perhaps? I don't know whom I could report to. – rabipelais Mar 02 '13 at 17:26