以前在 MID 上用的系统,直接porting 到 Netbook 上之后。由于操作习惯不同(MID 是用finger,而Netbook是用键盘鼠标的),所以在Netbook上操作起来很不方便,特别是没有 快捷键(shortcut)。
开始的时候,觉得可能是 Key Map 出了问题。经过调查 loadkeys xmodmap xev 等,发现 Alt 和Tab 键对应的 keycode 没有问题。
Read
http://en.wikipedia.org/wiki/Alt-Tab
发现 在窗口这个层面上,控制它的快捷键的应该是 window manager. 而目前这个系统的 window manager : matchbox
接下来,事情就有头绪了.
http://matchbox-project.org/docs.html ( Matchbox Client communication specifics.)
-> http://matchbox-project.org/documentation/developers/matchbox-key.txt
得知 , 定义快捷键的位置在
$prefix/share/matchbox/kdbconfig or ~/.matchbox/kbdconfig if it exists.
search on google.
a sample kbdconfig file has been found.
http://www.filewatcher.com/p/matchbox-window-manager_0.9.3-1_i386.deb.141524/etc/matchbox/kbdconfig.html
-------------------------------------------------------------
#
# This is an example keyboard config file for matchbox
#
# You can edit this file or change per user by copying to
# ~/.matchbox/kbdconfig
#
# Se the matchbox manual for more info ( http://projects.o-hand.com/matchbox )
### Window operation short cuts
n=next
p=prev
c=close
d=desktop
m=!matchbox-remote -mbmenu
### App launching.
x=!xterm
r=!rxvt
### App launching with startup notify
e=!!gpe-calender
### windows style key shortcuts
Tab=next
Tab=prev
space=taskmenu
escape=!matchbox-remote -mbmenu
f4=close
f11=fullscreen
### super should be a 'window' key, uncomment '#' if you have one.
#d=desktop
#r=!xterm
#e=!!nautilus
### Special keys, likely probably only available on extended keyboards.
#App=!matchbox-remote -mbmenu
#Menu=!matchbox-remote -mbmenu
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/55968/viewspace-1009800/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/55968/viewspace-1009800/