<focus>
<focusNew>yes</focusNew>
- <focusLast>yes</focusLast>
+ <!-- always try to focus new windows when they appear. other rules do
+ apply -->
<followMouse>yes</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>
<theme>
<name>Clearlooks</name>
<titleLayout>NLIMC</titleLayout>
- <titleNumber>yes</titleNumber>
<!--
avaible characters are NDSLIMC, each can occur at most once.
N: window icon
<desktops>
<!-- this stuff is only used at startup, pagers allow you to change them
- during a session -->
+ 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>
<firstdesk>1</firstdesk>
<names>
- <name>desktop one</name>
- <name>desktop two</name>
- <name>desktop three</name>
- <name>desktop four</name>
+ <!-- set names up here if you want to, like this:
+ <name>desktop 1</name>
+ <name>desktop 2</name>
+ -->
</names>
</desktops>
<enabled>true</enabled>
<name>Konqueror</name>
</startupnotify>
- <execute>kfmclient openProfile filemanagement</execute>
+ <command>kfmclient openProfile filemanagement</command>
</action>
</keybind>
</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) -->
<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>
<action name="Raise"/>
</mousebind>
<mousebind button="Left" action="Drag">
- <action name="Resize"><edge>top</edge></action>
+ <action name="Resize"><edge>left</edge></action>
</mousebind>
</context>
<action name="Raise"/>
</mousebind>
<mousebind button="Left" action="Drag">
- <action name="Resize"><edge>top</edge></action>
+ <action name="Resize"><edge>right</edge></action>
</mousebind>
</context>
<context name="Client">
<mousebind button="Left" action="Press">
- <action name="Activate"/>
+ <action name="Focus"/>
</mousebind>
<mousebind button="Middle" action="Press">
- <action name="Activate"/>
+ <action name="Focus"/>
</mousebind>
<mousebind button="Right" action="Press">
- <action name="Activate"/>
+ <action name="Focus"/>
</mousebind>
</context>
<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"/>
+ </mousebind>
+ <mousebind button="Right" action="Press">
+ <action name="Focus"/>
</mousebind>
</context>
<applicationIcons>yes</applicationIcons>
</menu>
-<!-- this section is commented out.. remove this and the ending comment if you
- want to use it -->
<applications>
- <!-- the name or the class can be set, or both. this is used to match
- windows when they appear
+<!--
+ # this is an example with comments through out. use these to make your
+ # own rules, but without the comments of course.
- role can optionally be set, and only as much as you provide will be
- checked to see if it matches, eg. if you set role="abc" and the window's
- role is actually "abcde" it would match.
- -->
<application name="first element of window's WM_CLASS property (see xprop)"
class="second element of window's WM_CLASS property (see xprop)"
role="the window's WM_WINDOW_ROLE property (see xprop)">
+ # the name or the class can be set, or both. this is used to match
+ # windows when they appear. role can optionally be set as well, to
+ # further restrict your matches.
+
+ # the name, class, and role use simple wildcard matching such as those
+ # used by a shell. you can use * to match any characters and ? to match
+ # any single character.
- <!-- each element can be left out or set to 'default' to specify to not
- change that attribute of the window -->
+ # when multiple rules match a window, they will all be applied, in the
+ # order that they appear in this list
+
+
+ # each element can be left out or set to 'default' to specify to not
+ # change that attribute of the window
<decor>yes</decor>
+ # enable or disable window decorations
<shade>no</shade>
+ # make the window shaded when it appears, or not
<position>
- <!-- the position is only used if both an x and y coordinate are provided
- (and not set to 'default') -->
+ # the position is only used if both an x and y coordinate are provided
+ # (and not set to 'default')
<x>center</x>
- <!-- a number or 'center' to center on screen -->
+ # a number like 50, or 'center' to center on screen
<y>200</y>
- <!-- a number or 'center' to center on screen -->
+ # 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 -->
+ # specifies the monitor in a xinerama setup.
+ # 1 is the first head, or 'mouse' for wherever the mouse is
</position>
<focus>yes</focus>
- <!-- if the window should try be given focus when it appears -->
+ # if the window should try be given focus when it appears. if this is set
+ # to yes it doesn't guarantee the window will be given focus. some
+ # restrictions may apply, but Openbox will try to
<desktop>1</desktop>
- <!-- 1 is the first desktop, 'all' for all desktops -->
+ # 1 is the first desktop, 'all' for all desktops
<layer>normal</layer>
- <!-- 'above', 'normal', or 'below' -->
+ # 'above', 'normal', or 'below'
<iconic>no</iconic>
+ # make the window iconified when it appears, or not
<skip_pager>no</skip_pager>
- <!-- asks to not be shown in pagers -->
+ # asks to not be shown in pagers
<skip_taskbar>no</skip_taskbar>
- <!-- asks to not be shown in taskbars. window cycling actions will also
- skip past such windows -->
+ # asks to not be shown in taskbars. window cycling actions will also
+ # skip past such windows
<fullscreen>yes</fullscreen>
+ # make the window in fullscreen mode when it appears
<maximized>true</maximized>
- <!-- 'Horizontal', 'Vertical' or boolean (yes/no/on/off/true/false) -->
+ # 'Horizontal', 'Vertical' or boolean (yes/no)
</application>
+
+ # end of the example
+-->
</applications>
- -->
</openbox_config>