有没有办法查询从何处xkb
获取其配置?在ArchLinux下,我可以/etc/X11/xorg.conf.d/00-keyboard.conf
使用:
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
但是当我启动时,如果我这样做setxkbmap -query
,我只会得到
rules: evdev
model: evdev
layout: us,us
variant: altgr-intl,
因此,替代变体和选项都不会被识别(不用说,我不能更改布局)。如果我跑了
setxkbmap -layout "us,us" -variant "altgr-intl,colemak" -option "ctrl:nocaps,grp:alt_shift_toggle"
我得到正确的
rules: evdev
model: evdev
layout: us,us
variant: altgr-intl,colemak
options: ctrl:nocaps,grp:alt_shift_toggle
那么是否有可能覆盖我的配置?我正在运行GNOME /肉桂