sts diff openbox/rc.xml @ rev 13
Put all config we can in $HOME/.config/sts, have an icon to show/hide a virtual keyboard
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Apr 28 00:06:11 2014 +0200 (2014-04-28) |
parents | openbox/sts-rc.xml@15b70f6a6049 |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/openbox/rc.xml Mon Apr 28 00:06:11 2014 +0200 1.3 @@ -0,0 +1,716 @@ 1.4 +<?xml version="1.0" encoding="UTF-8"?> 1.5 +<!-- Do not edit this file, it will be overwritten on install. 1.6 + Copy the file to $HOME/.config/openbox/ instead. --> 1.7 +<openbox_config xmlns="http://openbox.org/3.4/rc"> 1.8 + <resistance> 1.9 + <strength>10</strength> 1.10 + <screen_edge_strength>20</screen_edge_strength> 1.11 + </resistance> 1.12 + <focus> 1.13 + <focusNew>yes</focusNew> 1.14 + <!-- always try to focus new windows when they appear. other rules do 1.15 + apply --> 1.16 + <followMouse>no</followMouse> 1.17 + <!-- move focus to a window when you move the mouse into it --> 1.18 + <focusLast>yes</focusLast> 1.19 + <!-- focus the last used window when changing desktops, instead of the one 1.20 + under the mouse pointer. when followMouse is enabled --> 1.21 + <underMouse>no</underMouse> 1.22 + <!-- move focus under the mouse, even when the mouse is not moving --> 1.23 + <focusDelay>200</focusDelay> 1.24 + <!-- when followMouse is enabled, the mouse must be inside the window for 1.25 + this many milliseconds (1000 = 1 sec) before moving focus to it --> 1.26 + <raiseOnFocus>no</raiseOnFocus> 1.27 + <!-- when followMouse is enabled, and a window is given focus by moving the 1.28 + mouse into it, also raise the window --> 1.29 + </focus> 1.30 + <placement> 1.31 + <policy>Smart</policy> 1.32 + <!-- 'Smart' or 'UnderMouse' --> 1.33 + <center>yes</center> 1.34 + <!-- whether to place windows in the center of the free area found or 1.35 + the top left corner --> 1.36 + <monitor>Any</monitor> 1.37 + <!-- with Smart placement on a multi-monitor system, try to place new windows 1.38 + on: 'Any' - any monitor, 'Mouse' - where the mouse is, 'Active' - where 1.39 + the active window is --> 1.40 + <primaryMonitor/> 1.41 + </placement> 1.42 + <theme> 1.43 + <name>SliTaz</name> 1.44 + <titleLayout>NLIMC</titleLayout> 1.45 + <!-- 1.46 + available characters are NDSLIMC, each can occur at most once. 1.47 + N: window icon 1.48 + L: window label (AKA title). 1.49 + I: iconify 1.50 + M: maximize 1.51 + C: close 1.52 + S: shade (roll up/down) 1.53 + D: omnipresent (on all desktops). 1.54 + --> 1.55 + <keepBorder>yes</keepBorder> 1.56 + <animateIconify>yes</animateIconify> 1.57 + <font place="ActiveWindow"> 1.58 + <name>Sans</name> 1.59 + <size>8</size> 1.60 + <!-- font size in points --> 1.61 + <weight>Bold</weight> 1.62 + <!-- 'bold' or 'normal' --> 1.63 + <slant>Normal</slant> 1.64 + <!-- 'italic' or 'normal' --> 1.65 + </font> 1.66 + <font place="InactiveWindow"> 1.67 + <name>Sans</name> 1.68 + <size>8</size> 1.69 + <!-- font size in points --> 1.70 + <weight>Bold</weight> 1.71 + <!-- 'bold' or 'normal' --> 1.72 + <slant>Normal</slant> 1.73 + <!-- 'italic' or 'normal' --> 1.74 + </font> 1.75 + <font place="MenuHeader"> 1.76 + <name>Sans</name> 1.77 + <size>10</size> 1.78 + <!-- font size in points --> 1.79 + <weight>Normal</weight> 1.80 + <!-- 'bold' or 'normal' --> 1.81 + <slant>Normal</slant> 1.82 + <!-- 'italic' or 'normal' --> 1.83 + </font> 1.84 + <font place="MenuItem"> 1.85 + <name>Sans</name> 1.86 + <size>11</size> 1.87 + <!-- font size in points --> 1.88 + <weight>Normal</weight> 1.89 + <!-- 'bold' or 'normal' --> 1.90 + <slant>Normal</slant> 1.91 + <!-- 'italic' or 'normal' --> 1.92 + </font> 1.93 + <font place="OnScreenDisplay"> 1.94 + <name>sans</name> 1.95 + <size>14</size> 1.96 + <!-- font size in points --> 1.97 + <weight>bold</weight> 1.98 + <!-- 'bold' or 'normal' --> 1.99 + <slant>normal</slant> 1.100 + <!-- 'italic' or 'normal' --> 1.101 + </font> 1.102 + <font place="ActiveOnScreenDisplay"> 1.103 + <name>Sans</name> 1.104 + <size>16</size> 1.105 + <weight>Normal</weight> 1.106 + <slant>Normal</slant> 1.107 + </font> 1.108 + <font place="InactiveOnScreenDisplay"> 1.109 + <name>Sans</name> 1.110 + <size>8</size> 1.111 + <weight/> 1.112 + <slant/> 1.113 + </font> 1.114 + </theme> 1.115 + <desktops> 1.116 + <!-- this stuff is only used at startup, pagers allow you to change them 1.117 + during a session 1.118 + 1.119 + these are default values to use when other ones are not already set 1.120 + by other applications, or saved in your session 1.121 + 1.122 + use obconf if you want to change these without having to log out 1.123 + and back in --> 1.124 + <number>2</number> 1.125 + <firstdesk>1</firstdesk> 1.126 + <names> 1.127 + <!-- set names up here if you want to, like this: 1.128 + <name>desktop 1</name> 1.129 + <name>desktop 2</name> 1.130 + --> 1.131 + </names> 1.132 + <popupTime>875</popupTime> 1.133 + <!-- The number of milliseconds to show the popup for when switching 1.134 + desktops. Set this to 0 to disable the popup. --> 1.135 + </desktops> 1.136 + <resize> 1.137 + <drawContents>yes</drawContents> 1.138 + <popupShow>Nonpixel</popupShow> 1.139 + <!-- 'Always', 'Never', or 'Nonpixel' (xterms and such) --> 1.140 + <popupPosition>Center</popupPosition> 1.141 + <!-- 'Center', 'Top', or 'Fixed' --> 1.142 + <popupFixedPosition> 1.143 + <!-- these are used if popupPosition is set to 'Fixed' --> 1.144 + <x>10</x> 1.145 + <!-- positive number for distance from left edge, negative number for 1.146 + distance from right edge, or 'Center' --> 1.147 + <y>10</y> 1.148 + <!-- positive number for distance from top edge, negative number for 1.149 + distance from bottom edge, or 'Center' --> 1.150 + </popupFixedPosition> 1.151 + </resize> 1.152 + <!-- You can reserve a portion of your screen where windows will not cover when 1.153 + they are maximized, or when they are initially placed. 1.154 + Many programs reserve space automatically, but you can use this in other 1.155 + cases. --> 1.156 + <margins> 1.157 + <top>0</top> 1.158 + <bottom>0</bottom> 1.159 + <left>0</left> 1.160 + <right>0</right> 1.161 + </margins> 1.162 + <dock> 1.163 + <position>TopLeft</position> 1.164 + <!-- (Top|Bottom)(Left|Right|)|Top|Bottom|Left|Right|Floating --> 1.165 + <floatingX>0</floatingX> 1.166 + <floatingY>0</floatingY> 1.167 + <noStrut>no</noStrut> 1.168 + <stacking>Above</stacking> 1.169 + <!-- 'Above', 'Normal', or 'Below' --> 1.170 + <direction>Vertical</direction> 1.171 + <!-- 'Vertical' or 'Horizontal' --> 1.172 + <autoHide>no</autoHide> 1.173 + <hideDelay>300</hideDelay> 1.174 + <!-- in milliseconds (1000 = 1 second) --> 1.175 + <showDelay>300</showDelay> 1.176 + <!-- in milliseconds (1000 = 1 second) --> 1.177 + <moveButton>Middle</moveButton> 1.178 + <!-- 'Left', 'Middle', 'Right' --> 1.179 + </dock> 1.180 + <keyboard> 1.181 + <chainQuitKey>C-g</chainQuitKey> 1.182 + <!-- Keybindings for desktop switching --> 1.183 + <keybind key="C-A-Left"> 1.184 + <action name="DesktopLeft"> 1.185 + <dialog>no</dialog> 1.186 + <wrap>no</wrap> 1.187 + </action> 1.188 + </keybind> 1.189 + <keybind key="C-A-Right"> 1.190 + <action name="DesktopRight"> 1.191 + <dialog>no</dialog> 1.192 + <wrap>no</wrap> 1.193 + </action> 1.194 + </keybind> 1.195 + <keybind key="C-A-Up"> 1.196 + <action name="DesktopUp"> 1.197 + <dialog>no</dialog> 1.198 + <wrap>no</wrap> 1.199 + </action> 1.200 + </keybind> 1.201 + <keybind key="C-A-Down"> 1.202 + <action name="DesktopDown"> 1.203 + <dialog>no</dialog> 1.204 + <wrap>no</wrap> 1.205 + </action> 1.206 + </keybind> 1.207 + <keybind key="S-A-Left"> 1.208 + <action name="SendToDesktopLeft"> 1.209 + <dialog>no</dialog> 1.210 + <wrap>no</wrap> 1.211 + </action> 1.212 + </keybind> 1.213 + <keybind key="S-A-Right"> 1.214 + <action name="SendToDesktopRight"> 1.215 + <dialog>no</dialog> 1.216 + <wrap>no</wrap> 1.217 + </action> 1.218 + </keybind> 1.219 + <keybind key="S-A-Up"> 1.220 + <action name="SendToDesktopUp"> 1.221 + <dialog>no</dialog> 1.222 + <wrap>no</wrap> 1.223 + </action> 1.224 + </keybind> 1.225 + <keybind key="S-A-Down"> 1.226 + <action name="SendToDesktopDown"> 1.227 + <dialog>no</dialog> 1.228 + <wrap>no</wrap> 1.229 + </action> 1.230 + </keybind> 1.231 + <keybind key="W-F1"> 1.232 + <action name="Desktop"> 1.233 + <desktop>1</desktop> 1.234 + </action> 1.235 + </keybind> 1.236 + <keybind key="W-F2"> 1.237 + <action name="Desktop"> 1.238 + <desktop>2</desktop> 1.239 + </action> 1.240 + </keybind> 1.241 + <keybind key="W-F3"> 1.242 + <action name="Desktop"> 1.243 + <desktop>3</desktop> 1.244 + </action> 1.245 + </keybind> 1.246 + <keybind key="W-F4"> 1.247 + <action name="Desktop"> 1.248 + <desktop>4</desktop> 1.249 + </action> 1.250 + </keybind> 1.251 + <keybind key="W-d"> 1.252 + <action name="ToggleShowDesktop"/> 1.253 + </keybind> 1.254 + <!-- Keybindings for windows --> 1.255 + <keybind key="A-F4"> 1.256 + <action name="Close"/> 1.257 + </keybind> 1.258 + <keybind key="A-Escape"> 1.259 + <action name="Lower"/> 1.260 + <action name="FocusToBottom"/> 1.261 + <action name="Unfocus"/> 1.262 + </keybind> 1.263 + <keybind key="A-space"> 1.264 + <action name="ShowMenu"> 1.265 + <menu>client-menu</menu> 1.266 + </action> 1.267 + </keybind> 1.268 + <!-- Keybindings for window switching --> 1.269 + <keybind key="A-Tab"> 1.270 + <action name="NextWindow"/> 1.271 + </keybind> 1.272 + <keybind key="A-S-Tab"> 1.273 + <action name="PreviousWindow"/> 1.274 + </keybind> 1.275 + <keybind key="C-A-Tab"> 1.276 + <action name="NextWindow"> 1.277 + <panels>yes</panels> 1.278 + <desktop>yes</desktop> 1.279 + </action> 1.280 + </keybind> 1.281 + <!-- Keybindings for running applications --> 1.282 + <keybind key="W-e"> 1.283 + <action name="Execute"> 1.284 + <startupnotify> 1.285 + <enabled>true</enabled> 1.286 + <name>App Launcher</name> 1.287 + </startupnotify> 1.288 + <command>lxpanelctl run</command> 1.289 + </action> 1.290 + </keybind> 1.291 + </keyboard> 1.292 + <mouse> 1.293 + <dragThreshold>8</dragThreshold> 1.294 + <!-- number of pixels the mouse must move before a drag begins --> 1.295 + <doubleClickTime>200</doubleClickTime> 1.296 + <!-- in milliseconds (1000 = 1 second) --> 1.297 + <screenEdgeWarpTime>400</screenEdgeWarpTime> 1.298 + <!-- Time before changing desktops when the pointer touches the edge of the 1.299 + screen while moving a window, in milliseconds (1000 = 1 second). 1.300 + Set this to 0 to disable warping --> 1.301 + <context name="Frame"> 1.302 + <mousebind button="A-Left" action="Press"> 1.303 + <action name="Focus"/> 1.304 + <action name="Raise"/> 1.305 + </mousebind> 1.306 + <mousebind button="A-Left" action="Click"> 1.307 + <action name="Unshade"/> 1.308 + </mousebind> 1.309 + <mousebind button="A-Left" action="Drag"> 1.310 + <action name="Move"/> 1.311 + </mousebind> 1.312 + <mousebind button="A-Right" action="Press"> 1.313 + <action name="Focus"/> 1.314 + <action name="Raise"/> 1.315 + <action name="Unshade"/> 1.316 + </mousebind> 1.317 + <mousebind button="A-Right" action="Drag"> 1.318 + <action name="Resize"/> 1.319 + </mousebind> 1.320 + <mousebind button="A-Middle" action="Press"> 1.321 + <action name="Lower"/> 1.322 + <action name="FocusToBottom"/> 1.323 + <action name="Unfocus"/> 1.324 + </mousebind> 1.325 + <mousebind button="A-Up" action="Click"> 1.326 + <action name="DesktopPrevious"/> 1.327 + </mousebind> 1.328 + <mousebind button="A-Down" action="Click"> 1.329 + <action name="DesktopNext"/> 1.330 + </mousebind> 1.331 + <mousebind button="C-A-Up" action="Click"> 1.332 + <action name="DesktopPrevious"/> 1.333 + </mousebind> 1.334 + <mousebind button="C-A-Down" action="Click"> 1.335 + <action name="DesktopNext"/> 1.336 + </mousebind> 1.337 + <mousebind button="A-S-Up" action="Click"> 1.338 + <action name="SendToDesktopPrevious"/> 1.339 + </mousebind> 1.340 + <mousebind button="A-S-Down" action="Click"> 1.341 + <action name="SendToDesktopNext"/> 1.342 + </mousebind> 1.343 + </context> 1.344 + <context name="Titlebar"> 1.345 + <mousebind button="Left" action="Press"> 1.346 + <action name="Focus"/> 1.347 + <action name="Raise"/> 1.348 + </mousebind> 1.349 + <mousebind button="Left" action="Drag"> 1.350 + <action name="Move"/> 1.351 + </mousebind> 1.352 + <mousebind button="Left" action="DoubleClick"> 1.353 + <action name="ToggleMaximizeFull"/> 1.354 + </mousebind> 1.355 + <mousebind button="Middle" action="Press"> 1.356 + <action name="Lower"/> 1.357 + <action name="FocusToBottom"/> 1.358 + <action name="Unfocus"/> 1.359 + </mousebind> 1.360 + <mousebind button="Up" action="Click"> 1.361 + <action name="Shade"/> 1.362 + <action name="FocusToBottom"/> 1.363 + <action name="Unfocus"/> 1.364 + <action name="Lower"/> 1.365 + </mousebind> 1.366 + <mousebind button="Down" action="Click"> 1.367 + <action name="Unshade"/> 1.368 + <action name="Raise"/> 1.369 + </mousebind> 1.370 + <mousebind button="Right" action="Press"> 1.371 + <action name="Focus"/> 1.372 + <action name="Raise"/> 1.373 + <action name="ShowMenu"> 1.374 + <menu>client-menu</menu> 1.375 + </action> 1.376 + </mousebind> 1.377 + </context> 1.378 + <context name="Top"> 1.379 + <mousebind button="Left" action="Press"> 1.380 + <action name="Focus"/> 1.381 + <action name="Raise"/> 1.382 + <action name="Unshade"/> 1.383 + </mousebind> 1.384 + <mousebind button="Left" action="Drag"> 1.385 + <action name="Resize"> 1.386 + <edge>top</edge> 1.387 + </action> 1.388 + </mousebind> 1.389 + </context> 1.390 + <context name="Left"> 1.391 + <mousebind button="Left" action="Press"> 1.392 + <action name="Focus"/> 1.393 + <action name="Raise"/> 1.394 + </mousebind> 1.395 + <mousebind button="Left" action="Drag"> 1.396 + <action name="Resize"> 1.397 + <edge>left</edge> 1.398 + </action> 1.399 + </mousebind> 1.400 + </context> 1.401 + <context name="Right"> 1.402 + <mousebind button="Left" action="Press"> 1.403 + <action name="Focus"/> 1.404 + <action name="Raise"/> 1.405 + </mousebind> 1.406 + <mousebind button="Left" action="Drag"> 1.407 + <action name="Resize"> 1.408 + <edge>right</edge> 1.409 + </action> 1.410 + </mousebind> 1.411 + </context> 1.412 + <context name="Bottom"> 1.413 + <mousebind button="Left" action="Press"> 1.414 + <action name="Focus"/> 1.415 + <action name="Raise"/> 1.416 + </mousebind> 1.417 + <mousebind button="Left" action="Drag"> 1.418 + <action name="Resize"> 1.419 + <edge>bottom</edge> 1.420 + </action> 1.421 + </mousebind> 1.422 + <mousebind button="Middle" action="Press"> 1.423 + <action name="Lower"/> 1.424 + <action name="FocusToBottom"/> 1.425 + <action name="Unfocus"/> 1.426 + </mousebind> 1.427 + <mousebind button="Right" action="Press"> 1.428 + <action name="Focus"/> 1.429 + <action name="Raise"/> 1.430 + <action name="ShowMenu"> 1.431 + <menu>client-menu</menu> 1.432 + </action> 1.433 + </mousebind> 1.434 + </context> 1.435 + <context name="BLCorner"> 1.436 + <mousebind button="Left" action="Press"> 1.437 + <action name="Focus"/> 1.438 + <action name="Raise"/> 1.439 + </mousebind> 1.440 + <mousebind button="Left" action="Drag"> 1.441 + <action name="Resize"/> 1.442 + </mousebind> 1.443 + </context> 1.444 + <context name="BRCorner"> 1.445 + <mousebind button="Left" action="Press"> 1.446 + <action name="Focus"/> 1.447 + <action name="Raise"/> 1.448 + </mousebind> 1.449 + <mousebind button="Left" action="Drag"> 1.450 + <action name="Resize"/> 1.451 + </mousebind> 1.452 + </context> 1.453 + <context name="TLCorner"> 1.454 + <mousebind button="Left" action="Press"> 1.455 + <action name="Focus"/> 1.456 + <action name="Raise"/> 1.457 + <action name="Unshade"/> 1.458 + </mousebind> 1.459 + <mousebind button="Left" action="Drag"> 1.460 + <action name="Resize"/> 1.461 + </mousebind> 1.462 + </context> 1.463 + <context name="TRCorner"> 1.464 + <mousebind button="Left" action="Press"> 1.465 + <action name="Focus"/> 1.466 + <action name="Raise"/> 1.467 + <action name="Unshade"/> 1.468 + </mousebind> 1.469 + <mousebind button="Left" action="Drag"> 1.470 + <action name="Resize"/> 1.471 + </mousebind> 1.472 + </context> 1.473 + <context name="Client"> 1.474 + <mousebind button="Left" action="Press"> 1.475 + <action name="Focus"/> 1.476 + <action name="Raise"/> 1.477 + </mousebind> 1.478 + <mousebind button="Middle" action="Press"> 1.479 + <action name="Focus"/> 1.480 + <action name="Raise"/> 1.481 + </mousebind> 1.482 + <mousebind button="Right" action="Press"> 1.483 + <action name="Focus"/> 1.484 + <action name="Raise"/> 1.485 + </mousebind> 1.486 + </context> 1.487 + <context name="Icon"> 1.488 + <mousebind button="Left" action="Press"> 1.489 + <action name="Focus"/> 1.490 + <action name="Raise"/> 1.491 + <action name="Unshade"/> 1.492 + <action name="ShowMenu"> 1.493 + <menu>client-menu</menu> 1.494 + </action> 1.495 + </mousebind> 1.496 + <mousebind button="Right" action="Press"> 1.497 + <action name="Focus"/> 1.498 + <action name="Raise"/> 1.499 + <action name="ShowMenu"> 1.500 + <menu>client-menu</menu> 1.501 + </action> 1.502 + </mousebind> 1.503 + </context> 1.504 + <context name="AllDesktops"> 1.505 + <mousebind button="Left" action="Press"> 1.506 + <action name="Focus"/> 1.507 + <action name="Raise"/> 1.508 + <action name="Unshade"/> 1.509 + </mousebind> 1.510 + <mousebind button="Left" action="Click"> 1.511 + <action name="ToggleOmnipresent"/> 1.512 + </mousebind> 1.513 + </context> 1.514 + <context name="Shade"> 1.515 + <mousebind button="Left" action="Press"> 1.516 + <action name="Focus"/> 1.517 + <action name="Raise"/> 1.518 + </mousebind> 1.519 + <mousebind button="Left" action="Click"> 1.520 + <action name="ToggleShade"/> 1.521 + </mousebind> 1.522 + </context> 1.523 + <context name="Iconify"> 1.524 + <mousebind button="Left" action="Press"> 1.525 + <action name="Focus"/> 1.526 + <action name="Raise"/> 1.527 + </mousebind> 1.528 + <mousebind button="Left" action="Click"> 1.529 + <action name="Iconify"/> 1.530 + </mousebind> 1.531 + </context> 1.532 + <context name="Maximize"> 1.533 + <mousebind button="Left" action="Press"> 1.534 + <action name="Focus"/> 1.535 + <action name="Raise"/> 1.536 + <action name="Unshade"/> 1.537 + </mousebind> 1.538 + <mousebind button="Middle" action="Press"> 1.539 + <action name="Focus"/> 1.540 + <action name="Raise"/> 1.541 + <action name="Unshade"/> 1.542 + </mousebind> 1.543 + <mousebind button="Right" action="Press"> 1.544 + <action name="Focus"/> 1.545 + <action name="Raise"/> 1.546 + <action name="Unshade"/> 1.547 + </mousebind> 1.548 + <mousebind button="Left" action="Click"> 1.549 + <action name="ToggleMaximizeFull"/> 1.550 + </mousebind> 1.551 + <mousebind button="Middle" action="Click"> 1.552 + <action name="ToggleMaximizeVert"/> 1.553 + </mousebind> 1.554 + <mousebind button="Right" action="Click"> 1.555 + <action name="ToggleMaximizeHorz"/> 1.556 + </mousebind> 1.557 + </context> 1.558 + <context name="Close"> 1.559 + <mousebind button="Left" action="Press"> 1.560 + <action name="Focus"/> 1.561 + <action name="Raise"/> 1.562 + <action name="Unshade"/> 1.563 + </mousebind> 1.564 + <mousebind button="Left" action="Click"> 1.565 + <action name="Close"/> 1.566 + </mousebind> 1.567 + </context> 1.568 + <context name="Desktop"> 1.569 + <mousebind button="Up" action="Click"> 1.570 + <action name="DesktopPrevious"/> 1.571 + </mousebind> 1.572 + <mousebind button="Down" action="Click"> 1.573 + <action name="DesktopNext"/> 1.574 + </mousebind> 1.575 + <mousebind button="A-Up" action="Click"> 1.576 + <action name="DesktopPrevious"/> 1.577 + </mousebind> 1.578 + <mousebind button="A-Down" action="Click"> 1.579 + <action name="DesktopNext"/> 1.580 + </mousebind> 1.581 + <mousebind button="C-A-Up" action="Click"> 1.582 + <action name="DesktopPrevious"/> 1.583 + </mousebind> 1.584 + <mousebind button="C-A-Down" action="Click"> 1.585 + <action name="DesktopNext"/> 1.586 + </mousebind> 1.587 + <mousebind button="Left" action="Press"> 1.588 + <action name="Focus"/> 1.589 + <action name="Raise"/> 1.590 + </mousebind> 1.591 + <mousebind button="Right" action="Press"> 1.592 + <action name="Focus"/> 1.593 + <action name="Raise"/> 1.594 + </mousebind> 1.595 + </context> 1.596 + <context name="Root"> 1.597 + <!-- Menus --> 1.598 + <mousebind button="Middle" action="Press"> 1.599 + <action name="ShowMenu"> 1.600 + <menu>client-list-combined-menu</menu> 1.601 + </action> 1.602 + </mousebind> 1.603 + <mousebind button="Right" action="Press"> 1.604 + <action name="ShowMenu"> 1.605 + <menu>root-menu</menu> 1.606 + </action> 1.607 + </mousebind> 1.608 + </context> 1.609 + <context name="MoveResize"> 1.610 + <mousebind button="Up" action="Click"> 1.611 + <action name="DesktopPrevious"/> 1.612 + </mousebind> 1.613 + <mousebind button="Down" action="Click"> 1.614 + <action name="DesktopNext"/> 1.615 + </mousebind> 1.616 + <mousebind button="A-Up" action="Click"> 1.617 + <action name="DesktopPrevious"/> 1.618 + </mousebind> 1.619 + <mousebind button="A-Down" action="Click"> 1.620 + <action name="DesktopNext"/> 1.621 + </mousebind> 1.622 + </context> 1.623 + </mouse> 1.624 + <menu> 1.625 + <!-- You can specify more than one menu file in here and they are all loaded, 1.626 + just don't make menu ids clash or, well, it'll be kind of pointless --> 1.627 + <!-- default menu file (or custom one in $HOME/.config/openbox/) --> 1.628 + <file>menu.xml</file> 1.629 + <hideDelay>200</hideDelay> 1.630 + <!-- if a press-release lasts longer than this setting (in milliseconds), the 1.631 + menu is hidden again --> 1.632 + <middle>no</middle> 1.633 + <!-- center submenus vertically about the parent entry --> 1.634 + <submenuShowDelay>100</submenuShowDelay> 1.635 + <!-- this one is easy, time to delay before showing a submenu after hovering 1.636 + over the parent entry --> 1.637 + <applicationIcons>yes</applicationIcons> 1.638 + <!-- controls if icons appear in the client-list-(combined-)menu --> 1.639 + <manageDesktops>yes</manageDesktops> 1.640 + <!-- show the manage desktops section in the client-list-(combined-)menu --> 1.641 + </menu> 1.642 + <applications> 1.643 + <application class="*"> 1.644 + <maximized>yes</maximized> 1.645 + <decor>no</decor> 1.646 + </application> 1.647 + <!-- 1.648 + # this is an example with comments through out. use these to make your 1.649 + # own rules, but without the comments of course. 1.650 + 1.651 + <application name="first element of window's WM_CLASS property (see xprop)" 1.652 + class="second element of window's WM_CLASS property (see xprop)" 1.653 + role="the window's WM_WINDOW_ROLE property (see xprop)"> 1.654 + # the name or the class can be set, or both. this is used to match 1.655 + # windows when they appear. role can optionally be set as well, to 1.656 + # further restrict your matches. 1.657 + 1.658 + # the name, class, and role use simple wildcard matching such as those 1.659 + # used by a shell. you can use * to match any characters and ? to match 1.660 + # any single character. 1.661 + 1.662 + # when multiple rules match a window, they will all be applied, in the 1.663 + # order that they appear in this list 1.664 + 1.665 + 1.666 + # each element can be left out or set to 'default' to specify to not 1.667 + # change that attribute of the window 1.668 + 1.669 + <decor>yes</decor> 1.670 + # enable or disable window decorations 1.671 + 1.672 + <shade>no</shade> 1.673 + # make the window shaded when it appears, or not 1.674 + 1.675 + <position> 1.676 + # the position is only used if both an x and y coordinate are provided 1.677 + # (and not set to 'default') 1.678 + <x>center</x> 1.679 + # a number like 50, or 'center' to center on screen. use a negative number 1.680 + # to start from the right (or bottom for <y>), ie -50 is 50 pixels from the 1.681 + # right edge (or bottom). 1.682 + <y>200</y> 1.683 + <monitor>1</monitor> 1.684 + # specifies the monitor in a xinerama setup. 1.685 + # 1 is the first head, or 'mouse' for wherever the mouse is 1.686 + </position> 1.687 + 1.688 + <focus>yes</focus> 1.689 + # if the window should try be given focus when it appears. if this is set 1.690 + # to yes it doesn't guarantee the window will be given focus. some 1.691 + # restrictions may apply, but Openbox will try to 1.692 + 1.693 + <desktop>1</desktop> 1.694 + # 1 is the first desktop, 'all' for all desktops 1.695 + 1.696 + <layer>normal</layer> 1.697 + # 'above', 'normal', or 'below' 1.698 + 1.699 + <iconic>no</iconic> 1.700 + # make the window iconified when it appears, or not 1.701 + 1.702 + <skip_pager>no</skip_pager> 1.703 + # asks to not be shown in pagers 1.704 + 1.705 + <skip_taskbar>no</skip_taskbar> 1.706 + # asks to not be shown in taskbars. window cycling actions will also 1.707 + # skip past such windows 1.708 + 1.709 + <fullscreen>yes</fullscreen> 1.710 + # make the window in fullscreen mode when it appears 1.711 + 1.712 + <maximized>true</maximized> 1.713 + # 'Horizontal', 'Vertical' or boolean (yes/no) 1.714 + </application> 1.715 + 1.716 + # end of the example 1.717 +--> 1.718 + </applications> 1.719 +</openbox_config>