From The Compiler, 6 Years ago, written in XML.
Embed
  1. <?xml version="1.0" encoding="UTF-8"?>
  2.  
  3. <!-- Do not edit this file, it will be overwritten on install.
  4.        Copy the file to $HOME/.config/openbox/ instead. -->
  5.  
  6. <openbox_config xmlns="http://openbox.org/3.4/rc">
  7.  
  8. <resistance>
  9.   <strength>10</strength>
  10.   <screen_edge_strength>20</screen_edge_strength>
  11. </resistance>
  12.  
  13. <focus>
  14.   <focusNew>yes</focusNew>
  15.   <!-- always try to focus new windows when they appear. other rules do
  16.       apply -->
  17.   <followMouse>no</followMouse>
  18.   <!-- move focus to a window when you move the mouse into it -->
  19.   <focusLast>yes</focusLast>
  20.   <!-- focus the last used window when changing desktops, instead of the one
  21.       under the mouse pointer. when followMouse is enabled -->
  22.   <underMouse>no</underMouse>
  23.   <!-- move focus under the mouse, even when the mouse is not moving -->
  24.   <focusDelay>200</focusDelay>
  25.   <!-- when followMouse is enabled, the mouse must be inside the window for
  26.       this many milliseconds (1000 = 1 sec) before moving focus to it -->
  27.   <raiseOnFocus>no</raiseOnFocus>
  28.   <!-- when followMouse is enabled, and a window is given focus by moving the
  29.       mouse into it, also raise the window -->
  30. </focus>
  31.  
  32. <placement>
  33.   <policy>Smart</policy>
  34.   <!-- 'Smart' or 'UnderMouse' -->
  35.   <center>yes</center>
  36.   <!-- whether to place windows in the center of the free area found or
  37.       the top left corner -->
  38.   <monitor>Any</monitor>
  39.   <!-- with Smart placement on a multi-monitor system, try to place new windows
  40.       on: 'Any' - any monitor, 'Mouse' - where the mouse is, 'Active' - where
  41.       the active window is -->
  42. </placement>
  43.  
  44. <theme>
  45.   <name>Onyx</name>
  46.   <titleLayout>NLIMC</titleLayout>
  47.   <!--
  48.      available characters are NDSLIMC, each can occur at most once.
  49.      N: window icon
  50.      L: window label (AKA title).
  51.      I: iconify
  52.      M: maximize
  53.      C: close
  54.      S: shade (roll up/down)
  55.      D: omnipresent (on all desktops).
  56.  -->
  57.   <keepBorder>yes</keepBorder>
  58.   <animateIconify>yes</animateIconify>
  59.   <font place="ActiveWindow">
  60.     <name>sans</name>
  61.     <size>10</size>
  62.     <!-- font size in points -->
  63.     <weight>bold</weight>
  64.     <!-- 'bold' or 'normal' -->
  65.     <slant>normal</slant>
  66.     <!-- 'italic' or 'normal' -->
  67.   </font>
  68.   <font place="InactiveWindow">
  69.     <name>sans</name>
  70.     <size>10</size>
  71.     <!-- font size in points -->
  72.     <weight>bold</weight>
  73.     <!-- 'bold' or 'normal' -->
  74.     <slant>normal</slant>
  75.     <!-- 'italic' or 'normal' -->
  76.   </font>
  77.   <font place="MenuHeader">
  78.     <name>sans</name>
  79.     <size>10</size>
  80.     <!-- font size in points -->
  81.     <weight>normal</weight>
  82.     <!-- 'bold' or 'normal' -->
  83.     <slant>normal</slant>
  84.     <!-- 'italic' or 'normal' -->
  85.   </font>
  86.   <font place="MenuItem">
  87.     <name>sans</name>
  88.     <size>10</size>
  89.     <!-- font size in points -->
  90.     <weight>normal</weight>
  91.     <!-- 'bold' or 'normal' -->
  92.     <slant>normal</slant>
  93.     <!-- 'italic' or 'normal' -->
  94.   </font>
  95.   <font place="OnScreenDisplay">
  96.     <name>sans</name>
  97.     <size>10</size>
  98.     <!-- font size in points -->
  99.     <weight>bold</weight>
  100.     <!-- 'bold' or 'normal' -->
  101.     <slant>normal</slant>
  102.     <!-- 'italic' or 'normal' -->
  103.   </font>
  104. </theme>
  105.  
  106. <desktops>
  107.   <!-- this stuff is only used at startup, pagers allow you to change them
  108.       during a session
  109.  
  110.       these are default values to use when other ones are not already set
  111.       by other applications, or saved in your session
  112.  
  113.       use obconf if you want to change these without having to log out
  114.       and back in -->
  115.   <number>2</number>
  116.   <firstdesk>1</firstdesk>
  117.   <names>
  118.     <!-- set names up here if you want to, like this:
  119.    <name>desktop 1</name>
  120.    <name>desktop 2</name>
  121.    -->
  122.   </names>
  123.   <popupTime>875</popupTime>
  124.   <!-- The number of milliseconds to show the popup for when switching
  125.       desktops.  Set this to 0 to disable the popup. -->
  126. </desktops>
  127.  
  128. <resize>
  129.   <drawContents>yes</drawContents>
  130.   <popupShow>Nonpixel</popupShow>
  131.   <!-- 'Always', 'Never', or 'Nonpixel' (xterms and such) -->
  132.   <popupPosition>Center</popupPosition>
  133.   <!-- 'Center', 'Top', or 'Fixed' -->
  134.   <popupFixedPosition>
  135.     <!-- these are used if popupPosition is set to 'Fixed' -->
  136.  
  137.     <x>10</x>
  138.     <!-- positive number for distance from left edge, negative number for
  139.         distance from right edge, or 'Center' -->
  140.     <y>10</y>
  141.     <!-- positive number for distance from top edge, negative number for
  142.         distance from bottom edge, or 'Center' -->
  143.   </popupFixedPosition>
  144. </resize>
  145.  
  146. <!-- You can reserve a portion of your screen where windows will not cover when
  147.     they are maximized, or when they are initially placed.
  148.     Many programs reserve space automatically, but you can use this in other
  149.     cases. -->
  150. <margins>
  151.   <top>0</top>
  152.   <bottom>0</bottom>
  153.   <left>0</left>
  154.   <right>0</right>
  155. </margins>
  156.  
  157. <dock>
  158.   <position>TopLeft</position>
  159.   <!-- (Top|Bottom)(Left|Right|)|Top|Bottom|Left|Right|Floating -->
  160.   <floatingX>0</floatingX>
  161.   <floatingY>0</floatingY>
  162.   <noStrut>no</noStrut>
  163.   <stacking>Above</stacking>
  164.   <!-- 'Above', 'Normal', or 'Below' -->
  165.   <direction>Vertical</direction>
  166.   <!-- 'Vertical' or 'Horizontal' -->
  167.   <autoHide>no</autoHide>
  168.   <hideDelay>300</hideDelay>
  169.   <!-- in milliseconds (1000 = 1 second) -->
  170.   <showDelay>300</showDelay>
  171.   <!-- in milliseconds (1000 = 1 second) -->
  172.   <moveButton>Middle</moveButton>
  173.   <!-- 'Left', 'Middle', 'Right' -->
  174. </dock>
  175.  
  176. <keyboard>
  177.   <chainQuitKey>C-g</chainQuitKey>
  178.  
  179.   <!-- Keybindings for desktop switching -->
  180.   <keybind key="C-A-Left">
  181.     <action name="DesktopLeft"><dialog>no</dialog><wrap>no</wrap></action>
  182.   </keybind>
  183.   <keybind key="C-A-Right">
  184.     <action name="DesktopRight"><dialog>no</dialog><wrap>no</wrap></action>
  185.   </keybind>
  186.   <keybind key="C-A-Up">
  187.     <action name="DesktopUp"><dialog>no</dialog><wrap>no</wrap></action>
  188.   </keybind>
  189.   <keybind key="C-A-Down">
  190.     <action name="DesktopDown"><dialog>no</dialog><wrap>no</wrap></action>
  191.   </keybind>
  192.   <keybind key="S-A-Left">
  193.     <action name="SendToDesktopLeft"><dialog>no</dialog><wrap>no</wrap></action>
  194.   </keybind>
  195.   <keybind key="S-A-Right">
  196.     <action name="SendToDesktopRight"><dialog>no</dialog><wrap>no</wrap></action>
  197.   </keybind>
  198.   <keybind key="S-A-Up">
  199.     <action name="SendToDesktopUp"><dialog>no</dialog><wrap>no</wrap></action>
  200.   </keybind>
  201.   <keybind key="S-A-Down">
  202.     <action name="SendToDesktopDown"><dialog>no</dialog><wrap>no</wrap></action>
  203.   </keybind>
  204.   <keybind key="W-F1">
  205.     <action name="Desktop"><desktop>1</desktop></action>
  206.   </keybind>
  207.   <keybind key="W-F2">
  208.     <action name="Desktop"><desktop>2</desktop></action>
  209.   </keybind>
  210.   <keybind key="W-F3">
  211.     <action name="Desktop"><desktop>3</desktop></action>
  212.   </keybind>
  213.   <keybind key="W-F4">
  214.     <action name="Desktop"><desktop>4</desktop></action>
  215.   </keybind>
  216.   <keybind key="W-d">
  217.     <action name="ToggleShowDesktop"/>
  218.   </keybind>
  219.  
  220.   <keybind key="C-A-d">
  221.     <action name="ToggleShowDesktop"/>
  222.   </keybind>
  223.  
  224.   <!-- Keybindings for windows -->
  225.   <keybind key="A-F4">
  226.     <action name="Close"/>
  227.   </keybind>
  228.   <keybind key="A-Escape">
  229.     <action name="Lower"/>
  230.     <action name="FocusToBottom"/>
  231.     <action name="Unfocus"/>
  232.   </keybind>
  233.   <keybind key="A-space">
  234.     <action name="ShowMenu"><menu>client-menu</menu></action>
  235.   </keybind>
  236.  
  237.   <!-- Keybindings for window switching -->
  238.   <keybind key="A-Tab">
  239.     <action name="NextWindow"/>
  240.   </keybind>
  241.   <keybind key="A-S-Tab">
  242.     <action name="PreviousWindow"/>
  243.   </keybind>
  244.   <keybind key="C-A-Tab">
  245.     <action name="NextWindow">
  246.       <panels>yes</panels><desktop>yes</desktop>
  247.     </action>
  248.   </keybind>
  249.  
  250.   <!-- Keybindings for running applications -->
  251.   <keybind key="W-e">
  252.     <action name="Execute">
  253.       <startupnotify>
  254.         <enabled>true</enabled>
  255.         <name>PCManFM</name>
  256.       </startupnotify>
  257.       <command>pcmanfm</command>
  258.     </action>
  259.   </keybind>
  260.  
  261.   <!--keybindings for LXPanel -->
  262.   <keybind key="W-r">
  263.       <action name="Execute">
  264.         <command>lxpanelctl run</command>
  265.       </action>
  266.   </keybind>
  267.  
  268.   <keybind key="A-F2">
  269.       <action name="Execute">
  270.           <command>lxpanelctl run</command>
  271.       </action>
  272.   </keybind>
  273.  
  274.   <keybind key="C-Escape">
  275.       <action name="Execute">
  276.           <command>lxpanelctl menu</command>
  277.       </action>
  278.   </keybind>
  279.  
  280.   <keybind key="F11">
  281.      <action name="ToggleFullscreen"/>
  282.   </keybind>
  283.  
  284.   <!-- Launch Task Manager with Ctrl+Alt+Del -->
  285.   <keybind key="A-C-Delete">
  286.       <action name="Execute">
  287.           <command>lxtask</command>
  288.       </action>
  289.   </keybind>
  290.  
  291. </keyboard>
  292.  
  293.  
  294. <mouse>
  295.   <dragThreshold>8</dragThreshold>
  296.   <!-- number of pixels the mouse must move before a drag begins -->
  297.   <doubleClickTime>200</doubleClickTime>
  298.   <!-- in milliseconds (1000 = 1 second) -->
  299.   <screenEdgeWarpTime>400</screenEdgeWarpTime>
  300.   <!-- Time before changing desktops when the pointer touches the edge of the
  301.       screen while moving a window, in milliseconds (1000 = 1 second).
  302.       Set this to 0 to disable warping -->
  303.  
  304.   <context name="Frame">
  305.     <mousebind button="A-Left" action="Press">
  306.       <action name="Focus"/>
  307.       <action name="Raise"/>
  308.     </mousebind>
  309.     <mousebind button="A-Left" action="Click">
  310.       <action name="Unshade"/>
  311.     </mousebind>
  312.     <mousebind button="A-Left" action="Drag">
  313.       <action name="Move"/>
  314.     </mousebind>
  315.  
  316.     <mousebind button="A-Right" action="Press">
  317.       <action name="Focus"/>
  318.       <action name="Raise"/>
  319.       <action name="Unshade"/>
  320.     </mousebind>
  321.     <mousebind button="A-Right" action="Drag">
  322.       <action name="Resize"/>
  323.     </mousebind>
  324.  
  325.     <mousebind button="A-Middle" action="Press">
  326.       <action name="Lower"/>
  327.       <action name="FocusToBottom"/>
  328.       <action name="Unfocus"/>
  329.     </mousebind>
  330.  
  331.     <mousebind button="A-Up" action="Click">
  332.       <action name="DesktopPrevious"/>
  333.     </mousebind>
  334.     <mousebind button="A-Down" action="Click">
  335.       <action name="DesktopNext"/>
  336.     </mousebind>
  337.     <mousebind button="C-A-Up" action="Click">
  338.       <action name="DesktopPrevious"/>
  339.     </mousebind>
  340.     <mousebind button="C-A-Down" action="Click">
  341.       <action name="DesktopNext"/>
  342.     </mousebind>
  343.     <mousebind button="A-S-Up" action="Click">
  344.       <action name="SendToDesktopPrevious"/>
  345.     </mousebind>
  346.     <mousebind button="A-S-Down" action="Click">
  347.       <action name="SendToDesktopNext"/>
  348.     </mousebind>
  349.   </context>
  350.  
  351.   <context name="Titlebar">
  352.     <mousebind button="Left" action="Press">
  353.       <action name="Focus"/>
  354.       <action name="Raise"/>
  355.     </mousebind>
  356.     <mousebind button="Left" action="Drag">
  357.       <action name="Move"/>
  358.     </mousebind>
  359.     <mousebind button="Left" action="DoubleClick">
  360.       <action name="ToggleMaximizeFull"/>
  361.     </mousebind>
  362.  
  363.     <mousebind button="Middle" action="Press">
  364.       <action name="Lower"/>
  365.       <action name="FocusToBottom"/>
  366.       <action name="Unfocus"/>
  367.     </mousebind>
  368.  
  369.     <mousebind button="Up" action="Click">
  370.       <action name="Shade"/>
  371.       <action name="FocusToBottom"/>
  372.       <action name="Unfocus"/>
  373.       <action name="Lower"/>
  374.     </mousebind>
  375.     <mousebind button="Down" action="Click">
  376.       <action name="Unshade"/>
  377.       <action name="Raise"/>
  378.     </mousebind>
  379.  
  380.     <mousebind button="Right" action="Press">
  381.       <action name="Focus"/>
  382.       <action name="Raise"/>
  383.       <action name="ShowMenu"><menu>client-menu</menu></action>
  384.     </mousebind>
  385.   </context>
  386.  
  387.   <context name="Top">
  388.     <mousebind button="Left" action="Press">
  389.       <action name="Focus"/>
  390.       <action name="Raise"/>
  391.       <action name="Unshade"/>
  392.     </mousebind>
  393.     <mousebind button="Left" action="Drag">
  394.       <action name="Resize"><edge>top</edge></action>
  395.     </mousebind>
  396.   </context>
  397.  
  398.   <context name="Left">
  399.     <mousebind button="Left" action="Press">
  400.       <action name="Focus"/>
  401.       <action name="Raise"/>
  402.     </mousebind>
  403.     <mousebind button="Left" action="Drag">
  404.       <action name="Resize"><edge>left</edge></action>
  405.     </mousebind>
  406.   </context>
  407.  
  408.   <context name="Right">
  409.     <mousebind button="Left" action="Press">
  410.       <action name="Focus"/>
  411.       <action name="Raise"/>
  412.     </mousebind>
  413.     <mousebind button="Left" action="Drag">
  414.       <action name="Resize"><edge>right</edge></action>
  415.     </mousebind>
  416.   </context>
  417.  
  418.   <context name="Bottom">
  419.     <mousebind button="Left" action="Press">
  420.       <action name="Focus"/>
  421.       <action name="Raise"/>
  422.     </mousebind>
  423.     <mousebind button="Left" action="Drag">
  424.       <action name="Resize"><edge>bottom</edge></action>
  425.     </mousebind>
  426.  
  427.     <mousebind button="Middle" action="Press">
  428.       <action name="Lower"/>
  429.       <action name="FocusToBottom"/>
  430.       <action name="Unfocus"/>
  431.     </mousebind>
  432.  
  433.     <mousebind button="Right" action="Press">
  434.       <action name="Focus"/>
  435.       <action name="Raise"/>
  436.       <action name="ShowMenu"><menu>client-menu</menu></action>
  437.     </mousebind>
  438.   </context>
  439.  
  440.   <context name="BLCorner">
  441.     <mousebind button="Left" action="Press">
  442.       <action name="Focus"/>
  443.       <action name="Raise"/>
  444.     </mousebind>
  445.     <mousebind button="Left" action="Drag">
  446.       <action name="Resize"/>
  447.     </mousebind>
  448.   </context>
  449.  
  450.   <context name="BRCorner">
  451.     <mousebind button="Left" action="Press">
  452.       <action name="Focus"/>
  453.       <action name="Raise"/>
  454.     </mousebind>
  455.     <mousebind button="Left" action="Drag">
  456.       <action name="Resize"/>
  457.     </mousebind>
  458.   </context>
  459.  
  460.   <context name="TLCorner">
  461.     <mousebind button="Left" action="Press">
  462.       <action name="Focus"/>
  463.       <action name="Raise"/>
  464.       <action name="Unshade"/>
  465.     </mousebind>
  466.     <mousebind button="Left" action="Drag">
  467.       <action name="Resize"/>
  468.     </mousebind>
  469.   </context>
  470.  
  471.   <context name="TRCorner">
  472.     <mousebind button="Left" action="Press">
  473.       <action name="Focus"/>
  474.       <action name="Raise"/>
  475.       <action name="Unshade"/>
  476.     </mousebind>
  477.     <mousebind button="Left" action="Drag">
  478.       <action name="Resize"/>
  479.     </mousebind>
  480.   </context>
  481.  
  482.   <context name="Client">
  483.     <mousebind button="Left" action="Press">
  484.       <action name="Focus"/>
  485.       <action name="Raise"/>
  486.     </mousebind>
  487.     <mousebind button="Middle" action="Press">
  488.       <action name="Focus"/>
  489.       <action name="Raise"/>
  490.     </mousebind>
  491.     <mousebind button="Right" action="Press">
  492.       <action name="Focus"/>
  493.       <action name="Raise"/>
  494.     </mousebind>
  495.   </context>
  496.  
  497.   <context name="Icon">
  498.     <mousebind button="Left" action="Press">
  499.       <action name="Focus"/>
  500.       <action name="Raise"/>
  501.       <action name="Unshade"/>
  502.       <action name="ShowMenu"><menu>client-menu</menu></action>
  503.     </mousebind>
  504.     <mousebind button="Right" action="Press">
  505.       <action name="Focus"/>
  506.       <action name="Raise"/>
  507.       <action name="ShowMenu"><menu>client-menu</menu></action>
  508.     </mousebind>
  509.   </context>
  510.  
  511.   <context name="AllDesktops">
  512.     <mousebind button="Left" action="Press">
  513.       <action name="Focus"/>
  514.       <action name="Raise"/>
  515.       <action name="Unshade"/>
  516.     </mousebind>
  517.     <mousebind button="Left" action="Click">
  518.       <action name="ToggleOmnipresent"/>
  519.     </mousebind>
  520.   </context>
  521.  
  522.   <context name="Shade">
  523.     <mousebind button="Left" action="Press">
  524.       <action name="Focus"/>
  525.       <action name="Raise"/>
  526.     </mousebind>
  527.     <mousebind button="Left" action="Click">
  528.       <action name="ToggleShade"/>
  529.     </mousebind>
  530.   </context>
  531.  
  532.   <context name="Iconify">
  533.     <mousebind button="Left" action="Press">
  534.       <action name="Focus"/>
  535.       <action name="Raise"/>
  536.     </mousebind>
  537.     <mousebind button="Left" action="Click">
  538.       <action name="Iconify"/>
  539.     </mousebind>
  540.   </context>
  541.  
  542.   <context name="Maximize">
  543.     <mousebind button="Left" action="Press">
  544.       <action name="Focus"/>
  545.       <action name="Raise"/>
  546.       <action name="Unshade"/>
  547.     </mousebind>
  548.     <mousebind button="Middle" action="Press">
  549.       <action name="Focus"/>
  550.       <action name="Raise"/>
  551.       <action name="Unshade"/>
  552.     </mousebind>
  553.     <mousebind button="Right" action="Press">
  554.       <action name="Focus"/>
  555.       <action name="Raise"/>
  556.       <action name="Unshade"/>
  557.     </mousebind>
  558.     <mousebind button="Left" action="Click">
  559.       <action name="ToggleMaximizeFull"/>
  560.     </mousebind>
  561.     <mousebind button="Middle" action="Click">
  562.       <action name="ToggleMaximizeVert"/>
  563.     </mousebind>
  564.     <mousebind button="Right" action="Click">
  565.       <action name="ToggleMaximizeHorz"/>
  566.     </mousebind>
  567.   </context>
  568.  
  569.   <context name="Close">
  570.     <mousebind button="Left" action="Press">
  571.       <action name="Focus"/>
  572.       <action name="Raise"/>
  573.       <action name="Unshade"/>
  574.     </mousebind>
  575.     <mousebind button="Left" action="Click">
  576.       <action name="Close"/>
  577.     </mousebind>
  578.   </context>
  579.  
  580.   <context name="Desktop">
  581.     <mousebind button="Up" action="Click">
  582.       <action name="DesktopPrevious"/>
  583.     </mousebind>
  584.     <mousebind button="Down" action="Click">
  585.       <action name="DesktopNext"/>
  586.     </mousebind>
  587.  
  588.     <mousebind button="A-Up" action="Click">
  589.       <action name="DesktopPrevious"/>
  590.     </mousebind>
  591.     <mousebind button="A-Down" action="Click">
  592.       <action name="DesktopNext"/>
  593.     </mousebind>
  594.     <mousebind button="C-A-Up" action="Click">
  595.       <action name="DesktopPrevious"/>
  596.     </mousebind>
  597.     <mousebind button="C-A-Down" action="Click">
  598.       <action name="DesktopNext"/>
  599.     </mousebind>
  600.  
  601.     <mousebind button="Left" action="Press">
  602.       <action name="Focus"/>
  603.       <action name="Raise"/>
  604.     </mousebind>
  605.     <mousebind button="Right" action="Press">
  606.       <action name="Focus"/>
  607.       <action name="Raise"/>
  608.     </mousebind>
  609.   </context>
  610.  
  611.   <context name="Root">
  612.     <!-- Menus -->
  613.     <mousebind button="Middle" action="Press">
  614.       <action name="ShowMenu"><menu>client-list-combined-menu</menu></action>
  615.     </mousebind>
  616.     <mousebind button="Right" action="Press">
  617.       <action name="ShowMenu"><menu>root-menu</menu></action>
  618.     </mousebind>
  619.   </context>
  620.  
  621.   <context name="MoveResize">
  622.     <mousebind button="Up" action="Click">
  623.       <action name="DesktopPrevious"/>
  624.     </mousebind>
  625.     <mousebind button="Down" action="Click">
  626.       <action name="DesktopNext"/>
  627.     </mousebind>
  628.     <mousebind button="A-Up" action="Click">
  629.       <action name="DesktopPrevious"/>
  630.     </mousebind>
  631.     <mousebind button="A-Down" action="Click">
  632.       <action name="DesktopNext"/>
  633.     </mousebind>
  634.   </context>
  635. </mouse>
  636.  
  637. <menu>
  638.   <!-- You can specify more than one menu file in here and they are all loaded,
  639.       just don't make menu ids clash or, well, it'll be kind of pointless -->
  640.  
  641.   <!-- default menu file (or custom one in $HOME/.config/openbox/) -->
  642.   <file>/usr/share/lxde/openbox/menu.xml</file>
  643.   <hideDelay>200</hideDelay>
  644.   <!-- if a press-release lasts longer than this setting (in milliseconds), the
  645.       menu is hidden again -->
  646.   <middle>no</middle>
  647.   <!-- center submenus vertically about the parent entry -->
  648.   <submenuShowDelay>100</submenuShowDelay>
  649.   <!-- this one is easy, time to delay before showing a submenu after hovering
  650.       over the parent entry -->
  651.   <applicationIcons>yes</applicationIcons>
  652.   <!-- controls if icons appear in the client-list-(combined-)menu -->
  653.   <manageDesktops>yes</manageDesktops>
  654.   <!-- show the manage desktops section in the client-list-(combined-)menu -->
  655. </menu>
  656.  
  657. <applications>
  658. <!--
  659.  # this is an example with comments through out. use these to make your
  660.  # own rules, but without the comments of course.
  661.  
  662.  <application name="first element of window's WM_CLASS property (see xprop)"
  663.              class="second element of window's WM_CLASS property (see xprop)"
  664.               role="the window's WM_WINDOW_ROLE property (see xprop)">
  665.  # the name or the class can be set, or both. this is used to match
  666.  # windows when they appear. role can optionally be set as well, to
  667.  # further restrict your matches.
  668.  
  669.  # the name, class, and role use simple wildcard matching such as those
  670.  # used by a shell. you can use * to match any characters and ? to match
  671.  # any single character.
  672.  
  673.  # when multiple rules match a window, they will all be applied, in the
  674.  # order that they appear in this list
  675.  
  676.  
  677.    # each element can be left out or set to 'default' to specify to not
  678.    # change that attribute of the window
  679.  
  680.    <decor>yes</decor>
  681.    # enable or disable window decorations
  682.  
  683.    <shade>no</shade>
  684.    # make the window shaded when it appears, or not
  685.  
  686.    <position>
  687.      # the position is only used if both an x and y coordinate are provided
  688.      # (and not set to 'default')
  689.      <x>center</x>
  690.      # a number like 50, or 'center' to center on screen. use a negative number
  691.      # to start from the right (or bottom for <y>), ie -50 is 50 pixels from the
  692.      # right edge (or bottom).
  693.      <y>200</y>
  694.      <monitor>1</monitor>
  695.      # specifies the monitor in a xinerama setup.
  696.      # 1 is the first head, or 'mouse' for wherever the mouse is
  697.    </position>
  698.  
  699.    <focus>yes</focus>
  700.    # if the window should try be given focus when it appears. if this is set
  701.    # to yes it doesn't guarantee the window will be given focus. some
  702.    # restrictions may apply, but Openbox will try to
  703.  
  704.    <desktop>1</desktop>
  705.    # 1 is the first desktop, 'all' for all desktops
  706.  
  707.    <layer>normal</layer>
  708.    # 'above', 'normal', or 'below'
  709.  
  710.    <iconic>no</iconic>
  711.    # make the window iconified when it appears, or not
  712.  
  713.    <skip_pager>no</skip_pager>
  714.    # asks to not be shown in pagers
  715.  
  716.    <skip_taskbar>no</skip_taskbar>
  717.    # asks to not be shown in taskbars. window cycling actions will also
  718.    # skip past such windows
  719.  
  720.    <fullscreen>yes</fullscreen>
  721.    # make the window in fullscreen mode when it appears
  722.  
  723.    <maximized>true</maximized>
  724.    # 'Horizontal', 'Vertical' or boolean (yes/no)
  725.  </application>
  726.  
  727.  # end of the example
  728. -->
  729. </applications>
  730.  
  731. </openbox_config>
  732.  
  733. <?xml version="1.0" encoding="UTF-8"?>
  734.  
  735. <!-- Do not edit this file, it will be overwritten on install.
  736.        Copy the file to $HOME/.config/openbox/ instead. -->
  737.  
  738. <openbox_config xmlns="http://openbox.org/3.4/rc">
  739.  
  740. <resistance>
  741.   <strength>10</strength>
  742.   <screen_edge_strength>20</screen_edge_strength>
  743. </resistance>
  744.  
  745. <focus>
  746.   <focusNew>yes</focusNew>
  747.   <!-- always try to focus new windows when they appear. other rules do
  748.       apply -->
  749.   <followMouse>no</followMouse>
  750.   <!-- move focus to a window when you move the mouse into it -->
  751.   <focusLast>yes</focusLast>
  752.   <!-- focus the last used window when changing desktops, instead of the one
  753.       under the mouse pointer. when followMouse is enabled -->
  754.   <underMouse>no</underMouse>
  755.   <!-- move focus under the mouse, even when the mouse is not moving -->
  756.   <focusDelay>200</focusDelay>
  757.   <!-- when followMouse is enabled, the mouse must be inside the window for
  758.       this many milliseconds (1000 = 1 sec) before moving focus to it -->
  759.   <raiseOnFocus>no</raiseOnFocus>
  760.   <!-- when followMouse is enabled, and a window is given focus by moving the
  761.       mouse into it, also raise the window -->
  762. </focus>
  763.  
  764. <placement>
  765.   <policy>Smart</policy>
  766.   <!-- 'Smart' or 'UnderMouse' -->
  767.   <center>yes</center>
  768.   <!-- whether to place windows in the center of the free area found or
  769.       the top left corner -->
  770.   <monitor>Any</monitor>
  771.   <!-- with Smart placement on a multi-monitor system, try to place new windows
  772.       on: 'Any' - any monitor, 'Mouse' - where the mouse is, 'Active' - where
  773.       the active window is -->
  774. </placement>
  775.  
  776. <theme>
  777.   <name>Onyx</name>
  778.   <titleLayout>NLIMC</titleLayout>
  779.   <!--
  780.      available characters are NDSLIMC, each can occur at most once.
  781.      N: window icon
  782.      L: window label (AKA title).
  783.      I: iconify
  784.      M: maximize
  785.      C: close
  786.      S: shade (roll up/down)
  787.      D: omnipresent (on all desktops).
  788.  -->
  789.   <keepBorder>yes</keepBorder>
  790.   <animateIconify>yes</animateIconify>
  791.   <font place="ActiveWindow">
  792.     <name>sans</name>
  793.     <size>10</size>
  794.     <!-- font size in points -->
  795.     <weight>bold</weight>
  796.     <!-- 'bold' or 'normal' -->
  797.     <slant>normal</slant>
  798.     <!-- 'italic' or 'normal' -->
  799.   </font>
  800.   <font place="InactiveWindow">
  801.     <name>sans</name>
  802.     <size>10</size>
  803.     <!-- font size in points -->
  804.     <weight>bold</weight>
  805.     <!-- 'bold' or 'normal' -->
  806.     <slant>normal</slant>
  807.     <!-- 'italic' or 'normal' -->
  808.   </font>
  809.   <font place="MenuHeader">
  810.     <name>sans</name>
  811.     <size>10</size>
  812.     <!-- font size in points -->
  813.     <weight>normal</weight>
  814.     <!-- 'bold' or 'normal' -->
  815.     <slant>normal</slant>
  816.     <!-- 'italic' or 'normal' -->
  817.   </font>
  818.   <font place="MenuItem">
  819.     <name>sans</name>
  820.     <size>10</size>
  821.     <!-- font size in points -->
  822.     <weight>normal</weight>
  823.     <!-- 'bold' or 'normal' -->
  824.     <slant>normal</slant>
  825.     <!-- 'italic' or 'normal' -->
  826.   </font>
  827.   <font place="OnScreenDisplay">
  828.     <name>sans</name>
  829.     <size>10</size>
  830.     <!-- font size in points -->
  831.     <weight>bold</weight>
  832.     <!-- 'bold' or 'normal' -->
  833.     <slant>normal</slant>
  834.     <!-- 'italic' or 'normal' -->
  835.   </font>
  836. </theme>
  837.  
  838. <desktops>
  839.   <!-- this stuff is only used at startup, pagers allow you to change them
  840.       during a session
  841.  
  842.       these are default values to use when other ones are not already set
  843.       by other applications, or saved in your session
  844.  
  845.       use obconf if you want to change these without having to log out
  846.       and back in -->
  847.   <number>2</number>
  848.   <firstdesk>1</firstdesk>
  849.   <names>
  850.     <!-- set names up here if you want to, like this:
  851.    <name>desktop 1</name>
  852.    <name>desktop 2</name>
  853.    -->
  854.   </names>
  855.   <popupTime>875</popupTime>
  856.   <!-- The number of milliseconds to show the popup for when switching
  857.       desktops.  Set this to 0 to disable the popup. -->
  858. </desktops>
  859.  
  860. <resize>
  861.   <drawContents>yes</drawContents>
  862.   <popupShow>Nonpixel</popupShow>
  863.   <!-- 'Always', 'Never', or 'Nonpixel' (xterms and such) -->
  864.   <popupPosition>Center</popupPosition>
  865.   <!-- 'Center', 'Top', or 'Fixed' -->
  866.   <popupFixedPosition>
  867.     <!-- these are used if popupPosition is set to 'Fixed' -->
  868.  
  869.     <x>10</x>
  870.     <!-- positive number for distance from left edge, negative number for
  871.         distance from right edge, or 'Center' -->
  872.     <y>10</y>
  873.     <!-- positive number for distance from top edge, negative number for
  874.         distance from bottom edge, or 'Center' -->
  875.   </popupFixedPosition>
  876. </resize>
  877.  
  878. <!-- You can reserve a portion of your screen where windows will not cover when
  879.     they are maximized, or when they are initially placed.
  880.     Many programs reserve space automatically, but you can use this in other
  881.     cases. -->
  882. <margins>
  883.   <top>0</top>
  884.   <bottom>0</bottom>
  885.   <left>0</left>
  886.   <right>0</right>
  887. </margins>
  888.  
  889. <dock>
  890.   <position>TopLeft</position>
  891.   <!-- (Top|Bottom)(Left|Right|)|Top|Bottom|Left|Right|Floating -->
  892.   <floatingX>0</floatingX>
  893.   <floatingY>0</floatingY>
  894.   <noStrut>no</noStrut>
  895.   <stacking>Above</stacking>
  896.   <!-- 'Above', 'Normal', or 'Below' -->
  897.   <direction>Vertical</direction>
  898.   <!-- 'Vertical' or 'Horizontal' -->
  899.   <autoHide>no</autoHide>
  900.   <hideDelay>300</hideDelay>
  901.   <!-- in milliseconds (1000 = 1 second) -->
  902.   <showDelay>300</showDelay>
  903.   <!-- in milliseconds (1000 = 1 second) -->
  904.   <moveButton>Middle</moveButton>
  905.   <!-- 'Left', 'Middle', 'Right' -->
  906. </dock>
  907.  
  908. <keyboard>
  909.   <chainQuitKey>C-g</chainQuitKey>
  910.  
  911.   <!-- Keybindings for desktop switching -->
  912.   <keybind key="C-A-Left">
  913.     <action name="DesktopLeft"><dialog>no</dialog><wrap>no</wrap></action>
  914.   </keybind>
  915.   <keybind key="C-A-Right">
  916.     <action name="DesktopRight"><dialog>no</dialog><wrap>no</wrap></action>
  917.   </keybind>
  918.   <keybind key="C-A-Up">
  919.     <action name="DesktopUp"><dialog>no</dialog><wrap>no</wrap></action>
  920.   </keybind>
  921.   <keybind key="C-A-Down">
  922.     <action name="DesktopDown"><dialog>no</dialog><wrap>no</wrap></action>
  923.   </keybind>
  924.   <keybind key="S-A-Left">
  925.     <action name="SendToDesktopLeft"><dialog>no</dialog><wrap>no</wrap></action>
  926.   </keybind>
  927.   <keybind key="S-A-Right">
  928.     <action name="SendToDesktopRight"><dialog>no</dialog><wrap>no</wrap></action>
  929.   </keybind>
  930.   <keybind key="S-A-Up">
  931.     <action name="SendToDesktopUp"><dialog>no</dialog><wrap>no</wrap></action>
  932.   </keybind>
  933.   <keybind key="S-A-Down">
  934.     <action name="SendToDesktopDown"><dialog>no</dialog><wrap>no</wrap></action>
  935.   </keybind>
  936.   <keybind key="W-F1">
  937.     <action name="Desktop"><desktop>1</desktop></action>
  938.   </keybind>
  939.   <keybind key="W-F2">
  940.     <action name="Desktop"><desktop>2</desktop></action>
  941.   </keybind>
  942.   <keybind key="W-F3">
  943.     <action name="Desktop"><desktop>3</desktop></action>
  944.   </keybind>
  945.   <keybind key="W-F4">
  946.     <action name="Desktop"><desktop>4</desktop></action>
  947.   </keybind>
  948.   <keybind key="W-d">
  949.     <action name="ToggleShowDesktop"/>
  950.   </keybind>
  951.  
  952.   <keybind key="C-A-d">
  953.     <action name="ToggleShowDesktop"/>
  954.   </keybind>
  955.  
  956.   <!-- Keybindings for windows -->
  957.   <keybind key="A-F4">
  958.     <action name="Close"/>
  959.   </keybind>
  960.   <keybind key="A-Escape">
  961.     <action name="Lower"/>
  962.     <action name="FocusToBottom"/>
  963.     <action name="Unfocus"/>
  964.   </keybind>
  965.   <keybind key="A-space">
  966.     <action name="ShowMenu"><menu>client-menu</menu></action>
  967.   </keybind>
  968.  
  969.   <!-- Keybindings for window switching -->
  970.   <keybind key="A-Tab">
  971.     <action name="NextWindow"/>
  972.   </keybind>
  973.   <keybind key="A-S-Tab">
  974.     <action name="PreviousWindow"/>
  975.   </keybind>
  976.   <keybind key="C-A-Tab">
  977.     <action name="NextWindow">
  978.       <panels>yes</panels><desktop>yes</desktop>
  979.     </action>
  980.   </keybind>
  981.  
  982.   <!-- Keybindings for running applications -->
  983.   <keybind key="W-e">
  984.     <action name="Execute">
  985.       <startupnotify>
  986.         <enabled>true</enabled>
  987.         <name>PCManFM</name>
  988.       </startupnotify>
  989.       <command>pcmanfm</command>
  990.     </action>
  991.   </keybind>
  992.  
  993.   <!--keybindings for LXPanel -->
  994.   <keybind key="W-r">
  995.       <action name="Execute">
  996.         <command>lxpanelctl run</command>
  997.       </action>
  998.   </keybind>
  999.  
  1000.   <keybind key="A-F2">
  1001.       <action name="Execute">
  1002.           <command>lxpanelctl run</command>
  1003.       </action>
  1004.   </keybind>
  1005.  
  1006.   <keybind key="C-Escape">
  1007.       <action name="Execute">
  1008.           <command>lxpanelctl menu</command>
  1009.       </action>
  1010.   </keybind>
  1011.  
  1012.   <keybind key="F11">
  1013.      <action name="ToggleFullscreen"/>
  1014.   </keybind>
  1015.  
  1016.   <!-- Launch Task Manager with Ctrl+Alt+Del -->
  1017.   <keybind key="A-C-Delete">
  1018.       <action name="Execute">
  1019.           <command>lxtask</command>
  1020.       </action>
  1021.   </keybind>
  1022.  
  1023. </keyboard>
  1024.  
  1025.  
  1026. <mouse>
  1027.   <dragThreshold>8</dragThreshold>
  1028.   <!-- number of pixels the mouse must move before a drag begins -->
  1029.   <doubleClickTime>200</doubleClickTime>
  1030.   <!-- in milliseconds (1000 = 1 second) -->
  1031.   <screenEdgeWarpTime>400</screenEdgeWarpTime>
  1032.   <!-- Time before changing desktops when the pointer touches the edge of the
  1033.       screen while moving a window, in milliseconds (1000 = 1 second).
  1034.       Set this to 0 to disable warping -->
  1035.  
  1036.   <context name="Frame">
  1037.     <mousebind button="A-Left" action="Press">
  1038.       <action name="Focus"/>
  1039.       <action name="Raise"/>
  1040.     </mousebind>
  1041.     <mousebind button="A-Left" action="Click">
  1042.       <action name="Unshade"/>
  1043.     </mousebind>
  1044.     <mousebind button="A-Left" action="Drag">
  1045.       <action name="Move"/>
  1046.     </mousebind>
  1047.  
  1048.     <mousebind button="A-Right" action="Press">
  1049.       <action name="Focus"/>
  1050.       <action name="Raise"/>
  1051.       <action name="Unshade"/>
  1052.     </mousebind>
  1053.     <mousebind button="A-Right" action="Drag">
  1054.       <action name="Resize"/>
  1055.     </mousebind>
  1056.  
  1057.     <mousebind button="A-Middle" action="Press">
  1058.       <action name="Lower"/>
  1059.       <action name="FocusToBottom"/>
  1060.       <action name="Unfocus"/>
  1061.     </mousebind>
  1062.  
  1063.     <mousebind button="A-Up" action="Click">
  1064.       <action name="DesktopPrevious"/>
  1065.     </mousebind>
  1066.     <mousebind button="A-Down" action="Click">
  1067.       <action name="DesktopNext"/>
  1068.     </mousebind>
  1069.     <mousebind button="C-A-Up" action="Click">
  1070.       <action name="DesktopPrevious"/>
  1071.     </mousebind>
  1072.     <mousebind button="C-A-Down" action="Click">
  1073.       <action name="DesktopNext"/>
  1074.     </mousebind>
  1075.     <mousebind button="A-S-Up" action="Click">
  1076.       <action name="SendToDesktopPrevious"/>
  1077.     </mousebind>
  1078.     <mousebind button="A-S-Down" action="Click">
  1079.       <action name="SendToDesktopNext"/>
  1080.     </mousebind>
  1081.   </context>
  1082.  
  1083.   <context name="Titlebar">
  1084.     <mousebind button="Left" action="Press">
  1085.       <action name="Focus"/>
  1086.       <action name="Raise"/>
  1087.     </mousebind>
  1088.     <mousebind button="Left" action="Drag">
  1089.       <action name="Move"/>
  1090.     </mousebind>
  1091.     <mousebind button="Left" action="DoubleClick">
  1092.       <action name="ToggleMaximizeFull"/>
  1093.     </mousebind>
  1094.  
  1095.     <mousebind button="Middle" action="Press">
  1096.       <action name="Lower"/>
  1097.       <action name="FocusToBottom"/>
  1098.       <action name="Unfocus"/>
  1099.     </mousebind>
  1100.  
  1101.     <mousebind button="Up" action="Click">
  1102.       <action name="Shade"/>
  1103.       <action name="FocusToBottom"/>
  1104.       <action name="Unfocus"/>
  1105.       <action name="Lower"/>
  1106.     </mousebind>
  1107.     <mousebind button="Down" action="Click">
  1108.       <action name="Unshade"/>
  1109.       <action name="Raise"/>
  1110.     </mousebind>
  1111.  
  1112.     <mousebind button="Right" action="Press">
  1113.       <action name="Focus"/>
  1114.       <action name="Raise"/>
  1115.       <action name="ShowMenu"><menu>client-menu</menu></action>
  1116.     </mousebind>
  1117.   </context>
  1118.  
  1119.   <context name="Top">
  1120.     <mousebind button="Left" action="Press">
  1121.       <action name="Focus"/>
  1122.       <action name="Raise"/>
  1123.       <action name="Unshade"/>
  1124.     </mousebind>
  1125.     <mousebind button="Left" action="Drag">
  1126.       <action name="Resize"><edge>top</edge></action>
  1127.     </mousebind>
  1128.   </context>
  1129.  
  1130.   <context name="Left">
  1131.     <mousebind button="Left" action="Press">
  1132.       <action name="Focus"/>
  1133.       <action name="Raise"/>
  1134.     </mousebind>
  1135.     <mousebind button="Left" action="Drag">
  1136.       <action name="Resize"><edge>left</edge></action>
  1137.     </mousebind>
  1138.   </context>
  1139.  
  1140.   <context name="Right">
  1141.     <mousebind button="Left" action="Press">
  1142.       <action name="Focus"/>
  1143.       <action name="Raise"/>
  1144.     </mousebind>
  1145.     <mousebind button="Left" action="Drag">
  1146.       <action name="Resize"><edge>right</edge></action>
  1147.     </mousebind>
  1148.   </context>
  1149.  
  1150.   <context name="Bottom">
  1151.     <mousebind button="Left" action="Press">
  1152.       <action name="Focus"/>
  1153.       <action name="Raise"/>
  1154.     </mousebind>
  1155.     <mousebind button="Left" action="Drag">
  1156.       <action name="Resize"><edge>bottom</edge></action>
  1157.     </mousebind>
  1158.  
  1159.     <mousebind button="Middle" action="Press">
  1160.       <action name="Lower"/>
  1161.       <action name="FocusToBottom"/>
  1162.       <action name="Unfocus"/>
  1163.     </mousebind>
  1164.  
  1165.     <mousebind button="Right" action="Press">
  1166.       <action name="Focus"/>
  1167.       <action name="Raise"/>
  1168.       <action name="ShowMenu"><menu>client-menu</menu></action>
  1169.     </mousebind>
  1170.   </context>
  1171.  
  1172.   <context name="BLCorner">
  1173.     <mousebind button="Left" action="Press">
  1174.       <action name="Focus"/>
  1175.       <action name="Raise"/>
  1176.     </mousebind>
  1177.     <mousebind button="Left" action="Drag">
  1178.       <action name="Resize"/>
  1179.     </mousebind>
  1180.   </context>
  1181.  
  1182.   <context name="BRCorner">
  1183.     <mousebind button="Left" action="Press">
  1184.       <action name="Focus"/>
  1185.       <action name="Raise"/>
  1186.     </mousebind>
  1187.     <mousebind button="Left" action="Drag">
  1188.       <action name="Resize"/>
  1189.     </mousebind>
  1190.   </context>
  1191.  
  1192.   <context name="TLCorner">
  1193.     <mousebind button="Left" action="Press">
  1194.       <action name="Focus"/>
  1195.       <action name="Raise"/>
  1196.       <action name="Unshade"/>
  1197.     </mousebind>
  1198.     <mousebind button="Left" action="Drag">
  1199.       <action name="Resize"/>
  1200.     </mousebind>
  1201.   </context>
  1202.  
  1203.   <context name="TRCorner">
  1204.     <mousebind button="Left" action="Press">
  1205.       <action name="Focus"/>
  1206.       <action name="Raise"/>
  1207.       <action name="Unshade"/>
  1208.     </mousebind>
  1209.     <mousebind button="Left" action="Drag">
  1210.       <action name="Resize"/>
  1211.     </mousebind>
  1212.   </context>
  1213.  
  1214.   <context name="Client">
  1215.     <mousebind button="Left" action="Press">
  1216.       <action name="Focus"/>
  1217.       <action name="Raise"/>
  1218.     </mousebind>
  1219.     <mousebind button="Middle" action="Press">
  1220.       <action name="Focus"/>
  1221.       <action name="Raise"/>
  1222.     </mousebind>
  1223.     <mousebind button="Right" action="Press">
  1224.       <action name="Focus"/>
  1225.       <action name="Raise"/>
  1226.     </mousebind>
  1227.   </context>
  1228.  
  1229.   <context name="Icon">
  1230.     <mousebind button="Left" action="Press">
  1231.       <action name="Focus"/>
  1232.       <action name="Raise"/>
  1233.       <action name="Unshade"/>
  1234.       <action name="ShowMenu"><menu>client-menu</menu></action>
  1235.     </mousebind>
  1236.     <mousebind button="Right" action="Press">
  1237.       <action name="Focus"/>
  1238.       <action name="Raise"/>
  1239.       <action name="ShowMenu"><menu>client-menu</menu></action>
  1240.     </mousebind>
  1241.   </context>
  1242.  
  1243.   <context name="AllDesktops">
  1244.     <mousebind button="Left" action="Press">
  1245.       <action name="Focus"/>
  1246.       <action name="Raise"/>
  1247.       <action name="Unshade"/>
  1248.     </mousebind>
  1249.     <mousebind button="Left" action="Click">
  1250.       <action name="ToggleOmnipresent"/>
  1251.     </mousebind>
  1252.   </context>
  1253.  
  1254.   <context name="Shade">
  1255.     <mousebind button="Left" action="Press">
  1256.       <action name="Focus"/>
  1257.       <action name="Raise"/>
  1258.     </mousebind>
  1259.     <mousebind button="Left" action="Click">
  1260.       <action name="ToggleShade"/>
  1261.     </mousebind>
  1262.   </context>
  1263.  
  1264.   <context name="Iconify">
  1265.     <mousebind button="Left" action="Press">
  1266.       <action name="Focus"/>
  1267.       <action name="Raise"/>
  1268.     </mousebind>
  1269.     <mousebind button="Left" action="Click">
  1270.       <action name="Iconify"/>
  1271.     </mousebind>
  1272.   </context>
  1273.  
  1274.   <context name="Maximize">
  1275.     <mousebind button="Left" action="Press">
  1276.       <action name="Focus"/>
  1277.       <action name="Raise"/>
  1278.       <action name="Unshade"/>
  1279.     </mousebind>
  1280.     <mousebind button="Middle" action="Press">
  1281.       <action name="Focus"/>
  1282.       <action name="Raise"/>
  1283.       <action name="Unshade"/>
  1284.     </mousebind>
  1285.     <mousebind button="Right" action="Press">
  1286.       <action name="Focus"/>
  1287.       <action name="Raise"/>
  1288.       <action name="Unshade"/>
  1289.     </mousebind>
  1290.     <mousebind button="Left" action="Click">
  1291.       <action name="ToggleMaximizeFull"/>
  1292.     </mousebind>
  1293.     <mousebind button="Middle" action="Click">
  1294.       <action name="ToggleMaximizeVert"/>
  1295.     </mousebind>
  1296.     <mousebind button="Right" action="Click">
  1297.       <action name="ToggleMaximizeHorz"/>
  1298.     </mousebind>
  1299.   </context>
  1300.  
  1301.   <context name="Close">
  1302.     <mousebind button="Left" action="Press">
  1303.       <action name="Focus"/>
  1304.       <action name="Raise"/>
  1305.       <action name="Unshade"/>
  1306.     </mousebind>
  1307.     <mousebind button="Left" action="Click">
  1308.       <action name="Close"/>
  1309.     </mousebind>
  1310.   </context>
  1311.  
  1312.   <context name="Desktop">
  1313.     <mousebind button="Up" action="Click">
  1314.       <action name="DesktopPrevious"/>
  1315.     </mousebind>
  1316.     <mousebind button="Down" action="Click">
  1317.       <action name="DesktopNext"/>
  1318.     </mousebind>
  1319.  
  1320.     <mousebind button="A-Up" action="Click">
  1321.       <action name="DesktopPrevious"/>
  1322.     </mousebind>
  1323.     <mousebind button="A-Down" action="Click">
  1324.       <action name="DesktopNext"/>
  1325.     </mousebind>
  1326.     <mousebind button="C-A-Up" action="Click">
  1327.       <action name="DesktopPrevious"/>
  1328.     </mousebind>
  1329.     <mousebind button="C-A-Down" action="Click">
  1330.       <action name="DesktopNext"/>
  1331.     </mousebind>
  1332.  
  1333.     <mousebind button="Left" action="Press">
  1334.       <action name="Focus"/>
  1335.       <action name="Raise"/>
  1336.     </mousebind>
  1337.     <mousebind button="Right" action="Press">
  1338.       <action name="Focus"/>
  1339.       <action name="Raise"/>
  1340.     </mousebind>
  1341.   </context>
  1342.  
  1343.   <context name="Root">
  1344.     <!-- Menus -->
  1345.     <mousebind button="Middle" action="Press">
  1346.       <action name="ShowMenu"><menu>client-list-combined-menu</menu></action>
  1347.     </mousebind>
  1348.     <mousebind button="Right" action="Press">
  1349.       <action name="ShowMenu"><menu>root-menu</menu></action>
  1350.     </mousebind>
  1351.   </context>
  1352.  
  1353.   <context name="MoveResize">
  1354.     <mousebind button="Up" action="Click">
  1355.       <action name="DesktopPrevious"/>
  1356.     </mousebind>
  1357.     <mousebind button="Down" action="Click">
  1358.       <action name="DesktopNext"/>
  1359.     </mousebind>
  1360.     <mousebind button="A-Up" action="Click">
  1361.       <action name="DesktopPrevious"/>
  1362.     </mousebind>
  1363.     <mousebind button="A-Down" action="Click">
  1364.       <action name="DesktopNext"/>
  1365.     </mousebind>
  1366.   </context>
  1367. </mouse>
  1368.  
  1369. <menu>
  1370.   <!-- You can specify more than one menu file in here and they are all loaded,
  1371.       just don't make menu ids clash or, well, it'll be kind of pointless -->
  1372.  
  1373.   <!-- default menu file (or custom one in $HOME/.config/openbox/) -->
  1374.   <file>/usr/share/lxde/openbox/menu.xml</file>
  1375.   <hideDelay>200</hideDelay>
  1376.   <!-- if a press-release lasts longer than this setting (in milliseconds), the
  1377.       menu is hidden again -->
  1378.   <middle>no</middle>
  1379.   <!-- center submenus vertically about the parent entry -->
  1380.   <submenuShowDelay>100</submenuShowDelay>
  1381.   <!-- this one is easy, time to delay before showing a submenu after hovering
  1382.       over the parent entry -->
  1383.   <applicationIcons>yes</applicationIcons>
  1384.   <!-- controls if icons appear in the client-list-(combined-)menu -->
  1385.   <manageDesktops>yes</manageDesktops>
  1386.   <!-- show the manage desktops section in the client-list-(combined-)menu -->
  1387. </menu>
  1388.  
  1389. <applications>
  1390. <!--
  1391.  # this is an example with comments through out. use these to make your
  1392.  # own rules, but without the comments of course.
  1393.  
  1394.  <application name="first element of window's WM_CLASS property (see xprop)"
  1395.              class="second element of window's WM_CLASS property (see xprop)"
  1396.               role="the window's WM_WINDOW_ROLE property (see xprop)">
  1397.  # the name or the class can be set, or both. this is used to match
  1398.  # windows when they appear. role can optionally be set as well, to
  1399.  # further restrict your matches.
  1400.  
  1401.  # the name, class, and role use simple wildcard matching such as those
  1402.  # used by a shell. you can use * to match any characters and ? to match
  1403.  # any single character.
  1404.  
  1405.  # when multiple rules match a window, they will all be applied, in the
  1406.  # order that they appear in this list
  1407.  
  1408.  
  1409.    # each element can be left out or set to 'default' to specify to not
  1410.    # change that attribute of the window
  1411.  
  1412.    <decor>yes</decor>
  1413.    # enable or disable window decorations
  1414.  
  1415.    <shade>no</shade>
  1416.    # make the window shaded when it appears, or not
  1417.  
  1418.    <position>
  1419.      # the position is only used if both an x and y coordinate are provided
  1420.      # (and not set to 'default')
  1421.      <x>center</x>
  1422.      # a number like 50, or 'center' to center on screen. use a negative number
  1423.      # to start from the right (or bottom for <y>), ie -50 is 50 pixels from the
  1424.      # right edge (or bottom).
  1425.      <y>200</y>
  1426.      <monitor>1</monitor>
  1427.      # specifies the monitor in a xinerama setup.
  1428.      # 1 is the first head, or 'mouse' for wherever the mouse is
  1429.    </position>
  1430.  
  1431.    <focus>yes</focus>
  1432.    # if the window should try be given focus when it appears. if this is set
  1433.    # to yes it doesn't guarantee the window will be given focus. some
  1434.    # restrictions may apply, but Openbox will try to
  1435.  
  1436.    <desktop>1</desktop>
  1437.    # 1 is the first desktop, 'all' for all desktops
  1438.  
  1439.    <layer>normal</layer>
  1440.    # 'above', 'normal', or 'below'
  1441.  
  1442.    <iconic>no</iconic>
  1443.    # make the window iconified when it appears, or not
  1444.  
  1445.    <skip_pager>no</skip_pager>
  1446.    # asks to not be shown in pagers
  1447.  
  1448.    <skip_taskbar>no</skip_taskbar>
  1449.    # asks to not be shown in taskbars. window cycling actions will also
  1450.    # skip past such windows
  1451.  
  1452.    <fullscreen>yes</fullscreen>
  1453.    # make the window in fullscreen mode when it appears
  1454.  
  1455.    <maximized>true</maximized>
  1456.    # 'Horizontal', 'Vertical' or boolean (yes/no)
  1457.  </application>
  1458.  
  1459.  # end of the example
  1460. -->
  1461. </applications>
  1462.  
  1463. </openbox_config>
  1464.