<!-- Do not edit this file, it will be overwritten on install.
Copy the file to $HOME/.config/openbox/ instead. -->
-<openbox_config xmlns="http://openbox.org/4.0/rc">
+<openbox_config xmlns="http://openbox.org/3.4/rc">
<resistance>
<strength>10</strength>
<focus>
<focusNew>yes</focusNew>
- <focusLast>yes</focusLast>
+ <!-- always try to focus new windows when they appear. other rules do
+ apply -->
<followMouse>no</followMouse>
+ <!-- move focus to a window when you move the mouse into it -->
+ <focusLast>yes</focusLast>
+ <!-- focus the last used window when changing desktops, instead of the one
+ under the mouse pointer. when followMouse is enabled -->
+ <underMouse>no</underMouse>
+ <!-- move focus under the mouse, even when the mouse is not moving -->
<focusDelay>200</focusDelay>
+ <!-- when followMouse is enabled, the mouse must be inside the window for
+ this many milliseconds (1000 = 1 sec) before moving focus to it -->
<raiseOnFocus>no</raiseOnFocus>
+ <!-- when followMouse is enabled, and a window is given focus by moving the
+ mouse into it, also raise the window -->
</focus>
<placement>
<policy>Smart</policy>
<!-- 'Smart' or 'UnderMouse' -->
+ <center>yes</center>
+ <!-- whether to place windows in the center of the free area found or
+ the top left corner -->
</placement>
<theme>
<name>Clearlooks</name>
<titleLayout>NLIMC</titleLayout>
- <titleNumber>yes</titleNumber>
<!--
avaible characters are NDSLIMC, each can occur at most once.
N: window icon
<!-- this stuff is only used at startup, pagers allow you to change them
during a session
+ these are default values to use when other ones are not already set
+ by other applications, or saved in your session
+
use obconf if you want to change these without having to log out
and back in -->
<number>4</number>
<!-- 'Center' or 'Top' -->
</resize>
+<!-- You can reserve a portion of your screen where windows will not cover when
+ they are maximized, or when they are initially placed.
+ Many programs reserve space automatically, but you can use this in other
+ cases. -->
+<margins>
+ <top>0</top>
+ <bottom>0</bottom>
+ <left>0</left>
+ <right>0</right>
+</margins>
+
<dock>
<position>TopLeft</position>
<!-- (Top|Bottom)(Left|Right|)|Top|Bottom|Left|Right|Floating -->
<!-- Keybindings for desktop switching -->
<keybind key="C-A-Left">
- <action name="DesktopLeft"><wrap>no</wrap></action>
+ <action name="DesktopLeft"><dialog>no</dialog><wrap>no</wrap></action>
</keybind>
<keybind key="C-A-Right">
- <action name="DesktopRight"><wrap>no</wrap></action>
+ <action name="DesktopRight"><dialog>no</dialog><wrap>no</wrap></action>
</keybind>
<keybind key="C-A-Up">
- <action name="DesktopUp"><wrap>no</wrap></action>
+ <action name="DesktopUp"><dialog>no</dialog><wrap>no</wrap></action>
</keybind>
<keybind key="C-A-Down">
- <action name="DesktopDown"><wrap>no</wrap></action>
+ <action name="DesktopDown"><dialog>no</dialog><wrap>no</wrap></action>
</keybind>
<keybind key="S-A-Left">
- <action name="SendToDesktopLeft"><wrap>no</wrap></action>
+ <action name="SendToDesktopLeft"><dialog>no</dialog><wrap>no</wrap></action>
</keybind>
<keybind key="S-A-Right">
- <action name="SendToDesktopRight"><wrap>no</wrap></action>
+ <action name="SendToDesktopRight"><dialog>no</dialog><wrap>no</wrap></action>
</keybind>
<keybind key="S-A-Up">
- <action name="SendToDesktopUp"><wrap>no</wrap></action>
+ <action name="SendToDesktopUp"><dialog>no</dialog><wrap>no</wrap></action>
</keybind>
<keybind key="S-A-Down">
- <action name="SendToDesktopDown"><wrap>no</wrap></action>
+ <action name="SendToDesktopDown"><dialog>no</dialog><wrap>no</wrap></action>
</keybind>
<keybind key="W-F1">
<action name="Desktop"><desktop>1</desktop></action>
</keyboard>
<mouse>
- <dragThreshold>3</dragThreshold>
+ <dragThreshold>8</dragThreshold>
<!-- number of pixels the mouse must move before a drag begins -->
<doubleClickTime>200</doubleClickTime>
<!-- in milliseconds (1000 = 1 second) -->
+ <screenEdgeWarpTime>400</screenEdgeWarpTime>
+ <!-- time before changing desktops when the pointer touches the edge of the
+ screen while moving a window, in milliseconds (1000 = 1 second),
+ 0 disables warping -->
<context name="Frame">
<mousebind button="A-Left" action="Press">
- <action name="Activate"/>
+ <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>
<mousebind button="A-Right" action="Press">
- <action name="Activate"/>
+ <action name="Focus"/>
+ <action name="Raise"/>
+ <action name="Unshade"/>
</mousebind>
<mousebind button="A-Right" action="Drag">
<action name="Resize"/>
<mousebind button="A-Down" action="Click">
<action name="DesktopNext"/>
</mousebind>
+ <mousebind button="C-A-Up" action="Click">
+ <action name="DesktopPrevious"/>
+ </mousebind>
+ <mousebind button="C-A-Down" action="Click">
+ <action name="DesktopNext"/>
+ </mousebind>
<mousebind button="A-S-Up" action="Click">
<action name="SendToDesktopPrevious"/>
</mousebind>
<context name="Titlebar">
<mousebind button="Left" action="Press">
- <action name="Activate"/>
+ <action name="Focus"/>
+ <action name="Raise"/>
</mousebind>
<mousebind button="Left" action="Drag">
<action name="Move"/>
<action name="Shade"/>
<action name="FocusToBottom"/>
<action name="Unfocus"/>
+ <action name="Lower"/>
</mousebind>
<mousebind button="Down" action="Click">
<action name="Unshade"/>
+ <action name="Raise"/>
</mousebind>
<mousebind button="Right" action="Press">
- <action name="Activate"/>
+ <action name="Focus"/>
+ <action name="Raise"/>
<action name="ShowMenu"><menu>client-menu</menu></action>
</mousebind>
</context>
<context name="Top">
<mousebind button="Left" action="Press">
- <action name="Activate"/>
+ <action name="Focus"/>
+ <action name="Raise"/>
+ <action name="Unshade"/>
</mousebind>
<mousebind button="Left" action="Drag">
<action name="Resize"><edge>top</edge></action>
<context name="Left">
<mousebind button="Left" action="Press">
- <action name="Activate"/>
+ <action name="Focus"/>
+ <action name="Raise"/>
</mousebind>
<mousebind button="Left" action="Drag">
<action name="Resize"><edge>left</edge></action>
<context name="Right">
<mousebind button="Left" action="Press">
- <action name="Activate"/>
+ <action name="Focus"/>
+ <action name="Raise"/>
</mousebind>
<mousebind button="Left" action="Drag">
<action name="Resize"><edge>right</edge></action>
<context name="Bottom">
<mousebind button="Left" action="Press">
- <action name="Activate"/>
+ <action name="Focus"/>
+ <action name="Raise"/>
</mousebind>
<mousebind button="Left" action="Drag">
<action name="Resize"><edge>bottom</edge></action>
</mousebind>
<mousebind button="Right" action="Press">
- <action name="Activate"/>
+ <action name="Focus"/>
+ <action name="Raise"/>
<action name="ShowMenu"><menu>client-menu</menu></action>
</mousebind>
</context>
<context name="BLCorner">
<mousebind button="Left" action="Press">
- <action name="Activate"/>
+ <action name="Focus"/>
+ <action name="Raise"/>
</mousebind>
<mousebind button="Left" action="Drag">
<action name="Resize"/>
<context name="BRCorner">
<mousebind button="Left" action="Press">
- <action name="Activate"/>
+ <action name="Focus"/>
+ <action name="Raise"/>
</mousebind>
<mousebind button="Left" action="Drag">
<action name="Resize"/>
<context name="TLCorner">
<mousebind button="Left" action="Press">
- <action name="Activate"/>
+ <action name="Focus"/>
+ <action name="Raise"/>
+ <action name="Unshade"/>
</mousebind>
<mousebind button="Left" action="Drag">
<action name="Resize"/>
<context name="TRCorner">
<mousebind button="Left" action="Press">
- <action name="Activate"/>
+ <action name="Focus"/>
+ <action name="Raise"/>
+ <action name="Unshade"/>
</mousebind>
<mousebind button="Left" action="Drag">
<action name="Resize"/>
<context name="Client">
<mousebind button="Left" action="Press">
- <action name="Activate"/>
+ <action name="Focus"/>
+ <action name="Raise"/>
</mousebind>
<mousebind button="Middle" action="Press">
- <action name="Activate"/>
+ <action name="Focus"/>
+ <action name="Raise"/>
</mousebind>
<mousebind button="Right" action="Press">
- <action name="Activate"/>
+ <action name="Focus"/>
+ <action name="Raise"/>
</mousebind>
</context>
<context name="Icon">
<mousebind button="Left" action="Press">
- <action name="Activate"/>
+ <action name="Focus"/>
+ <action name="Raise"/>
+ <action name="Unshade"/>
<action name="ShowMenu"><menu>client-menu</menu></action>
</mousebind>
<mousebind button="Right" action="Press">
- <action name="Activate"/>
+ <action name="Focus"/>
+ <action name="Raise"/>
<action name="ShowMenu"><menu>client-menu</menu></action>
</mousebind>
</context>
<context name="AllDesktops">
<mousebind button="Left" action="Press">
- <action name="Activate"/>
+ <action name="Focus"/>
+ <action name="Raise"/>
+ <action name="Unshade"/>
</mousebind>
<mousebind button="Left" action="Click">
<action name="ToggleOmnipresent"/>
<context name="Shade">
<mousebind button="Left" action="Press">
- <action name="Activate"/>
+ <action name="Focus"/>
+ <action name="Raise"/>
</mousebind>
<mousebind button="Left" action="Click">
<action name="ToggleShade"/>
<context name="Iconify">
<mousebind button="Left" action="Press">
- <action name="Activate"/>
+ <action name="Focus"/>
+ <action name="Raise"/>
</mousebind>
<mousebind button="Left" action="Click">
<action name="Iconify"/>
<context name="Maximize">
<mousebind button="Left" action="Press">
- <action name="Activate"/>
+ <action name="Focus"/>
+ <action name="Raise"/>
+ <action name="Unshade"/>
</mousebind>
<mousebind button="Middle" action="Press">
- <action name="Activate"/>
+ <action name="Focus"/>
+ <action name="Raise"/>
+ <action name="Unshade"/>
</mousebind>
<mousebind button="Right" action="Press">
- <action name="Activate"/>
+ <action name="Focus"/>
+ <action name="Raise"/>
+ <action name="Unshade"/>
</mousebind>
<mousebind button="Left" action="Click">
<action name="ToggleMaximizeFull"/>
<context name="Close">
<mousebind button="Left" action="Press">
- <action name="Activate"/>
+ <action name="Focus"/>
+ <action name="Raise"/>
+ <action name="Unshade"/>
</mousebind>
<mousebind button="Left" action="Click">
<action name="Close"/>
<mousebind button="A-Down" action="Press">
<action name="DesktopNext"/>
</mousebind>
+ <mousebind button="C-A-Up" action="Press">
+ <action name="DesktopPrevious"/>
+ </mousebind>
+ <mousebind button="C-A-Down" action="Press">
+ <action name="DesktopNext"/>
+ </mousebind>
<mousebind button="Left" action="Press">
- <action name="Activate"/>
+ <action name="Focus"/>
+ <action name="Raise"/>
</mousebind>
</context>
# the position is only used if both an x and y coordinate are provided
# (and not set to 'default')
<x>center</x>
- # a number like 50, or 'center' to center on screen
+ # a number like 50, or 'center' to center on screen. use a negative number
+ # to start from the right (or bottom for <y>), ie -50 is 50 pixels from the
+ # right edge (or bottom).
<y>200</y>
- # a number like 50, or 'center' to center on screen
<monitor>1</monitor>
# specifies the monitor in a xinerama setup.
# 1 is the first head, or 'mouse' for wherever the mouse is