更改拖曳視窗快捷鍵
預設為左側Alt鍵+滑鼠左鍵
更改為右側Alt鍵+滑鼠左鍵
~/.config/openbox/rc.xml
code:rc.xml(diff)
- <context name="Frame">
- <mousebind button="A-Left" action="Press">
- <action name="Focus"/>
- <action name="Raise"/>
- </mousebind>
- <mousebind button="A-Left" action="Click">
- <action name="Unshade"/>
- </mousebind>
- <mousebind button="A-Left" action="Drag">
- <action name="Move"/>
- </mousebind>
+ <context name="Frame">
+ <mousebind button="A-Right" action="Press">
+ <action name="Focus"/>
+ <action name="Raise"/>
+ </mousebind>
+ <mousebind button="A-Right" action="Click">
+ <action name="Unshade"/>
+ </mousebind>
+ <mousebind button="A-Right" action="Drag">
+ <action name="Move"/>
+ </mousebind>
$ openbox --reconfigure