|
|
发表于 2006-10-25 13:12:35
|
显示全部楼层
我的HP nx9040的功能键是先用setkeycodes设定映射,再用“键盘快捷键”程序设的。
setkeycodes的设置是我根据按键后/var/log/messages的提示来设的。
我的/etc/rc.d/rc.local:- [matt@localhost ~]$ cat /etc/rc.d/rc.local
- #!/bin/sh
- #
- # This script will be executed *after* all the other init scripts.
- # You can put your own initialization stuff in here if you don't
- # want to do the full Sys V style init stuff.
- setkeycodes e031 122
- setkeycodes e00a 123
- setkeycodes e023 124
- setkeycodes e01a 121
- setkeycodes e01e 116
复制代码
不知道有没有通用性…… |
|