代码: 全选
<?xml version="1.0" encoding="UTF-8"?>
<openbox_config xmlns="http://openbox.org">
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<resistance>
<strength>20</strength>
<screen_edge_strength>20</screen_edge_strength>
</resistance>
<focus>
<focusNew>yes</focusNew>
<followMouse>no</followMouse>
<underMouse>no</underMouse>
</focus>
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<placement>
<policy>Smart</policy>
<center>yes</center>
<monitor>Any</monitor>
</placement>
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<theme>
<name>Clearlooks</name>
<titleLayout></titleLayout>
<keepBorder>yes</keepBorder>
<!-- - - - - - - - - - - - - - - - - - - - - - - - - -->
<font place="ActiveWindow">
<name>sans</name> <size>8</size> <weight>bold</weight> <slant>normal</slant>
</font>
<!-- - - - - - - - - - - - - - - - - - - - - - - - - -->
<font place="InactiveWindow">
<name>sans</name> <size>8</size> <weight>bold</weight> <slant>normal</slant>
</font>
<!-- - - - - - - - - - - - - - - - - - - - - - - - - -->
<font place="MenuHeader">
<name>sans</name> <size>9</size> <weight>normal</weight> <slant>normal</slant>
</font>
<!-- - - - - - - - - - - - - - - - - - - - - - - - - -->
<font place="MenuItem">
<name>snas</name> <size>9</size> <weight>normal</weight> <slant>normal</slant>
</font>
<!-- - - - - - - - - - - - - - - - - - - - - - - - - -->
<font place="OnScreenDisplay">
<name>sans</name> <size>9</size> <weight>bold</weight> <slant>normal</slant>
</font>
<!-- - - - - - - - - - - - - - - - - - - - - - - - - -->
</theme>
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<desktops>
<number>2</number>
<firstdesk>1</firstdesk>
<names>
<name>desktop1</name>
<name>desktop2</name>
</names>
<popupTime>875</popupTime>
</desktops>
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<resize>
<drawContents>yes</drawContents>
<popupShow>Always</popupShow>
<popupPosition>Center</popupPosition>
</resize>
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<margins>
<top>0</top>
<bottom>0</bottom>
<left>0</left>
<right>0</right>
</margins>
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<keyboard>
<chainQuitKey>C-g</chainQuitKey>
<!-- - - - - - - - - - - - - - - - - - - - - - - - - -->
<keybind key="A-0xea"> <action name="DesktopLeft"></action> </keybind>
<keybind key="A-0xe9"> <action name="DesktopRight"></action> </keybind>
<keybind key="C-A-0xea"> <action name="SendToDesktopLeft"></action> </keybind>
<keybind key="C-A-0xe9"> <action name="SendToDesktopRight"></action> </keybind>
<!-- - - - - - - - - - - - - - - - - - - - - - - - - -->
<keybind key="A-Escape"> <action name="Close"/> </keybind>
<keybind key="A-Up"> <action name="ToggleMaximizeFull"/> </keybind>
<keybind key="A-Down"> <action name="Iconify"/> </keybind>
<keybind key="A-Tab"> <action name="NextWindow"/> </keybind>
<keybind key="A-S-Tab"> <action name="PreviousWindow"/> </keybind>
<!-- - - - - - - - - - - - - - - - - - - - - - - - - -->
<keybind key="A-x">
<action name="Execute"> <command>xterm</command> </action> </keybind>
<keybind key="A-r">
<action name="Execute"> <command>rox</command> </action> </keybind>
<keybind key="A-w">
<action name="Execute"> <command>iceweasel</command> </action> </keybind>
<!-- - - - - - - - - - - - - - - - - - - - - - - - - -->
</keyboard>
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<mouse>
<dragThreshold>1</dragThreshold>
<doubleClickTime>200</doubleClickTime>
<screenEdgeWarpTime>200</screenEdgeWarpTime>
<!-- - - - - - - - - - - - - - - - - - - - - - - - - -->
<context name="Frame">
<mousebind button="A-Left" action="Drag"> <action name="move"/> </mousebind>
<mousebind button="A-Right" action="Drag"> <action name="Resize"/> </mousebind>
</context>
<!-- - - - - - - - - - - - - - - - - - - - - - - - - -->
<context name="Client">
<mousebind button="Left" action="Press">
<action name="Focus"/> <action name="Raise"/> </mousebind>
<mousebind button="Middle" action="Press">
<action name="Focus"/> <action name="Raise"/> </mousebind>
<mousebind button="Right" action="Press">
<action name="Focus"/> <action name="Raise"/> </mousebind>
</context>
<!-- - - - - - - - - - - - - - - - - - - - - - - - - -->
<context name="Desktop">
<mousebind button="Left" action="Press">
<action name="Focus"/> <action name="Raise"/> </mousebind>
<mousebind button="Right" action="Press">
<action name="Focus"/> <action name="Raise"/> </mousebind>
</context>
<!-- - - - - - - - - - - - - - - - - - - - - - - - - -->
<context name="Root">
<mousebind button="Right" action="Press">
<action name="ShowMenu"> <menu>root-menu</menu> </action>
</mousebind>
</context>
<!-- - - - - - - - - - - - - - - - - - - - - - - - - -->
</mouse>
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<menu>
<file>menu.xml</file>
<!-- - - - - - - - - - - - - - - - - - - - - - - - - -->
<hideDelay>200</hideDelay>
<middle>no</middle>
<submenuShowDelay>100</submenuShowDelay>
<applicationIcons>yes</applicationIcons>
<manageDesktops>no</manageDesktops>
<!-- - - - - - - - - - - - - - - - - - - - - - - - - -->
</menu>
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<applications>
<application class="*">
<decor>no</decor>
</application>
</applications>
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
</openbox_config>