您尚未登录。

#1 2014-11-11 11:06:38

TmzL
会员
注册时间: 2014-11-11
帖子: 1

Xorg evdev 键盘布局配置无法更改

安装了 AUR 里的 programmers-dvorak 包

/usr/share/X11/xorg.conf.d/10-evdev.conf 里面键盘配置是这样的

Section "InputClass"
        Identifier "evdev keyboard catchall"
        MatchIsKeyboard "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"

	Option "xkb_model" "pc104"
	Option "xkb_variant" "dvp"
	Option "xkb_option" "ctrl:swapcaps"
EndSection

setxkbmap -print -verbose 10 输出...

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,us
variant:    ,dvp
Trying to build keymap using the following components:
keycodes:   evdev+aliases(qwerty)
types:      complete
compat:     complete
symbols:    pc+us+us(dvp):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+us(dvp):2+inet(evdev)"   };
        xkb_geometry  { include "pc(pc104)"     };
};

layout 里的第一个 us 是什么情况?(´・_・`)

没有配置 /etc/X11/xorg.conf 以及 /etc/X11/xorg.conf.d/*

最近编辑记录 TmzL (2014-11-11 11:09:54)

离线

页脚