分页: 1 / 1

[测试]虚拟控制台下大小写字符切换问题

发表于 : 2007-04-11 9:43
codepin
用Ctrl+Alt+F1切换到虚拟控制台时,按下CapsLock键,键盘的CapLock指示灯亮,但不能输入大写字符。可能是个bug。

发表于 : 2007-04-11 12:52
eexpress
呀呀的。确实。没注意过这个。

发表于 : 2007-04-11 18:04
applnk
我的没问题呀?系统6.06。

发表于 : 2007-04-11 18:05
BigSnake.NET
applnk 写了:我的没问题呀?系统6.06。
6.10才有

发表于 : 2007-04-11 18:05
BigSnake.NET

代码: 全选

#!/bin/sh

# set DEVICE_PREFIX depending on devfs/udev
if [ -d /dev/vc ]; then
    DEVICE_PREFIX="/dev/vc/"
else
    DEVICE_PREFIX="/dev/tty"
fi

# Allow user to remap keys on the console
if [ -r /etc/console-tools/remap ]
then
    dumpkeys < ${DEVICE_PREFIX}1 |sed 's/keycode  58 =.*$/keycode  58 = Caps_Lock/g' |loadkeys --quiet
fi

exit 0
另存为shell脚本文件,然后在启动时以root运行(例如放到/etc/rc2.d/S99fixcapslock)

发表于 : 2007-04-11 19:41
fallleaf
没注意。不过我记得在控制台下安装nvidia的run时输入过大写字母的,没有问题阿

发表于 : 2007-04-18 10:02
codepin
该问题已被修正。