Attachment 'rc.xml'

Download

   1 <?xml version="1.0" encoding="UTF-8"?>
   2 <!-- Do not edit this file, it will be overwritten on install.
   3         Copy the file to $HOME/.config/openbox/ instead. -->
   4 <openbox_config xmlns="http://openbox.org/3.4/rc">
   5   <resistance>
   6     <strength>10</strength>
   7     <screen_edge_strength>20</screen_edge_strength>
   8   </resistance>
   9   <focus>
  10     <focusNew>yes</focusNew>
  11     <!-- always try to focus new windows when they appear. other rules do
  12        apply -->
  13     <followMouse>no</followMouse>
  14     <!-- move focus to a window when you move the mouse into it -->
  15     <focusLast>yes</focusLast>
  16     <!-- focus the last used window when changing desktops, instead of the one
  17        under the mouse pointer. when followMouse is enabled -->
  18     <underMouse>no</underMouse>
  19     <!-- move focus under the mouse, even when the mouse is not moving -->
  20     <focusDelay>200</focusDelay>
  21     <!-- when followMouse is enabled, the mouse must be inside the window for
  22        this many milliseconds (1000 = 1 sec) before moving focus to it -->
  23     <raiseOnFocus>no</raiseOnFocus>
  24     <!-- when followMouse is enabled, and a window is given focus by moving the
  25        mouse into it, also raise the window -->
  26   </focus>
  27   <placement>
  28     <policy>Smart</policy>
  29     <!-- 'Smart' or 'UnderMouse' -->
  30     <center>yes</center>
  31     <!-- whether to place windows in the center of the free area found or
  32        the top left corner -->
  33     <monitor>Any</monitor>
  34     <!-- with Smart placement on a multi-monitor system, try to place new windows
  35        on: 'Any' - any monitor, 'Mouse' - where the mouse is, 'Active' - where
  36        the active window is -->
  37   </placement>
  38   <theme>
  39     <name>Fearless</name>
  40     <titleLayout>NLIMC</titleLayout>
  41     <!--
  42       available characters are NDSLIMC, each can occur at most once.
  43       N: window icon
  44       L: window label (AKA title).
  45       I: iconify
  46       M: maximize
  47       C: close
  48       S: shade (roll up/down)
  49       D: omnipresent (on all desktops).
  50   -->
  51     <keepBorder>yes</keepBorder>
  52     <animateIconify>yes</animateIconify>
  53     <font place="ActiveWindow">
  54       <name>Aerial</name>
  55       <size>9</size>
  56       <!-- font size in points -->
  57       <weight>Normal</weight>
  58       <!-- 'bold' or 'normal' -->
  59       <slant>Normal</slant>
  60       <!-- 'italic' or 'normal' -->
  61     </font>
  62     <font place="InactiveWindow">
  63       <name>Visitor TT1 BRK</name>
  64       <size>9</size>
  65       <!-- font size in points -->
  66       <weight>Normal</weight>
  67       <!-- 'bold' or 'normal' -->
  68       <slant>Normal</slant>
  69       <!-- 'italic' or 'normal' -->
  70     </font>
  71     <font place="MenuHeader">
  72       <name>Zekton</name>
  73       <size>9</size>
  74       <!-- font size in points -->
  75       <weight>Bold</weight>
  76       <!-- 'bold' or 'normal' -->
  77       <slant>Normal</slant>
  78       <!-- 'italic' or 'normal' -->
  79     </font>
  80     <font place="MenuItem">
  81       <name>Zekton</name>
  82       <size>9</size>
  83       <!-- font size in points -->
  84       <weight>Normal</weight>
  85       <!-- 'bold' or 'normal' -->
  86       <slant>Normal</slant>
  87       <!-- 'italic' or 'normal' -->
  88     </font>
  89     <font place="OnScreenDisplay">
  90       <name>Zekton</name>
  91       <size>9</size>
  92       <!-- font size in points -->
  93       <weight>Bold</weight>
  94       <!-- 'bold' or 'normal' -->
  95       <slant>Normal</slant>
  96       <!-- 'italic' or 'normal' -->
  97     </font>
  98   </theme>
  99   <desktops>
 100     <!-- this stuff is only used at startup, pagers allow you to change them
 101        during a session
 102 
 103        these are default values to use when other ones are not already set
 104        by other applications, or saved in your session
 105 
 106        use obconf if you want to change these without having to log out
 107        and back in -->
 108     <number>6</number>
 109     <firstdesk>1</firstdesk>
 110     <names>
 111       <!-- set names up here if you want to, like this:
 112     <name>desktop 1</name>
 113     <name>desktop 2</name>
 114     -->
 115     </names>
 116     <popupTime>875</popupTime>
 117     <!-- The number of milliseconds to show the popup for when switching
 118        desktops.  Set this to 0 to disable the popup. -->
 119   </desktops>
 120   <resize>
 121     <drawContents>yes</drawContents>
 122     <popupShow>Always</popupShow>
 123     <!-- 'Always', 'Never', or 'Nonpixel' (xterms and such) -->
 124     <popupPosition>Center</popupPosition>
 125     <!-- 'Center', 'Top', or 'Fixed' -->
 126     <popupFixedPosition>
 127       <!-- these are used if popupPosition is set to 'Fixed' -->
 128       <x>10</x>
 129       <!-- positive number for distance from left edge, negative number for
 130          distance from right edge, or 'Center' -->
 131       <y>10</y>
 132       <!-- positive number for distance from top edge, negative number for
 133          distance from bottom edge, or 'Center' -->
 134     </popupFixedPosition>
 135   </resize>
 136   <!-- You can reserve a portion of your screen where windows will not cover when
 137      they are maximized, or when they are initially placed.
 138      Many programs reserve space automatically, but you can use this in other
 139      cases. -->
 140   <margins>
 141     <top>0</top>
 142     <bottom>1</bottom>
 143     <left>0</left>
 144     <right>0</right>
 145   </margins>
 146   <dock>
 147     <position>TopRight</position>
 148     <!-- (Top|Bottom)(Left|Right|)|Top|Bottom|Left|Right|Floating -->
 149     <floatingX>0</floatingX>
 150     <floatingY>0</floatingY>
 151     <noStrut>yes</noStrut>
 152     <stacking>Above</stacking>
 153     <!-- 'Above', 'Normal', or 'Below' -->
 154     <direction>Vertical</direction>
 155     <!-- 'Vertical' or 'Horizontal' -->
 156     <autoHide>no</autoHide>
 157     <hideDelay>300</hideDelay>
 158     <!-- in milliseconds (1000 = 1 second) -->
 159     <showDelay>300</showDelay>
 160     <!-- in milliseconds (1000 = 1 second) -->
 161     <moveButton>Middle</moveButton>
 162     <!-- 'Left', 'Middle', 'Right' -->
 163   </dock>
 164   <keyboard>
 165     <chainQuitKey>C-g</chainQuitKey>
 166     <!-- Keybindings for desktop switching -->
 167     <keybind key="C-A-Left">
 168       <action name="DesktopLeft">
 169         <dialog>no</dialog>
 170         <wrap>no</wrap>
 171       </action>
 172     </keybind>
 173     <keybind key="C-A-Right">
 174       <action name="DesktopRight">
 175         <dialog>no</dialog>
 176         <wrap>no</wrap>
 177       </action>
 178     </keybind>
 179     <keybind key="C-A-Up">
 180       <action name="DesktopUp">
 181         <dialog>no</dialog>
 182         <wrap>no</wrap>
 183       </action>
 184     </keybind>
 185     <keybind key="C-A-Down">
 186       <action name="DesktopDown">
 187         <dialog>no</dialog>
 188         <wrap>no</wrap>
 189       </action>
 190     </keybind>
 191     <keybind key="S-A-Left">
 192       <action name="SendToDesktopLeft">
 193         <dialog>no</dialog>
 194         <wrap>no</wrap>
 195       </action>
 196     </keybind>
 197     <keybind key="S-A-Right">
 198       <action name="SendToDesktopRight">
 199         <dialog>no</dialog>
 200         <wrap>no</wrap>
 201       </action>
 202     </keybind>
 203     <keybind key="S-A-Up">
 204       <action name="SendToDesktopUp">
 205         <dialog>no</dialog>
 206         <wrap>no</wrap>
 207       </action>
 208     </keybind>
 209     <keybind key="S-A-Down">
 210       <action name="SendToDesktopDown">
 211         <dialog>no</dialog>
 212         <wrap>no</wrap>
 213       </action>
 214     </keybind>
 215     <keybind key="W-F1">
 216       <action name="Desktop">
 217         <desktop>1</desktop>
 218       </action>
 219     </keybind>
 220     <keybind key="W-F2">
 221       <action name="Desktop">
 222         <desktop>2</desktop>
 223       </action>
 224     </keybind>
 225     <keybind key="W-F3">
 226       <action name="Desktop">
 227         <desktop>3</desktop>
 228       </action>
 229     </keybind>
 230     <keybind key="W-F4">
 231       <action name="Desktop">
 232         <desktop>4</desktop>
 233       </action>
 234     </keybind>
 235     <keybind key="W-d">
 236       <action name="ToggleShowDesktop"/>
 237     </keybind>
 238     <!-- Keybindings for windows -->
 239     <keybind key="A-F4">
 240       <action name="Close"/>
 241     </keybind>
 242     <keybind key="A-Escape">
 243       <action name="Lower"/>
 244       <action name="FocusToBottom"/>
 245       <action name="Unfocus"/>
 246     </keybind>
 247     <keybind key="A-space">
 248       <action name="ShowMenu">
 249         <menu>client-menu</menu>
 250       </action>
 251     </keybind>
 252     <keybind key="Print">
 253       <action name="Execute">
 254         <execute>scrot -d6</execute>
 255       </action>
 256     </keybind>
 257     <keybind key="A-Print">
 258       <action name="Execute">
 259         <execute>scrot -s</execute>
 260       </action>
 261     </keybind>
 262     <keybind key="Alt-F2">
 263       <action name="Execute">
 264         <name>gmrun</name>
 265         <command>gmrun</command>
 266       </action>
 267     </keybind>
 268     <!-- Keybindings for window switching -->
 269     <keybind key="A-Tab">
 270       <action name="NextWindow"/>
 271     </keybind>
 272     <keybind key="A-S-Tab">
 273       <action name="PreviousWindow"/>
 274     </keybind>
 275     <keybind key="C-A-Tab">
 276       <action name="NextWindow">
 277         <panels>yes</panels>
 278         <desktop>yes</desktop>
 279       </action>
 280     </keybind>
 281     <keybind key="W-F12">
 282       <action name="Execute">
 283         <name>veille</name>
 284         <command>xscreensaver-command -activate</command>
 285       </action>
 286     </keybind>
 287     <keybind key="W-x">
 288       <action name="Execute">
 289         <name>terminal</name>
 290         <command>urxvt</command>
 291       </action>
 292     </keybind>
 293     <keybind key="W-F8">
 294       <action name="Execute">
 295         <name>Monter le son</name>
 296         <command>amixer -q set Master 3+ unmute</command>
 297       </action>
 298     </keybind>
 299     <keybind key="W-F9">
 300       <action name="Execute">
 301         <name>Mute-Unmute</name>
 302         <command>amixer -q set Master toggle</command>
 303       </action>
 304     </keybind>
 305     <keybind key="W-F7">
 306       <action name="Execute">
 307         <name>Baisser le son</name>
 308         <command>amixer -q set Master 3- unmute</command>
 309       </action>
 310     </keybind>
 311     <keybind key="W-m">
 312       <action name="Execute">
 313         <name>thunderbird</name>
 314         <command>kmail</command>
 315       </action>
 316     </keybind>
 317     <keybind key="W-a">
 318       <action name="Execute">
 319         <name>liferea</name>
 320         <command>akregator</command>
 321       </action>
 322     </keybind>
 323     <keybind key="W-i">
 324       <action name="Execute">
 325         <name>empathy</name>
 326         <command>kopete</command>
 327       </action>
 328     </keybind>
 329     <keybind key="W-v">
 330       <action name="Execute">
 331         <name>vlc</name>
 332         <command>vlc</command>
 333       </action>
 334     </keybind>
 335     <keybind key="W-h">
 336       <action name="Execute">
 337         <name>nautilus</name>
 338         <command>dolphin</command>
 339       </action>
 340     </keybind>
 341     <keybind key="W-s">
 342       <action name="Execute">
 343         <name>sonata</name>
 344         <command>amarok</command>
 345       </action>
 346     </keybind>
 347     <keybind key="S-Left">
 348       <action name="Execute">
 349         <name>previous</name>
 350         <command>mpc prev</command>
 351       </action>
 352     </keybind>
 353     <keybind key="S-Right">
 354       <action name="Execute">
 355         <name>next</name>
 356         <command>mpc next</command>
 357       </action>
 358     </keybind>
 359     <keybind key="S-Down">
 360       <action name="Execute">
 361         <name>exaile toggle</name>
 362         <command>mpc toggle</command>
 363       </action>
 364     </keybind>
 365     <keybind key="W-t">
 366       <action name="Execute">
 367         <name>transmission</name>
 368         <command>ktorrent</command>
 369       </action>
 370     </keybind>
 371     <keybind key="W-k">
 372       <action name="Execute">
 373         <name>konqueror</name>
 374         <command>konqueror</command>
 375       </action>
 376     </keybind>
 377     <keybind key="W-f">
 378       <action name="Execute">
 379         <name>firefox</name>
 380         <command>iceweasel</command>
 381       </action>
 382     </keybind>
 383     <keybind key="W-S-h">
 384       <action name="MoveRelative">
 385         <x>-20</x>
 386       </action>
 387     </keybind>
 388     <keybind key="W-S-l">
 389       <action name="MoveRelative">
 390         <x>20</x>
 391       </action>
 392     </keybind>
 393     <keybind key="W-S-k">
 394       <action name="MoveRelative">
 395         <y>20</y>
 396       </action>
 397     </keybind>
 398     <keybind key="W-S-j">
 399       <action name="MoveRelative">
 400         <y>-20</y>
 401       </action>
 402     </keybind>
 403     <keybind key="W-S-i">
 404       <action name="Iconify"/>
 405     </keybind>
 406     <keybind key="W-S-d">
 407       <action name="ToggleDecorations"/>
 408     </keybind>
 409     <keybind key="W-A-KP_4">
 410       <action name="ResizeRelative">
 411         <right>-20</right>
 412       </action>
 413     </keybind>
 414     <keybind key="W-A-KP_6">
 415       <action name="ResizeRelative">
 416         <left>-20</left>
 417       </action>
 418     </keybind>
 419     <keybind key="W-A-KP_2">
 420       <action name="ResizeRelative">
 421         <top>-20</top>
 422       </action>
 423     </keybind>
 424     <keybind key="W-A-KP_8">
 425       <action name="ResizeRelative">
 426         <bottom>-20</bottom>
 427       </action>
 428     </keybind>
 429     <keybind key="W-S-KP_8">
 430       <action name="ResizeRelative">
 431         <top>20</top>
 432       </action>
 433     </keybind>
 434     <keybind key="W-S-KP_2">
 435       <action name="ResizeRelative">
 436         <bottom>20</bottom>
 437       </action>
 438     </keybind>
 439     <keybind key="W-S-KP_4">
 440       <action name="ResizeRelative">
 441         <left>20</left>
 442       </action>
 443     </keybind>
 444     <keybind key="W-S-KP_6">
 445       <action name="ResizeRelative">
 446         <right>20</right>
 447       </action>
 448     </keybind>
 449     <keybind key="W-S-o">
 450       <action name="SendToTopLayer"/>
 451     </keybind>
 452     <keybind key="W-Right">
 453       <action name="GrowToEdgeEast"/>
 454     </keybind>
 455     <keybind key="W-Left">
 456       <action name="GrowToEdgeWest"/>
 457     </keybind>
 458     <keybind key="W-Down">
 459       <action name="GrowToEdgeSouth"/>
 460     </keybind>
 461     <keybind key="W-Up">
 462       <action name="GrowToEdgeNorth"/>
 463     </keybind>
 464     <keybind key="W-S-f">
 465       <action name="ToggleFullscreen"/>
 466     </keybind>
 467     <keybind key="W-S-m">
 468       <action name="ToggleMaximizeFull"/>
 469     </keybind>
 470     <keybind key="W-S-F1">
 471       <action name="SendToDesktop">
 472         <desktop>1</desktop>
 473         <follow>no</follow>
 474       </action>
 475     </keybind>
 476     <keybind key="W-S-F2">
 477       <action name="SendToDesktop">
 478         <desktop>2</desktop>
 479         <follow>no</follow>
 480       </action>
 481     </keybind>
 482     <keybind key="W-S-F3">
 483       <action name="SendToDesktop">
 484         <desktop>3</desktop>
 485         <follow>no</follow>
 486       </action>
 487     </keybind>
 488     <keybind key="W-S-F4">
 489       <action name="SendToDesktop">
 490         <desktop>4</desktop>
 491         <follow>no</follow>
 492       </action>
 493     </keybind>
 494     <keybind key="W-S-F5">
 495       <action name="SendToDesktop">
 496         <desktop>5</desktop>
 497         <follow>no</follow>
 498       </action>
 499     </keybind>
 500     <keybind key="W-S-F6">
 501       <action name="SendToDesktop">
 502         <desktop>6</desktop>
 503         <follow>no</follow>
 504       </action>
 505     </keybind>
 506     <!-- Keybindings for running applications -->
 507   </keyboard>
 508   <mouse>
 509     <dragThreshold>8</dragThreshold>
 510     <!-- number of pixels the mouse must move before a drag begins -->
 511     <doubleClickTime>200</doubleClickTime>
 512     <!-- in milliseconds (1000 = 1 second) -->
 513     <screenEdgeWarpTime>400</screenEdgeWarpTime>
 514     <!-- Time before changing desktops when the pointer touches the edge of the
 515        screen while moving a window, in milliseconds (1000 = 1 second).
 516        Set this to 0 to disable warping -->
 517     <context name="Frame">
 518       <mousebind button="A-Left" action="Press">
 519         <action name="Focus"/>
 520         <action name="Raise"/>
 521       </mousebind>
 522       <mousebind button="A-Left" action="Click">
 523         <action name="Unshade"/>
 524       </mousebind>
 525       <mousebind button="A-Left" action="Drag">
 526         <action name="Move"/>
 527       </mousebind>
 528       <mousebind button="A-Right" action="Press">
 529         <action name="Focus"/>
 530         <action name="Raise"/>
 531         <action name="Unshade"/>
 532       </mousebind>
 533       <mousebind button="A-Right" action="Drag">
 534         <action name="Resize"/>
 535       </mousebind>
 536       <mousebind button="A-Middle" action="Press">
 537         <action name="Lower"/>
 538         <action name="FocusToBottom"/>
 539         <action name="Unfocus"/>
 540       </mousebind>
 541       <mousebind button="A-Up" action="Click">
 542         <action name="DesktopPrevious"/>
 543       </mousebind>
 544       <mousebind button="A-Down" action="Click">
 545         <action name="DesktopNext"/>
 546       </mousebind>
 547       <mousebind button="C-A-Up" action="Click">
 548         <action name="DesktopPrevious"/>
 549       </mousebind>
 550       <mousebind button="C-A-Down" action="Click">
 551         <action name="DesktopNext"/>
 552       </mousebind>
 553       <mousebind button="A-S-Up" action="Click">
 554         <action name="SendToDesktopPrevious"/>
 555       </mousebind>
 556       <mousebind button="A-S-Down" action="Click">
 557         <action name="SendToDesktopNext"/>
 558       </mousebind>
 559     </context>
 560     <context name="Titlebar">
 561       <mousebind button="Left" action="Press">
 562         <action name="Focus"/>
 563         <action name="Raise"/>
 564       </mousebind>
 565       <mousebind button="Left" action="Drag">
 566         <action name="Move"/>
 567       </mousebind>
 568       <mousebind button="Left" action="DoubleClick">
 569         <action name="ToggleMaximizeFull"/>
 570       </mousebind>
 571       <mousebind button="Middle" action="Press">
 572         <action name="Lower"/>
 573         <action name="FocusToBottom"/>
 574         <action name="Unfocus"/>
 575       </mousebind>
 576       <mousebind button="Up" action="Click">
 577         <action name="Shade"/>
 578         <action name="FocusToBottom"/>
 579         <action name="Unfocus"/>
 580         <action name="Lower"/>
 581       </mousebind>
 582       <mousebind button="Down" action="Click">
 583         <action name="Unshade"/>
 584         <action name="Raise"/>
 585       </mousebind>
 586       <mousebind button="Right" action="Press">
 587         <action name="Focus"/>
 588         <action name="Raise"/>
 589         <action name="ShowMenu">
 590           <menu>client-menu</menu>
 591         </action>
 592       </mousebind>
 593     </context>
 594     <context name="Top">
 595       <mousebind button="Left" action="Press">
 596         <action name="Focus"/>
 597         <action name="Raise"/>
 598         <action name="Unshade"/>
 599       </mousebind>
 600       <mousebind button="Left" action="Drag">
 601         <action name="Resize">
 602           <edge>top</edge>
 603         </action>
 604       </mousebind>
 605     </context>
 606     <context name="Left">
 607       <mousebind button="Left" action="Press">
 608         <action name="Focus"/>
 609         <action name="Raise"/>
 610       </mousebind>
 611       <mousebind button="Left" action="Drag">
 612         <action name="Resize">
 613           <edge>left</edge>
 614         </action>
 615       </mousebind>
 616     </context>
 617     <context name="Right">
 618       <mousebind button="Left" action="Press">
 619         <action name="Focus"/>
 620         <action name="Raise"/>
 621       </mousebind>
 622       <mousebind button="Left" action="Drag">
 623         <action name="Resize">
 624           <edge>right</edge>
 625         </action>
 626       </mousebind>
 627     </context>
 628     <context name="Bottom">
 629       <mousebind button="Left" action="Press">
 630         <action name="Focus"/>
 631         <action name="Raise"/>
 632       </mousebind>
 633       <mousebind button="Left" action="Drag">
 634         <action name="Resize">
 635           <edge>bottom</edge>
 636         </action>
 637       </mousebind>
 638       <mousebind button="Middle" action="Press">
 639         <action name="Lower"/>
 640         <action name="FocusToBottom"/>
 641         <action name="Unfocus"/>
 642       </mousebind>
 643       <mousebind button="Right" action="Press">
 644         <action name="Focus"/>
 645         <action name="Raise"/>
 646         <action name="ShowMenu">
 647           <menu>client-menu</menu>
 648         </action>
 649       </mousebind>
 650     </context>
 651     <context name="BLCorner">
 652       <mousebind button="Left" action="Press">
 653         <action name="Focus"/>
 654         <action name="Raise"/>
 655       </mousebind>
 656       <mousebind button="Left" action="Drag">
 657         <action name="Resize"/>
 658       </mousebind>
 659     </context>
 660     <context name="BRCorner">
 661       <mousebind button="Left" action="Press">
 662         <action name="Focus"/>
 663         <action name="Raise"/>
 664       </mousebind>
 665       <mousebind button="Left" action="Drag">
 666         <action name="Resize"/>
 667       </mousebind>
 668     </context>
 669     <context name="TLCorner">
 670       <mousebind button="Left" action="Press">
 671         <action name="Focus"/>
 672         <action name="Raise"/>
 673         <action name="Unshade"/>
 674       </mousebind>
 675       <mousebind button="Left" action="Drag">
 676         <action name="Resize"/>
 677       </mousebind>
 678     </context>
 679     <context name="TRCorner">
 680       <mousebind button="Left" action="Press">
 681         <action name="Focus"/>
 682         <action name="Raise"/>
 683         <action name="Unshade"/>
 684       </mousebind>
 685       <mousebind button="Left" action="Drag">
 686         <action name="Resize"/>
 687       </mousebind>
 688     </context>
 689     <context name="Client">
 690       <mousebind button="Left" action="Press">
 691         <action name="Focus"/>
 692         <action name="Raise"/>
 693       </mousebind>
 694       <mousebind button="Middle" action="Press">
 695         <action name="Focus"/>
 696         <action name="Raise"/>
 697       </mousebind>
 698       <mousebind button="Right" action="Press">
 699         <action name="Focus"/>
 700         <action name="Raise"/>
 701       </mousebind>
 702     </context>
 703     <context name="Icon">
 704       <mousebind button="Left" action="Press">
 705         <action name="Focus"/>
 706         <action name="Raise"/>
 707         <action name="Unshade"/>
 708         <action name="ShowMenu">
 709           <menu>client-menu</menu>
 710         </action>
 711       </mousebind>
 712       <mousebind button="Right" action="Press">
 713         <action name="Focus"/>
 714         <action name="Raise"/>
 715         <action name="ShowMenu">
 716           <menu>client-menu</menu>
 717         </action>
 718       </mousebind>
 719     </context>
 720     <context name="AllDesktops">
 721       <mousebind button="Left" action="Press">
 722         <action name="Focus"/>
 723         <action name="Raise"/>
 724         <action name="Unshade"/>
 725       </mousebind>
 726       <mousebind button="Left" action="Click">
 727         <action name="ToggleOmnipresent"/>
 728       </mousebind>
 729     </context>
 730     <context name="Shade">
 731       <mousebind button="Left" action="Press">
 732         <action name="Focus"/>
 733         <action name="Raise"/>
 734       </mousebind>
 735       <mousebind button="Left" action="Click">
 736         <action name="ToggleShade"/>
 737       </mousebind>
 738     </context>
 739     <context name="Iconify">
 740       <mousebind button="Left" action="Press">
 741         <action name="Focus"/>
 742         <action name="Raise"/>
 743       </mousebind>
 744       <mousebind button="Left" action="Click">
 745         <action name="Iconify"/>
 746       </mousebind>
 747     </context>
 748     <context name="Maximize">
 749       <mousebind button="Left" action="Press">
 750         <action name="Focus"/>
 751         <action name="Raise"/>
 752         <action name="Unshade"/>
 753       </mousebind>
 754       <mousebind button="Middle" action="Press">
 755         <action name="Focus"/>
 756         <action name="Raise"/>
 757         <action name="Unshade"/>
 758       </mousebind>
 759       <mousebind button="Right" action="Press">
 760         <action name="Focus"/>
 761         <action name="Raise"/>
 762         <action name="Unshade"/>
 763       </mousebind>
 764       <mousebind button="Left" action="Click">
 765         <action name="ToggleMaximizeFull"/>
 766       </mousebind>
 767       <mousebind button="Middle" action="Click">
 768         <action name="ToggleMaximizeVert"/>
 769       </mousebind>
 770       <mousebind button="Right" action="Click">
 771         <action name="ToggleMaximizeHorz"/>
 772       </mousebind>
 773     </context>
 774     <context name="Close">
 775       <mousebind button="Left" action="Press">
 776         <action name="Focus"/>
 777         <action name="Raise"/>
 778         <action name="Unshade"/>
 779       </mousebind>
 780       <mousebind button="Left" action="Click">
 781         <action name="Close"/>
 782       </mousebind>
 783     </context>
 784     <context name="Desktop">
 785       <mousebind button="Up" action="Click">
 786         <action name="DesktopPrevious"/>
 787       </mousebind>
 788       <mousebind button="Down" action="Click">
 789         <action name="DesktopNext"/>
 790       </mousebind>
 791       <mousebind button="A-Up" action="Click">
 792         <action name="DesktopPrevious"/>
 793       </mousebind>
 794       <mousebind button="A-Down" action="Click">
 795         <action name="DesktopNext"/>
 796       </mousebind>
 797       <mousebind button="C-A-Up" action="Click">
 798         <action name="DesktopPrevious"/>
 799       </mousebind>
 800       <mousebind button="C-A-Down" action="Click">
 801         <action name="DesktopNext"/>
 802       </mousebind>
 803       <mousebind button="Left" action="Press">
 804         <action name="Focus"/>
 805         <action name="Raise"/>
 806       </mousebind>
 807       <mousebind button="Right" action="Press">
 808         <action name="Focus"/>
 809         <action name="Raise"/>
 810       </mousebind>
 811     </context>
 812     <context name="Root">
 813       <!-- Menus -->
 814       <mousebind button="Middle" action="Press">
 815         <action name="ShowMenu">
 816           <menu>client-list-combined-menu</menu>
 817         </action>
 818       </mousebind>
 819       <mousebind button="Right" action="Press">
 820         <action name="ShowMenu">
 821           <menu>root-menu</menu>
 822         </action>
 823       </mousebind>
 824     </context>
 825     <context name="MoveResize">
 826       <mousebind button="Up" action="Click">
 827         <action name="DesktopPrevious"/>
 828       </mousebind>
 829       <mousebind button="Down" action="Click">
 830         <action name="DesktopNext"/>
 831       </mousebind>
 832       <mousebind button="A-Up" action="Click">
 833         <action name="DesktopPrevious"/>
 834       </mousebind>
 835       <mousebind button="A-Down" action="Click">
 836         <action name="DesktopNext"/>
 837       </mousebind>
 838     </context>
 839   </mouse>
 840   <menu>
 841     <!-- You can specify more than one menu file in here and they are all loaded,
 842        just don't make menu ids clash or, well, it'll be kind of pointless -->
 843     <!-- default menu file (or custom one in $HOME/.config/openbox/) -->
 844     <!-- system menu files on Debian systems -->
 845     <file>/var/lib/openbox/debian-menu.xml</file>
 846     <file>debian-menu.xml</file>
 847     <file>menu.xml</file>
 848     <hideDelay>200</hideDelay>
 849     <!-- if a press-release lasts longer than this setting (in milliseconds), the
 850        menu is hidden again -->
 851     <middle>no</middle>
 852     <!-- center submenus vertically about the parent entry -->
 853     <submenuShowDelay>100</submenuShowDelay>
 854     <!-- this one is easy, time to delay before showing a submenu after hovering
 855        over the parent entry -->
 856     <applicationIcons>yes</applicationIcons>
 857     <!-- controls if icons appear in the client-list-(combined-)menu -->
 858     <manageDesktops>yes</manageDesktops>
 859     <!-- show the manage desktops section in the client-list-(combined-)menu -->
 860   </menu>
 861   <applications>
 862     <application name="stalonetray">
 863       <decor>no</decor>
 864       <desktop>all</desktop>
 865       <layer>above</layer>
 866       <skip_pager>yes</skip_pager>
 867       <skip_taskbar>yes</skip_taskbar>
 868     </application>
 869     <application name="MPlayer">
 870       <decor>no</decor>
 871       <desktop>all</desktop>
 872       <layer>normal</layer>
 873       <skip_pager>no</skip_pager>
 874       <skip_taskbar>no</skip_taskbar>
 875     </application>
 876     <application name="gmplayer">
 877       <decor>no</decor>
 878       <desktop>all</desktop>
 879       <layer>normal</layer>
 880       <skip_pager>no</skip_pager>
 881       <skip_taskbar>no</skip_taskbar>
 882     </application>
 883     <!--
 884   # this is an example with comments through out. use these to make your
 885   # own rules, but without the comments of course.
 886 
 887   <application name="first element of window's WM_CLASS property (see xprop)"
 888               class="second element of window's WM_CLASS property (see xprop)"
 889                role="the window's WM_WINDOW_ROLE property (see xprop)"
 890                type="the window's _NET_WM_WINDOW_TYPE (if unspecified, then
 891                        it is dialog for child windows)">
 892   # the name or the class can be set, or both. this is used to match
 893   # windows when they appear. role can optionally be set as well, to
 894   # further restrict your matches.
 895 
 896   # the name, class, and role use simple wildcard matching such as those
 897   # used by a shell. you can use * to match any characters and ? to match
 898   # any single character.
 899 
 900   # the type is one of: normal, dialog, splash, utility, menu, toolbar, dock,
 901   #    or desktop
 902 
 903   # when multiple rules match a window, they will all be applied, in the
 904   # order that they appear in this list
 905 
 906 
 907     # each element can be left out or set to 'default' to specify to not 
 908     # change that attribute of the window
 909 
 910     <decor>yes</decor>
 911     # enable or disable window decorations
 912 
 913     <shade>no</shade>
 914     # make the window shaded when it appears, or not
 915 
 916     <position force="no">
 917       # the position is only used if both an x and y coordinate are provided
 918       # (and not set to 'default')
 919       # when force is "yes", then the window will be placed here even if it
 920       # says you want it placed elsewhere.  this is to override buggy
 921       # applications who refuse to behave
 922       <x>center</x>
 923       # a number like 50, or 'center' to center on screen. use a negative number
 924       # to start from the right (or bottom for <y>), ie -50 is 50 pixels from the
 925       # right edge (or bottom).
 926       <y>200</y>
 927       <monitor>1</monitor>
 928       # specifies the monitor in a xinerama setup.
 929       # 1 is the first head, or 'mouse' for wherever the mouse is
 930     </position>
 931 
 932     <focus>yes</focus>
 933     # if the window should try be given focus when it appears. if this is set
 934     # to yes it doesn't guarantee the window will be given focus. some
 935     # restrictions may apply, but Openbox will try to
 936 
 937     <desktop>1</desktop>
 938     # 1 is the first desktop, 'all' for all desktops
 939 
 940     <layer>normal</layer>
 941     # 'above', 'normal', or 'below'
 942 
 943     <iconic>no</iconic>
 944     # make the window iconified when it appears, or not
 945 
 946     <skip_pager>no</skip_pager>
 947     # asks to not be shown in pagers
 948 
 949     <skip_taskbar>no</skip_taskbar>
 950     # asks to not be shown in taskbars. window cycling actions will also
 951     # skip past such windows
 952 
 953     <fullscreen>yes</fullscreen>
 954     # make the window in fullscreen mode when it appears
 955 
 956     <maximized>true</maximized>
 957     # 'Horizontal', 'Vertical' or boolean (yes/no)
 958   </application>
 959 
 960   # end of the example
 961 -->
 962   </applications>
 963 </openbox_config>

Attached Files

To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.
  • [get | view] (2009-05-15 07:14:01, 663.4 KB) [[attachment:azel-openbox.png]]
  • [get | view] (2009-05-15 07:26:01, 28.9 KB) [[attachment:rc.xml]]
 All files | Selected Files: delete move to page copy to page

You are not allowed to attach a file to this page.