os: debian 7+ xfce4
运行过程X 突然崩了 打印信息如下:
The XKEYBOARD keymap compiler (xkbcomp) reports:
>Warning Type"ONE_LEVEL" has 1 levels,but has 2 symbols
> Ignoring extra symbols
Errors From xkbcomp are not fatal to the X server.
解决方法:
vim /usr/share/X11/xkb/symbols/level3
xkb_symbols "ralt_switch" {
key {
//type[Group1]="ONE_LEVEL",
type[Group1]="TWO_LEVEL",
symbols[Group1] = [ ISO_Level3_Shift ]
};
modifier_map Mod5 { ISO_Level3_Shift };
};
-------------------------------------------------------------
注销这行
//type[Group1]="ONE_LEVEL",
添加这行
type[Group1]="TWO_LEVEL",
右alt键无法使用
添加一行
xmodmap -e 'keycode 108 = Alt_R'
加在.bashrc的最后一行即可
参考:
阅读(15242) | 评论(0) | 转发(0) |