代码: 全选
# KEYBOARD CONFIGURATION FILE
# Consult the keyboard(5) manual page.
XKBMODEL="pc105"
XKBLAYOUT="lv"
XKBVARIANT=""
XKBOPTIONS=""
BACKSPACE="guess"
在lightDM 登陆界面我的键盘没有问题(顺便问一下,如何在 lightDM 界面中锁定 NumberLock 键?)
登录 xfce 之后,键盘布局就会变成 dvorak 布局,需要重新插拔键盘才能正常。
长此以往,我的机械键盘会坏掉的。
edite:
我的 .bash_logout:
代码: 全选
# ~/.bash_logout: executed by bash(1) when login shell exits.
# when leaving the console clear the screen to increase privacy
if [ "$SHLVL" = 1 ]; then
[ -x /usr/bin/clear_console ] && /usr/bin/clear_console -q
fi
setxkbmap lv