Enable shortcut(Alt + Tab) on matchbox(window mana

以前在 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 <matchbox kbdconfig alt tab> 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

<Alt>n=next
<Alt>p=prev
<Alt>c=close
<Alt>d=desktop
<Alt>m=!matchbox-remote -mbmenu

### App launching.

<ctrl><alt>x=!xterm
<ctrl><alt>r=!rxvt

### App launching with startup notify

<ctrl><alt>e=!!gpe-calender

### windows style key shortcuts

<alt>Tab=next
<alt><shift>Tab=prev

<alt>space=taskmenu
<alt>escape=!matchbox-remote -mbmenu
<alt>f4=close

f11=fullscreen

### super should be a 'window' key, uncomment '#' if you have one.

#<super>d=desktop
#<super>r=!xterm
#<super>e=!!nautilus

### Special keys, likely probably only available on extended keyboards.

#App=!matchbox-remote -mbmenu
#Menu=!matchbox-remote -mbmenu
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值