sts rev 5

Add Openbox config files
author Christophe Lincoln <pankso@slitaz.org>
date Sat Apr 26 22:09:47 2014 +0200 (2014-04-26)
parents 896ad651e538
children c117f953ea84
files openbox/sts-autostart openbox/sts-rc.xml
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/openbox/sts-autostart	Sat Apr 26 22:09:47 2014 +0200
     1.3 @@ -0,0 +1,14 @@
     1.4 +# This shell script is run before Openbox launches.
     1.5 +# Environment variables set here are passed to the Openbox session.
     1.6 +
     1.7 +# Start DBUS session.
     1.8 +if [ ! "$DBUS_SESSION_BUS_ADDRESS" ]; then
     1.9 +	dbus-launch --sh-syntax --exit-with-session &
    1.10 +fi
    1.11 +
    1.12 +# Desktop background
    1.13 +#hsetroot -fill /usr/share/images/sts-background.png &
    1.14 +hsetroot -fill /usr/share/images/slitaz-arm-background.png &
    1.15 +
    1.16 +# Desktop panel
    1.17 +lxpanel -p sts &
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/openbox/sts-rc.xml	Sat Apr 26 22:09:47 2014 +0200
     2.3 @@ -0,0 +1,716 @@
     2.4 +<?xml version="1.0" encoding="UTF-8"?>
     2.5 +<!-- Do not edit this file, it will be overwritten on install.
     2.6 +        Copy the file to $HOME/.config/openbox/ instead. -->
     2.7 +<openbox_config xmlns="http://openbox.org/3.4/rc">
     2.8 +  <resistance>
     2.9 +    <strength>10</strength>
    2.10 +    <screen_edge_strength>20</screen_edge_strength>
    2.11 +  </resistance>
    2.12 +  <focus>
    2.13 +    <focusNew>yes</focusNew>
    2.14 +    <!-- always try to focus new windows when they appear. other rules do
    2.15 +       apply -->
    2.16 +    <followMouse>no</followMouse>
    2.17 +    <!-- move focus to a window when you move the mouse into it -->
    2.18 +    <focusLast>yes</focusLast>
    2.19 +    <!-- focus the last used window when changing desktops, instead of the one
    2.20 +       under the mouse pointer. when followMouse is enabled -->
    2.21 +    <underMouse>no</underMouse>
    2.22 +    <!-- move focus under the mouse, even when the mouse is not moving -->
    2.23 +    <focusDelay>200</focusDelay>
    2.24 +    <!-- when followMouse is enabled, the mouse must be inside the window for
    2.25 +       this many milliseconds (1000 = 1 sec) before moving focus to it -->
    2.26 +    <raiseOnFocus>no</raiseOnFocus>
    2.27 +    <!-- when followMouse is enabled, and a window is given focus by moving the
    2.28 +       mouse into it, also raise the window -->
    2.29 +  </focus>
    2.30 +  <placement>
    2.31 +    <policy>Smart</policy>
    2.32 +    <!-- 'Smart' or 'UnderMouse' -->
    2.33 +    <center>yes</center>
    2.34 +    <!-- whether to place windows in the center of the free area found or
    2.35 +       the top left corner -->
    2.36 +    <monitor>Any</monitor>
    2.37 +    <!-- with Smart placement on a multi-monitor system, try to place new windows
    2.38 +       on: 'Any' - any monitor, 'Mouse' - where the mouse is, 'Active' - where
    2.39 +       the active window is -->
    2.40 +    <primaryMonitor/>
    2.41 +  </placement>
    2.42 +  <theme>
    2.43 +    <name>SliTaz</name>
    2.44 +    <titleLayout>NLIMC</titleLayout>
    2.45 +    <!--
    2.46 +      available characters are NDSLIMC, each can occur at most once.
    2.47 +      N: window icon
    2.48 +      L: window label (AKA title).
    2.49 +      I: iconify
    2.50 +      M: maximize
    2.51 +      C: close
    2.52 +      S: shade (roll up/down)
    2.53 +      D: omnipresent (on all desktops).
    2.54 +  -->
    2.55 +    <keepBorder>yes</keepBorder>
    2.56 +    <animateIconify>yes</animateIconify>
    2.57 +    <font place="ActiveWindow">
    2.58 +      <name>Sans</name>
    2.59 +      <size>8</size>
    2.60 +      <!-- font size in points -->
    2.61 +      <weight>Bold</weight>
    2.62 +      <!-- 'bold' or 'normal' -->
    2.63 +      <slant>Normal</slant>
    2.64 +      <!-- 'italic' or 'normal' -->
    2.65 +    </font>
    2.66 +    <font place="InactiveWindow">
    2.67 +      <name>Sans</name>
    2.68 +      <size>8</size>
    2.69 +      <!-- font size in points -->
    2.70 +      <weight>Bold</weight>
    2.71 +      <!-- 'bold' or 'normal' -->
    2.72 +      <slant>Normal</slant>
    2.73 +      <!-- 'italic' or 'normal' -->
    2.74 +    </font>
    2.75 +    <font place="MenuHeader">
    2.76 +      <name>Sans</name>
    2.77 +      <size>10</size>
    2.78 +      <!-- font size in points -->
    2.79 +      <weight>Normal</weight>
    2.80 +      <!-- 'bold' or 'normal' -->
    2.81 +      <slant>Normal</slant>
    2.82 +      <!-- 'italic' or 'normal' -->
    2.83 +    </font>
    2.84 +    <font place="MenuItem">
    2.85 +      <name>Sans</name>
    2.86 +      <size>11</size>
    2.87 +      <!-- font size in points -->
    2.88 +      <weight>Normal</weight>
    2.89 +      <!-- 'bold' or 'normal' -->
    2.90 +      <slant>Normal</slant>
    2.91 +      <!-- 'italic' or 'normal' -->
    2.92 +    </font>
    2.93 +    <font place="OnScreenDisplay">
    2.94 +      <name>sans</name>
    2.95 +      <size>14</size>
    2.96 +      <!-- font size in points -->
    2.97 +      <weight>bold</weight>
    2.98 +      <!-- 'bold' or 'normal' -->
    2.99 +      <slant>normal</slant>
   2.100 +      <!-- 'italic' or 'normal' -->
   2.101 +    </font>
   2.102 +    <font place="ActiveOnScreenDisplay">
   2.103 +      <name>Sans</name>
   2.104 +      <size>16</size>
   2.105 +      <weight>Normal</weight>
   2.106 +      <slant>Normal</slant>
   2.107 +    </font>
   2.108 +    <font place="InactiveOnScreenDisplay">
   2.109 +      <name>Sans</name>
   2.110 +      <size>8</size>
   2.111 +      <weight/>
   2.112 +      <slant/>
   2.113 +    </font>
   2.114 +  </theme>
   2.115 +  <desktops>
   2.116 +    <!-- this stuff is only used at startup, pagers allow you to change them
   2.117 +       during a session
   2.118 +
   2.119 +       these are default values to use when other ones are not already set
   2.120 +       by other applications, or saved in your session
   2.121 +
   2.122 +       use obconf if you want to change these without having to log out
   2.123 +       and back in -->
   2.124 +    <number>2</number>
   2.125 +    <firstdesk>1</firstdesk>
   2.126 +    <names>
   2.127 +      <!-- set names up here if you want to, like this:
   2.128 +    <name>desktop 1</name>
   2.129 +    <name>desktop 2</name>
   2.130 +    -->
   2.131 +    </names>
   2.132 +    <popupTime>875</popupTime>
   2.133 +    <!-- The number of milliseconds to show the popup for when switching
   2.134 +       desktops.  Set this to 0 to disable the popup. -->
   2.135 +  </desktops>
   2.136 +  <resize>
   2.137 +    <drawContents>yes</drawContents>
   2.138 +    <popupShow>Nonpixel</popupShow>
   2.139 +    <!-- 'Always', 'Never', or 'Nonpixel' (xterms and such) -->
   2.140 +    <popupPosition>Center</popupPosition>
   2.141 +    <!-- 'Center', 'Top', or 'Fixed' -->
   2.142 +    <popupFixedPosition>
   2.143 +      <!-- these are used if popupPosition is set to 'Fixed' -->
   2.144 +      <x>10</x>
   2.145 +      <!-- positive number for distance from left edge, negative number for
   2.146 +         distance from right edge, or 'Center' -->
   2.147 +      <y>10</y>
   2.148 +      <!-- positive number for distance from top edge, negative number for
   2.149 +         distance from bottom edge, or 'Center' -->
   2.150 +    </popupFixedPosition>
   2.151 +  </resize>
   2.152 +  <!-- You can reserve a portion of your screen where windows will not cover when
   2.153 +     they are maximized, or when they are initially placed.
   2.154 +     Many programs reserve space automatically, but you can use this in other
   2.155 +     cases. -->
   2.156 +  <margins>
   2.157 +    <top>0</top>
   2.158 +    <bottom>0</bottom>
   2.159 +    <left>0</left>
   2.160 +    <right>0</right>
   2.161 +  </margins>
   2.162 +  <dock>
   2.163 +    <position>TopLeft</position>
   2.164 +    <!-- (Top|Bottom)(Left|Right|)|Top|Bottom|Left|Right|Floating -->
   2.165 +    <floatingX>0</floatingX>
   2.166 +    <floatingY>0</floatingY>
   2.167 +    <noStrut>no</noStrut>
   2.168 +    <stacking>Above</stacking>
   2.169 +    <!-- 'Above', 'Normal', or 'Below' -->
   2.170 +    <direction>Vertical</direction>
   2.171 +    <!-- 'Vertical' or 'Horizontal' -->
   2.172 +    <autoHide>no</autoHide>
   2.173 +    <hideDelay>300</hideDelay>
   2.174 +    <!-- in milliseconds (1000 = 1 second) -->
   2.175 +    <showDelay>300</showDelay>
   2.176 +    <!-- in milliseconds (1000 = 1 second) -->
   2.177 +    <moveButton>Middle</moveButton>
   2.178 +    <!-- 'Left', 'Middle', 'Right' -->
   2.179 +  </dock>
   2.180 +  <keyboard>
   2.181 +    <chainQuitKey>C-g</chainQuitKey>
   2.182 +    <!-- Keybindings for desktop switching -->
   2.183 +    <keybind key="C-A-Left">
   2.184 +      <action name="DesktopLeft">
   2.185 +        <dialog>no</dialog>
   2.186 +        <wrap>no</wrap>
   2.187 +      </action>
   2.188 +    </keybind>
   2.189 +    <keybind key="C-A-Right">
   2.190 +      <action name="DesktopRight">
   2.191 +        <dialog>no</dialog>
   2.192 +        <wrap>no</wrap>
   2.193 +      </action>
   2.194 +    </keybind>
   2.195 +    <keybind key="C-A-Up">
   2.196 +      <action name="DesktopUp">
   2.197 +        <dialog>no</dialog>
   2.198 +        <wrap>no</wrap>
   2.199 +      </action>
   2.200 +    </keybind>
   2.201 +    <keybind key="C-A-Down">
   2.202 +      <action name="DesktopDown">
   2.203 +        <dialog>no</dialog>
   2.204 +        <wrap>no</wrap>
   2.205 +      </action>
   2.206 +    </keybind>
   2.207 +    <keybind key="S-A-Left">
   2.208 +      <action name="SendToDesktopLeft">
   2.209 +        <dialog>no</dialog>
   2.210 +        <wrap>no</wrap>
   2.211 +      </action>
   2.212 +    </keybind>
   2.213 +    <keybind key="S-A-Right">
   2.214 +      <action name="SendToDesktopRight">
   2.215 +        <dialog>no</dialog>
   2.216 +        <wrap>no</wrap>
   2.217 +      </action>
   2.218 +    </keybind>
   2.219 +    <keybind key="S-A-Up">
   2.220 +      <action name="SendToDesktopUp">
   2.221 +        <dialog>no</dialog>
   2.222 +        <wrap>no</wrap>
   2.223 +      </action>
   2.224 +    </keybind>
   2.225 +    <keybind key="S-A-Down">
   2.226 +      <action name="SendToDesktopDown">
   2.227 +        <dialog>no</dialog>
   2.228 +        <wrap>no</wrap>
   2.229 +      </action>
   2.230 +    </keybind>
   2.231 +    <keybind key="W-F1">
   2.232 +      <action name="Desktop">
   2.233 +        <desktop>1</desktop>
   2.234 +      </action>
   2.235 +    </keybind>
   2.236 +    <keybind key="W-F2">
   2.237 +      <action name="Desktop">
   2.238 +        <desktop>2</desktop>
   2.239 +      </action>
   2.240 +    </keybind>
   2.241 +    <keybind key="W-F3">
   2.242 +      <action name="Desktop">
   2.243 +        <desktop>3</desktop>
   2.244 +      </action>
   2.245 +    </keybind>
   2.246 +    <keybind key="W-F4">
   2.247 +      <action name="Desktop">
   2.248 +        <desktop>4</desktop>
   2.249 +      </action>
   2.250 +    </keybind>
   2.251 +    <keybind key="W-d">
   2.252 +      <action name="ToggleShowDesktop"/>
   2.253 +    </keybind>
   2.254 +    <!-- Keybindings for windows -->
   2.255 +    <keybind key="A-F4">
   2.256 +      <action name="Close"/>
   2.257 +    </keybind>
   2.258 +    <keybind key="A-Escape">
   2.259 +      <action name="Lower"/>
   2.260 +      <action name="FocusToBottom"/>
   2.261 +      <action name="Unfocus"/>
   2.262 +    </keybind>
   2.263 +    <keybind key="A-space">
   2.264 +      <action name="ShowMenu">
   2.265 +        <menu>client-menu</menu>
   2.266 +      </action>
   2.267 +    </keybind>
   2.268 +    <!-- Keybindings for window switching -->
   2.269 +    <keybind key="A-Tab">
   2.270 +      <action name="NextWindow"/>
   2.271 +    </keybind>
   2.272 +    <keybind key="A-S-Tab">
   2.273 +      <action name="PreviousWindow"/>
   2.274 +    </keybind>
   2.275 +    <keybind key="C-A-Tab">
   2.276 +      <action name="NextWindow">
   2.277 +        <panels>yes</panels>
   2.278 +        <desktop>yes</desktop>
   2.279 +      </action>
   2.280 +    </keybind>
   2.281 +    <!-- Keybindings for running applications -->
   2.282 +    <keybind key="W-e">
   2.283 +      <action name="Execute">
   2.284 +        <startupnotify>
   2.285 +          <enabled>true</enabled>
   2.286 +          <name>App Launcher</name>
   2.287 +        </startupnotify>
   2.288 +        <command>lxpanelctl run</command>
   2.289 +      </action>
   2.290 +    </keybind>
   2.291 +  </keyboard>
   2.292 +  <mouse>
   2.293 +    <dragThreshold>8</dragThreshold>
   2.294 +    <!-- number of pixels the mouse must move before a drag begins -->
   2.295 +    <doubleClickTime>200</doubleClickTime>
   2.296 +    <!-- in milliseconds (1000 = 1 second) -->
   2.297 +    <screenEdgeWarpTime>400</screenEdgeWarpTime>
   2.298 +    <!-- Time before changing desktops when the pointer touches the edge of the
   2.299 +       screen while moving a window, in milliseconds (1000 = 1 second).
   2.300 +       Set this to 0 to disable warping -->
   2.301 +    <context name="Frame">
   2.302 +      <mousebind button="A-Left" action="Press">
   2.303 +        <action name="Focus"/>
   2.304 +        <action name="Raise"/>
   2.305 +      </mousebind>
   2.306 +      <mousebind button="A-Left" action="Click">
   2.307 +        <action name="Unshade"/>
   2.308 +      </mousebind>
   2.309 +      <mousebind button="A-Left" action="Drag">
   2.310 +        <action name="Move"/>
   2.311 +      </mousebind>
   2.312 +      <mousebind button="A-Right" action="Press">
   2.313 +        <action name="Focus"/>
   2.314 +        <action name="Raise"/>
   2.315 +        <action name="Unshade"/>
   2.316 +      </mousebind>
   2.317 +      <mousebind button="A-Right" action="Drag">
   2.318 +        <action name="Resize"/>
   2.319 +      </mousebind>
   2.320 +      <mousebind button="A-Middle" action="Press">
   2.321 +        <action name="Lower"/>
   2.322 +        <action name="FocusToBottom"/>
   2.323 +        <action name="Unfocus"/>
   2.324 +      </mousebind>
   2.325 +      <mousebind button="A-Up" action="Click">
   2.326 +        <action name="DesktopPrevious"/>
   2.327 +      </mousebind>
   2.328 +      <mousebind button="A-Down" action="Click">
   2.329 +        <action name="DesktopNext"/>
   2.330 +      </mousebind>
   2.331 +      <mousebind button="C-A-Up" action="Click">
   2.332 +        <action name="DesktopPrevious"/>
   2.333 +      </mousebind>
   2.334 +      <mousebind button="C-A-Down" action="Click">
   2.335 +        <action name="DesktopNext"/>
   2.336 +      </mousebind>
   2.337 +      <mousebind button="A-S-Up" action="Click">
   2.338 +        <action name="SendToDesktopPrevious"/>
   2.339 +      </mousebind>
   2.340 +      <mousebind button="A-S-Down" action="Click">
   2.341 +        <action name="SendToDesktopNext"/>
   2.342 +      </mousebind>
   2.343 +    </context>
   2.344 +    <context name="Titlebar">
   2.345 +      <mousebind button="Left" action="Press">
   2.346 +        <action name="Focus"/>
   2.347 +        <action name="Raise"/>
   2.348 +      </mousebind>
   2.349 +      <mousebind button="Left" action="Drag">
   2.350 +        <action name="Move"/>
   2.351 +      </mousebind>
   2.352 +      <mousebind button="Left" action="DoubleClick">
   2.353 +        <action name="ToggleMaximizeFull"/>
   2.354 +      </mousebind>
   2.355 +      <mousebind button="Middle" action="Press">
   2.356 +        <action name="Lower"/>
   2.357 +        <action name="FocusToBottom"/>
   2.358 +        <action name="Unfocus"/>
   2.359 +      </mousebind>
   2.360 +      <mousebind button="Up" action="Click">
   2.361 +        <action name="Shade"/>
   2.362 +        <action name="FocusToBottom"/>
   2.363 +        <action name="Unfocus"/>
   2.364 +        <action name="Lower"/>
   2.365 +      </mousebind>
   2.366 +      <mousebind button="Down" action="Click">
   2.367 +        <action name="Unshade"/>
   2.368 +        <action name="Raise"/>
   2.369 +      </mousebind>
   2.370 +      <mousebind button="Right" action="Press">
   2.371 +        <action name="Focus"/>
   2.372 +        <action name="Raise"/>
   2.373 +        <action name="ShowMenu">
   2.374 +          <menu>client-menu</menu>
   2.375 +        </action>
   2.376 +      </mousebind>
   2.377 +    </context>
   2.378 +    <context name="Top">
   2.379 +      <mousebind button="Left" action="Press">
   2.380 +        <action name="Focus"/>
   2.381 +        <action name="Raise"/>
   2.382 +        <action name="Unshade"/>
   2.383 +      </mousebind>
   2.384 +      <mousebind button="Left" action="Drag">
   2.385 +        <action name="Resize">
   2.386 +          <edge>top</edge>
   2.387 +        </action>
   2.388 +      </mousebind>
   2.389 +    </context>
   2.390 +    <context name="Left">
   2.391 +      <mousebind button="Left" action="Press">
   2.392 +        <action name="Focus"/>
   2.393 +        <action name="Raise"/>
   2.394 +      </mousebind>
   2.395 +      <mousebind button="Left" action="Drag">
   2.396 +        <action name="Resize">
   2.397 +          <edge>left</edge>
   2.398 +        </action>
   2.399 +      </mousebind>
   2.400 +    </context>
   2.401 +    <context name="Right">
   2.402 +      <mousebind button="Left" action="Press">
   2.403 +        <action name="Focus"/>
   2.404 +        <action name="Raise"/>
   2.405 +      </mousebind>
   2.406 +      <mousebind button="Left" action="Drag">
   2.407 +        <action name="Resize">
   2.408 +          <edge>right</edge>
   2.409 +        </action>
   2.410 +      </mousebind>
   2.411 +    </context>
   2.412 +    <context name="Bottom">
   2.413 +      <mousebind button="Left" action="Press">
   2.414 +        <action name="Focus"/>
   2.415 +        <action name="Raise"/>
   2.416 +      </mousebind>
   2.417 +      <mousebind button="Left" action="Drag">
   2.418 +        <action name="Resize">
   2.419 +          <edge>bottom</edge>
   2.420 +        </action>
   2.421 +      </mousebind>
   2.422 +      <mousebind button="Middle" action="Press">
   2.423 +        <action name="Lower"/>
   2.424 +        <action name="FocusToBottom"/>
   2.425 +        <action name="Unfocus"/>
   2.426 +      </mousebind>
   2.427 +      <mousebind button="Right" action="Press">
   2.428 +        <action name="Focus"/>
   2.429 +        <action name="Raise"/>
   2.430 +        <action name="ShowMenu">
   2.431 +          <menu>client-menu</menu>
   2.432 +        </action>
   2.433 +      </mousebind>
   2.434 +    </context>
   2.435 +    <context name="BLCorner">
   2.436 +      <mousebind button="Left" action="Press">
   2.437 +        <action name="Focus"/>
   2.438 +        <action name="Raise"/>
   2.439 +      </mousebind>
   2.440 +      <mousebind button="Left" action="Drag">
   2.441 +        <action name="Resize"/>
   2.442 +      </mousebind>
   2.443 +    </context>
   2.444 +    <context name="BRCorner">
   2.445 +      <mousebind button="Left" action="Press">
   2.446 +        <action name="Focus"/>
   2.447 +        <action name="Raise"/>
   2.448 +      </mousebind>
   2.449 +      <mousebind button="Left" action="Drag">
   2.450 +        <action name="Resize"/>
   2.451 +      </mousebind>
   2.452 +    </context>
   2.453 +    <context name="TLCorner">
   2.454 +      <mousebind button="Left" action="Press">
   2.455 +        <action name="Focus"/>
   2.456 +        <action name="Raise"/>
   2.457 +        <action name="Unshade"/>
   2.458 +      </mousebind>
   2.459 +      <mousebind button="Left" action="Drag">
   2.460 +        <action name="Resize"/>
   2.461 +      </mousebind>
   2.462 +    </context>
   2.463 +    <context name="TRCorner">
   2.464 +      <mousebind button="Left" action="Press">
   2.465 +        <action name="Focus"/>
   2.466 +        <action name="Raise"/>
   2.467 +        <action name="Unshade"/>
   2.468 +      </mousebind>
   2.469 +      <mousebind button="Left" action="Drag">
   2.470 +        <action name="Resize"/>
   2.471 +      </mousebind>
   2.472 +    </context>
   2.473 +    <context name="Client">
   2.474 +      <mousebind button="Left" action="Press">
   2.475 +        <action name="Focus"/>
   2.476 +        <action name="Raise"/>
   2.477 +      </mousebind>
   2.478 +      <mousebind button="Middle" action="Press">
   2.479 +        <action name="Focus"/>
   2.480 +        <action name="Raise"/>
   2.481 +      </mousebind>
   2.482 +      <mousebind button="Right" action="Press">
   2.483 +        <action name="Focus"/>
   2.484 +        <action name="Raise"/>
   2.485 +      </mousebind>
   2.486 +    </context>
   2.487 +    <context name="Icon">
   2.488 +      <mousebind button="Left" action="Press">
   2.489 +        <action name="Focus"/>
   2.490 +        <action name="Raise"/>
   2.491 +        <action name="Unshade"/>
   2.492 +        <action name="ShowMenu">
   2.493 +          <menu>client-menu</menu>
   2.494 +        </action>
   2.495 +      </mousebind>
   2.496 +      <mousebind button="Right" action="Press">
   2.497 +        <action name="Focus"/>
   2.498 +        <action name="Raise"/>
   2.499 +        <action name="ShowMenu">
   2.500 +          <menu>client-menu</menu>
   2.501 +        </action>
   2.502 +      </mousebind>
   2.503 +    </context>
   2.504 +    <context name="AllDesktops">
   2.505 +      <mousebind button="Left" action="Press">
   2.506 +        <action name="Focus"/>
   2.507 +        <action name="Raise"/>
   2.508 +        <action name="Unshade"/>
   2.509 +      </mousebind>
   2.510 +      <mousebind button="Left" action="Click">
   2.511 +        <action name="ToggleOmnipresent"/>
   2.512 +      </mousebind>
   2.513 +    </context>
   2.514 +    <context name="Shade">
   2.515 +      <mousebind button="Left" action="Press">
   2.516 +        <action name="Focus"/>
   2.517 +        <action name="Raise"/>
   2.518 +      </mousebind>
   2.519 +      <mousebind button="Left" action="Click">
   2.520 +        <action name="ToggleShade"/>
   2.521 +      </mousebind>
   2.522 +    </context>
   2.523 +    <context name="Iconify">
   2.524 +      <mousebind button="Left" action="Press">
   2.525 +        <action name="Focus"/>
   2.526 +        <action name="Raise"/>
   2.527 +      </mousebind>
   2.528 +      <mousebind button="Left" action="Click">
   2.529 +        <action name="Iconify"/>
   2.530 +      </mousebind>
   2.531 +    </context>
   2.532 +    <context name="Maximize">
   2.533 +      <mousebind button="Left" action="Press">
   2.534 +        <action name="Focus"/>
   2.535 +        <action name="Raise"/>
   2.536 +        <action name="Unshade"/>
   2.537 +      </mousebind>
   2.538 +      <mousebind button="Middle" action="Press">
   2.539 +        <action name="Focus"/>
   2.540 +        <action name="Raise"/>
   2.541 +        <action name="Unshade"/>
   2.542 +      </mousebind>
   2.543 +      <mousebind button="Right" action="Press">
   2.544 +        <action name="Focus"/>
   2.545 +        <action name="Raise"/>
   2.546 +        <action name="Unshade"/>
   2.547 +      </mousebind>
   2.548 +      <mousebind button="Left" action="Click">
   2.549 +        <action name="ToggleMaximizeFull"/>
   2.550 +      </mousebind>
   2.551 +      <mousebind button="Middle" action="Click">
   2.552 +        <action name="ToggleMaximizeVert"/>
   2.553 +      </mousebind>
   2.554 +      <mousebind button="Right" action="Click">
   2.555 +        <action name="ToggleMaximizeHorz"/>
   2.556 +      </mousebind>
   2.557 +    </context>
   2.558 +    <context name="Close">
   2.559 +      <mousebind button="Left" action="Press">
   2.560 +        <action name="Focus"/>
   2.561 +        <action name="Raise"/>
   2.562 +        <action name="Unshade"/>
   2.563 +      </mousebind>
   2.564 +      <mousebind button="Left" action="Click">
   2.565 +        <action name="Close"/>
   2.566 +      </mousebind>
   2.567 +    </context>
   2.568 +    <context name="Desktop">
   2.569 +      <mousebind button="Up" action="Click">
   2.570 +        <action name="DesktopPrevious"/>
   2.571 +      </mousebind>
   2.572 +      <mousebind button="Down" action="Click">
   2.573 +        <action name="DesktopNext"/>
   2.574 +      </mousebind>
   2.575 +      <mousebind button="A-Up" action="Click">
   2.576 +        <action name="DesktopPrevious"/>
   2.577 +      </mousebind>
   2.578 +      <mousebind button="A-Down" action="Click">
   2.579 +        <action name="DesktopNext"/>
   2.580 +      </mousebind>
   2.581 +      <mousebind button="C-A-Up" action="Click">
   2.582 +        <action name="DesktopPrevious"/>
   2.583 +      </mousebind>
   2.584 +      <mousebind button="C-A-Down" action="Click">
   2.585 +        <action name="DesktopNext"/>
   2.586 +      </mousebind>
   2.587 +      <mousebind button="Left" action="Press">
   2.588 +        <action name="Focus"/>
   2.589 +        <action name="Raise"/>
   2.590 +      </mousebind>
   2.591 +      <mousebind button="Right" action="Press">
   2.592 +        <action name="Focus"/>
   2.593 +        <action name="Raise"/>
   2.594 +      </mousebind>
   2.595 +    </context>
   2.596 +    <context name="Root">
   2.597 +      <!-- Menus -->
   2.598 +      <mousebind button="Middle" action="Press">
   2.599 +        <action name="ShowMenu">
   2.600 +          <menu>client-list-combined-menu</menu>
   2.601 +        </action>
   2.602 +      </mousebind>
   2.603 +      <mousebind button="Right" action="Press">
   2.604 +        <action name="ShowMenu">
   2.605 +          <menu>root-menu</menu>
   2.606 +        </action>
   2.607 +      </mousebind>
   2.608 +    </context>
   2.609 +    <context name="MoveResize">
   2.610 +      <mousebind button="Up" action="Click">
   2.611 +        <action name="DesktopPrevious"/>
   2.612 +      </mousebind>
   2.613 +      <mousebind button="Down" action="Click">
   2.614 +        <action name="DesktopNext"/>
   2.615 +      </mousebind>
   2.616 +      <mousebind button="A-Up" action="Click">
   2.617 +        <action name="DesktopPrevious"/>
   2.618 +      </mousebind>
   2.619 +      <mousebind button="A-Down" action="Click">
   2.620 +        <action name="DesktopNext"/>
   2.621 +      </mousebind>
   2.622 +    </context>
   2.623 +  </mouse>
   2.624 +  <menu>
   2.625 +    <!-- You can specify more than one menu file in here and they are all loaded,
   2.626 +       just don't make menu ids clash or, well, it'll be kind of pointless -->
   2.627 +    <!-- default menu file (or custom one in $HOME/.config/openbox/) -->
   2.628 +    <file>menu.xml</file>
   2.629 +    <hideDelay>200</hideDelay>
   2.630 +    <!-- if a press-release lasts longer than this setting (in milliseconds), the
   2.631 +       menu is hidden again -->
   2.632 +    <middle>no</middle>
   2.633 +    <!-- center submenus vertically about the parent entry -->
   2.634 +    <submenuShowDelay>100</submenuShowDelay>
   2.635 +    <!-- this one is easy, time to delay before showing a submenu after hovering
   2.636 +       over the parent entry -->
   2.637 +    <applicationIcons>yes</applicationIcons>
   2.638 +    <!-- controls if icons appear in the client-list-(combined-)menu -->
   2.639 +    <manageDesktops>yes</manageDesktops>
   2.640 +    <!-- show the manage desktops section in the client-list-(combined-)menu -->
   2.641 +  </menu>
   2.642 +  <applications>
   2.643 +    <application class="*">
   2.644 +      <maximized>yes</maximized>
   2.645 +      <decor>no</decor>
   2.646 +    </application>
   2.647 +    <!--
   2.648 +  # this is an example with comments through out. use these to make your
   2.649 +  # own rules, but without the comments of course.
   2.650 +
   2.651 +  <application name="first element of window's WM_CLASS property (see xprop)"
   2.652 +              class="second element of window's WM_CLASS property (see xprop)"
   2.653 +               role="the window's WM_WINDOW_ROLE property (see xprop)">
   2.654 +  # the name or the class can be set, or both. this is used to match
   2.655 +  # windows when they appear. role can optionally be set as well, to
   2.656 +  # further restrict your matches.
   2.657 +
   2.658 +  # the name, class, and role use simple wildcard matching such as those
   2.659 +  # used by a shell. you can use * to match any characters and ? to match
   2.660 +  # any single character.
   2.661 +
   2.662 +  # when multiple rules match a window, they will all be applied, in the
   2.663 +  # order that they appear in this list
   2.664 +
   2.665 +
   2.666 +    # each element can be left out or set to 'default' to specify to not 
   2.667 +    # change that attribute of the window
   2.668 +
   2.669 +    <decor>yes</decor>
   2.670 +    # enable or disable window decorations
   2.671 +
   2.672 +    <shade>no</shade>
   2.673 +    # make the window shaded when it appears, or not
   2.674 +
   2.675 +    <position>
   2.676 +      # the position is only used if both an x and y coordinate are provided
   2.677 +      # (and not set to 'default')
   2.678 +      <x>center</x>
   2.679 +      # a number like 50, or 'center' to center on screen. use a negative number
   2.680 +      # to start from the right (or bottom for <y>), ie -50 is 50 pixels from the
   2.681 +      # right edge (or bottom).
   2.682 +      <y>200</y>
   2.683 +      <monitor>1</monitor>
   2.684 +      # specifies the monitor in a xinerama setup.
   2.685 +      # 1 is the first head, or 'mouse' for wherever the mouse is
   2.686 +    </position>
   2.687 +
   2.688 +    <focus>yes</focus>
   2.689 +    # if the window should try be given focus when it appears. if this is set
   2.690 +    # to yes it doesn't guarantee the window will be given focus. some
   2.691 +    # restrictions may apply, but Openbox will try to
   2.692 +
   2.693 +    <desktop>1</desktop>
   2.694 +    # 1 is the first desktop, 'all' for all desktops
   2.695 +
   2.696 +    <layer>normal</layer>
   2.697 +    # 'above', 'normal', or 'below'
   2.698 +
   2.699 +    <iconic>no</iconic>
   2.700 +    # make the window iconified when it appears, or not
   2.701 +
   2.702 +    <skip_pager>no</skip_pager>
   2.703 +    # asks to not be shown in pagers
   2.704 +
   2.705 +    <skip_taskbar>no</skip_taskbar>
   2.706 +    # asks to not be shown in taskbars. window cycling actions will also
   2.707 +    # skip past such windows
   2.708 +
   2.709 +    <fullscreen>yes</fullscreen>
   2.710 +    # make the window in fullscreen mode when it appears
   2.711 +
   2.712 +    <maximized>true</maximized>
   2.713 +    # 'Horizontal', 'Vertical' or boolean (yes/no)
   2.714 +  </application>
   2.715 +
   2.716 +  # end of the example
   2.717 +-->
   2.718 +  </applications>
   2.719 +</openbox_config>