And from my old notes, this is what I used:
Code:
<keybind key="W-Left"> # HalfLeftScreen
<action name="Unmaximize"/>
<action name="MoveResizeTo"><x>0</x><y>0</y><height>100%</height><width>50%</width></action>
</keybind>
<keybind key="W-Right"> # HalfRightScreen
<action name="Unmaximize"/>
<action name="MoveResizeTo"><x>0</x><y>0</y><height>100%</height><width>50%</width></action>
</keybind>
<keybind key="W-Up"> # HalfUpperScreen
<action name="Unmaximize"/>
<action name="MoveResizeTo"><x>0</x><y>0</y><width>100%</width><height>50%</height></action>
</keybind>
<keybind key="W-Down"> # HalfLowerScreen
<action name="Unmaximize"/>
<action name="MoveResizeTo"><x>0</x><y>0</y><width>100%</width><height>50%</height></action>
</keybind>
<keybind key="W-5"> # 50% width, height
<action name="Unmaximize"/>
<action name="MoveResizeTo"><x>center</x><y>center</y><width>50%</width><height>100%</height></action>
</keybind>
<keybind key="W-w"> # Center on screen
<action name="MoveResizeTo"><x>center</x><y>center</y></action>
</keybind>
Just make sure to back up your original and to run
Code:
openbox --reconfigure
each time you edit and save the file to make sure there aren't any parsing errors and to make the changes take effect at once without having to log out.
Bookmarks