Advertisement
Guest User

Openbox rc 220508

a guest
May 22nd, 2008
4,399
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 23.59 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <openbox_config xmlns="http://openbox.org/3.4/rc">
  3.   <resistance>
  4.     <strength>10</strength>
  5.     <screen_edge_strength>20</screen_edge_strength>
  6.   </resistance>
  7.   <focus>
  8.     <focusNew>yes</focusNew>
  9.     <!-- always try to focus new windows when they appear. other rules do
  10.       apply -->
  11.     <focusLast>yes</focusLast>
  12.     <!-- focus the last used window when changing desktops, instead of the one
  13.       under the mouse pointer. when followMouse is enabled -->
  14.     <followMouse>no</followMouse>
  15.     <!-- move focus to a window when you move the mouse into it -->
  16.     <focusDelay>200</focusDelay>
  17.     <!-- when followMouse is enabled, the mouse must be inside the window for
  18.       this many milliseconds (1000 = 1 sec) before moving focus to it -->
  19.     <raiseOnFocus>no</raiseOnFocus>
  20.     <!-- when followMouse is enabled, and a window is given focus by moving the
  21.       mouse into it, also raise the window -->
  22.     <underMouse>no</underMouse>
  23.   </focus>
  24.   <placement>
  25.     <policy>Smart</policy>
  26.     <!-- 'Smart' or 'UnderMouse' -->
  27.     <center>yes</center>
  28.     <monitor>Any</monitor>
  29.   </placement>
  30.   <theme>
  31.     <name>Awakened</name>
  32.     <titleLayout>SLIMC</titleLayout>
  33.     <!--
  34.      avaible characters are NDSLIMC, each can occur at most once.
  35.      N: window icon
  36.      L: window label (AKA title).
  37.      I: iconify
  38.      M: maximize
  39.      C: close
  40.      S: shade (roll up/down)
  41.      D: omnipresent (on all desktops).
  42.  -->
  43.     <keepBorder>yes</keepBorder>
  44.     <animateIconify>no</animateIconify>
  45.     <font place="ActiveWindow">
  46.       <name>Corbel</name>
  47.       <size>8</size>
  48.       <!-- font size in points -->
  49.       <weight>Bold</weight>
  50.       <!-- 'bold' or 'normal' -->
  51.       <slant>Normal</slant>
  52.       <!-- 'italic' or 'normal' -->
  53.     </font>
  54.     <font place="InactiveWindow">
  55.       <name>Corbel</name>
  56.       <size>8</size>
  57.       <!-- font size in points -->
  58.       <weight>Bold</weight>
  59.       <!-- 'bold' or 'normal' -->
  60.       <slant>Normal</slant>
  61.       <!-- 'italic' or 'normal' -->
  62.     </font>
  63.     <font place="MenuHeader">
  64.       <name>Corbel</name>
  65.       <size>8</size>
  66.       <!-- font size in points -->
  67.       <weight>Bold</weight>
  68.       <!-- 'bold' or 'normal' -->
  69.       <slant>Normal</slant>
  70.       <!-- 'italic' or 'normal' -->
  71.     </font>
  72.     <font place="MenuItem">
  73.       <name>Corbel</name>
  74.       <size>8</size>
  75.       <!-- font size in points -->
  76.       <weight>Normal</weight>
  77.       <!-- 'bold' or 'normal' -->
  78.       <slant>Normal</slant>
  79.       <!-- 'italic' or 'normal' -->
  80.     </font>
  81.     <font place="OnScreenDisplay">
  82.       <name>Corbel</name>
  83.       <size>8</size>
  84.       <!-- font size in points -->
  85.       <weight>Bold</weight>
  86.       <!-- 'bold' or 'normal' -->
  87.       <slant>Normal</slant>
  88.       <!-- 'italic' or 'normal' -->
  89.     </font>
  90.   </theme>
  91.   <desktops>
  92.     <number>3</number>
  93.     <firstdesk>1</firstdesk>
  94.     <names>
  95.       <name>bhuh</name>
  96.       <name>bhuvah</name>
  97.       <name>svah</name>
  98.     </names>
  99.     <popupTime>875</popupTime>
  100.   </desktops>
  101.   <resize>
  102.     <drawContents>yes</drawContents>
  103.     <popupShow>Never</popupShow>
  104.     <!-- 'Always', 'Never', or 'Nonpixel' (xterms and such) -->
  105.     <popupPosition>Center</popupPosition>
  106.     <!-- 'Center' or 'Top' -->
  107.     <popupFixedPosition>
  108.       <x>0</x>
  109.       <y>0</y>
  110.     </popupFixedPosition>
  111.   </resize>
  112.   <dock>
  113.     <position>BottomRight</position>
  114.     <!-- (Top|Bottom)(Left|Right|)|Top|Bottom|Left|Right|Floating -->
  115.     <floatingX>0</floatingX>
  116.     <floatingY>0</floatingY>
  117.     <noStrut>no</noStrut>
  118.     <stacking>Above</stacking>
  119.     <!-- 'Above', 'Normal', or 'Below' -->
  120.     <direction>Horizontal</direction>
  121.     <!-- 'Vertical' or 'Horizontal' -->
  122.     <autoHide>yes</autoHide>
  123.     <hideDelay>3000</hideDelay>
  124.     <!-- in milliseconds (1000 = 1 second) -->
  125.     <showDelay>300</showDelay>
  126.     <!-- in milliseconds (1000 = 1 second) -->
  127.     <moveButton>Middle</moveButton>
  128.     <!-- 'Left', 'Middle', 'Right' -->
  129.   </dock>
  130.   <keyboard>
  131.     <chainQuitKey>C-g</chainQuitKey>
  132.     <!-- Keybindings for desktop switching -->
  133.     <keybind key="C-A-Left">
  134.       <action name="DesktopLeft">
  135.         <wrap>no</wrap>
  136.       </action>
  137.     </keybind>
  138.     <keybind key="C-A-Right">
  139.       <action name="DesktopRight">
  140.         <wrap>no</wrap>
  141.       </action>
  142.     </keybind>
  143.     <keybind key="C-A-Up">
  144.       <action name="DesktopUp">
  145.         <wrap>no</wrap>
  146.       </action>
  147.     </keybind>
  148.     <keybind key="C-A-Down">
  149.       <action name="DesktopDown">
  150.         <wrap>no</wrap>
  151.       </action>
  152.     </keybind>
  153.     <keybind key="S-A-Left">
  154.       <action name="SendToDesktopLeft">
  155.         <wrap>no</wrap>
  156.       </action>
  157.     </keybind>
  158.     <keybind key="S-A-Right">
  159.       <action name="SendToDesktopRight">
  160.         <wrap>no</wrap>
  161.       </action>
  162.     </keybind>
  163.     <keybind key="S-A-Up">
  164.       <action name="SendToDesktopUp">
  165.         <wrap>no</wrap>
  166.       </action>
  167.     </keybind>
  168.     <keybind key="S-A-Down">
  169.       <action name="SendToDesktopDown">
  170.         <wrap>no</wrap>
  171.       </action>
  172.     </keybind>
  173.     <keybind key="W-d">
  174.       <action name="ToggleShowDesktop"/>
  175.     </keybind>
  176.     <!--keybind key="W-F1">
  177.      <action name="Desktop">
  178.        <desktop>1</desktop>
  179.      </action>
  180.    </keybind-->
  181.     <!-- Keybindings for windows -->
  182.     <keybind key="C-A-d">
  183.       <action name="ToggleDockAutohide"/>
  184.     </keybind>
  185.     <!-- Keybindings for windows -->
  186.     <keybind key="A-F4">
  187.       <action name="Close"/>
  188.     </keybind>
  189.     <keybind key="A-Escape">
  190.       <action name="Lower"/>
  191.       <action name="FocusToBottom"/>
  192.       <action name="Unfocus"/>
  193.     </keybind>
  194.     <keybind key="A-space">
  195.       <action name="ShowMenu">
  196.         <menu>client-menu</menu>
  197.       </action>
  198.     </keybind>
  199.     <!-- Keybindings for window switching -->
  200.     <keybind key="A-Tab">
  201.       <action name="NextWindow"/>
  202.     </keybind>
  203.     <keybind key="A-S-Tab">
  204.       <action name="PreviousWindow"/>
  205.     </keybind>
  206.     <keybind key="C-A-Tab">
  207.       <action name="NextWindow">
  208.         <panels>yes</panels>
  209.         <desktop>yes</desktop>
  210.       </action>
  211.     </keybind>
  212.     <!-- Keybindings for fill of applications -->
  213.     <keybind key="W-Left">
  214.       <action name="GrowToEdgeWest"/>
  215.     </keybind>
  216.     <keybind key="W-Right">
  217.       <action name="GrowToEdgeEast"/>
  218.     </keybind>
  219.     <keybind key="W-Down">
  220.       <action name="GrowToEdgeSouth"/>
  221.     </keybind>
  222.     <keybind key="W-Up">
  223.       <action name="GrowToEdgeNorth"/>
  224.     </keybind>
  225.     <keybind key="A-F12">
  226.       <action name="ToggleFullscreen"/>
  227.     </keybind>
  228.     <!-- Keybindings for managing Openbox -->
  229.     <keybind key="C-A-R">
  230.       <action name="Execute">
  231.         <command>osdctl -s 'Reconfiguring'</command>
  232.       </action>
  233.       <action name="Reconfigure"/>
  234.     </keybind>
  235.     <!-- Keybindings for running applications -->
  236.     <keybind key="A-F1">
  237.       <action name="ShowMenu">
  238.         <menu>root-menu</menu>
  239.       </action>
  240.     </keybind>
  241.     <keybind key="A-F5">
  242.       <action name="ShowMenu">
  243.         <menu>client-list-combined-menu</menu>
  244.       </action>
  245.     </keybind>
  246.     <keybind key="A-F2">
  247.       <action name="execute">
  248.         <execute>gmrun</execute>
  249.       </action>
  250.     </keybind>
  251.     <keybind key="A-F3">
  252.       <action name="execute">
  253.         <execute>/home/urukrama/.scripts/OBdmenu_aeterna</execute>
  254.       </action>
  255.     </keybind>
  256.     <keybind key="A-F4">
  257.       <action name="execute">
  258.         <execute>apwal</execute>
  259.       </action>
  260.     </keybind>
  261.     <keybind key="C-A-Delete">
  262.       <action name="Execute">
  263.         <execute>gnome-system-monitor</execute>
  264.       </action>
  265.     </keybind>
  266.     <keybind key="W-F3">
  267.       <action name="Execute">
  268.         <execute>/home/urukrama/.scripts/only_terminal</execute>
  269.       </action>
  270.     </keybind>
  271.     <keybind key="W-F5">
  272.       <action name="Execute">
  273.         <execute>gmpc</execute>
  274.       </action>
  275.     </keybind>
  276.     <keybind key="W-F4">
  277.       <action name="Execute">
  278.         <execute>/home/urukrama/.scripts/only_thunar</execute>
  279.       </action>
  280.     </keybind>
  281.     <keybind key="W-F8">
  282.       <action name="Execute">
  283.         <execute>/home/urukrama/.scripts/only_opera</execute>
  284.       </action>
  285.     </keybind>
  286.     <keybind key="W-F7">
  287.       <action name="Execute">
  288.         <execute>oowriter</execute>
  289.       </action>
  290.     </keybind>
  291.     <keybind key="C-Down">
  292.       <action name="Execute">
  293.         <execute>amixer -q set PCM 1- unmute</execute>
  294.       </action>
  295.     </keybind>
  296.     <keybind key="C-Up">
  297.       <action name="Execute">
  298.         <execute>amixer -q set PCM 1+ unmute</execute>
  299.       </action>
  300.     </keybind>
  301.     <keybind key="C-A-End">
  302.       <action name="Execute">
  303.         <execute>amixer -q set PCM toggle</execute>
  304.       </action>
  305.     </keybind>
  306.   </keyboard>
  307.   <mouse>
  308.     <dragThreshold>3</dragThreshold>
  309.     <!-- number of pixels the mouse must move before a drag begins -->
  310.     <doubleClickTime>200</doubleClickTime>
  311.     <!-- in milliseconds (1000 = 1 second) -->
  312.     <context name="Frame">
  313.       <mousebind button="A-Left" action="Press">
  314.         <action name="Focus"/>
  315.         <action name="Raise"/>
  316.       </mousebind>
  317.       <mousebind button="A-Left" action="Click">
  318.         <action name="Unshade"/>
  319.       </mousebind>
  320.       <mousebind button="A-Left" action="Drag">
  321.         <action name="Move"/>
  322.       </mousebind>
  323.       <mousebind button="A-Right" action="Press">
  324.         <action name="Focus"/>
  325.         <action name="Raise"/>
  326.         <action name="Unshade"/>
  327.       </mousebind>
  328.       <mousebind button="A-Right" action="Drag">
  329.         <action name="Resize"/>
  330.       </mousebind>
  331.       <mousebind button="A-Middle" action="Press">
  332.         <action name="Lower"/>
  333.         <action name="FocusToBottom"/>
  334.         <action name="Unfocus"/>
  335.       </mousebind>
  336.       <mousebind button="A-Up" action="Click">
  337.         <action name="DesktopPrevious"/>
  338.       </mousebind>
  339.       <mousebind button="A-Down" action="Click">
  340.         <action name="DesktopNext"/>
  341.       </mousebind>
  342.       <mousebind button="C-A-Up" action="Click">
  343.         <action name="DesktopPrevious"/>
  344.       </mousebind>
  345.       <mousebind button="C-A-Down" action="Click">
  346.         <action name="DesktopNext"/>
  347.       </mousebind>
  348.       <mousebind button="A-S-Up" action="Click">
  349.         <action name="SendToDesktopPrevious"/>
  350.       </mousebind>
  351.       <mousebind button="A-S-Down" action="Click">
  352.         <action name="SendToDesktopNext"/>
  353.       </mousebind>
  354.     </context>
  355.     <context name="Titlebar">
  356.       <mousebind button="Left" action="Press">
  357.         <action name="Focus"/>
  358.         <action name="Raise"/>
  359.       </mousebind>
  360.       <mousebind button="Left" action="Drag">
  361.         <action name="Move"/>
  362.       </mousebind>
  363.       <mousebind button="Left" action="DoubleClick">
  364.         <action name="ToggleShade"/>
  365.       </mousebind>
  366.       <mousebind button="Middle" action="Press">
  367.         <action name="Lower"/>
  368.         <action name="FocusToBottom"/>
  369.         <action name="Unfocus"/>
  370.       </mousebind>
  371.       <mousebind button="Up" action="Click">
  372.         <action name="Shade"/>
  373.         <action name="FocusToBottom"/>
  374.         <action name="Unfocus"/>
  375.       </mousebind>
  376.       <mousebind button="Down" action="Click">
  377.         <action name="Unshade"/>
  378.       </mousebind>
  379.       <mousebind button="Right" action="Press">
  380.         <action name="Focus"/>
  381.         <action name="Raise"/>
  382.         <action name="ShowMenu">
  383.           <menu>client-menu</menu>
  384.         </action>
  385.       </mousebind>
  386.       <mousebind button="A-Left" action="DoubleClick">
  387.         <action name="GrowToEdgeWest"/>
  388.         <action name="GrowToEdgeEast"/>
  389.       </mousebind>
  390.     </context>
  391.     <context name="Top">
  392.       <mousebind button="Left" action="Press">
  393.         <action name="Focus"/>
  394.         <action name="Raise"/>
  395.         <action name="Unshade"/>
  396.       </mousebind>
  397.       <mousebind button="Left" action="Drag">
  398.         <action name="Resize">
  399.           <edge>top</edge>
  400.         </action>
  401.       </mousebind>
  402.     </context>
  403.     <context name="Left">
  404.       <mousebind button="Left" action="Press">
  405.         <action name="Focus"/>
  406.         <action name="Raise"/>
  407.       </mousebind>
  408.       <mousebind button="Left" action="Drag">
  409.         <action name="Resize">
  410.           <edge>left</edge>
  411.         </action>
  412.       </mousebind>
  413.     </context>
  414.     <context name="Right">
  415.       <mousebind button="Left" action="Press">
  416.         <action name="Focus"/>
  417.         <action name="Raise"/>
  418.       </mousebind>
  419.       <mousebind button="Left" action="Drag">
  420.         <action name="Resize">
  421.           <edge>right</edge>
  422.         </action>
  423.       </mousebind>
  424.     </context>
  425.     <context name="Bottom">
  426.       <mousebind button="Left" action="Press">
  427.         <action name="Focus"/>
  428.         <action name="Raise"/>
  429.       </mousebind>
  430.       <mousebind button="Left" action="Drag">
  431.         <action name="Resize">
  432.           <edge>bottom</edge>
  433.         </action>
  434.       </mousebind>
  435.       <mousebind button="Middle" action="Press">
  436.         <action name="Lower"/>
  437.         <action name="FocusToBottom"/>
  438.         <action name="Unfocus"/>
  439.       </mousebind>
  440.       <mousebind button="Right" action="Press">
  441.         <action name="Focus"/>
  442.         <action name="Raise"/>
  443.         <action name="ShowMenu">
  444.           <menu>client-menu</menu>
  445.         </action>
  446.       </mousebind>
  447.     </context>
  448.     <context name="BLCorner">
  449.       <mousebind button="Left" action="Press">
  450.         <action name="Focus"/>
  451.         <action name="Raise"/>
  452.       </mousebind>
  453.       <mousebind button="Left" action="Drag">
  454.         <action name="Resize"/>
  455.       </mousebind>
  456.     </context>
  457.     <context name="BRCorner">
  458.       <mousebind button="Left" action="Press">
  459.         <action name="Focus"/>
  460.         <action name="Raise"/>
  461.       </mousebind>
  462.       <mousebind button="Left" action="Drag">
  463.         <action name="Resize"/>
  464.       </mousebind>
  465.     </context>
  466.     <context name="TLCorner">
  467.       <mousebind button="Left" action="Press">
  468.         <action name="Focus"/>
  469.         <action name="Raise"/>
  470.         <action name="Unshade"/>
  471.       </mousebind>
  472.       <mousebind button="Left" action="Drag">
  473.         <action name="Resize"/>
  474.       </mousebind>
  475.     </context>
  476.     <context name="TRCorner">
  477.       <mousebind button="Left" action="Press">
  478.         <action name="Focus"/>
  479.         <action name="Raise"/>
  480.         <action name="Unshade"/>
  481.       </mousebind>
  482.       <mousebind button="Left" action="Drag">
  483.         <action name="Resize"/>
  484.       </mousebind>
  485.     </context>
  486.     <context name="Client">
  487.       <mousebind button="A-Right" action="Press">
  488.         <action name="Resize"/>
  489.         <action name="Focus"/>
  490.         <action name="Raise"/>
  491.       </mousebind>
  492.       <mousebind button="Left" action="Press">
  493.         <action name="Focus"/>
  494.         <action name="Raise"/>
  495.       </mousebind>
  496.       <mousebind button="Middle" action="Press">
  497.         <action name="Focus"/>
  498.         <action name="Raise"/>
  499.       </mousebind>
  500.       <mousebind button="Right" action="Press">
  501.         <action name="Focus"/>
  502.         <action name="Raise"/>
  503.       </mousebind>
  504.     </context>
  505.     <context name="Icon">
  506.       <mousebind button="Left" action="Press">
  507.         <action name="Focus"/>
  508.         <action name="Raise"/>
  509.         <action name="Unshade"/>
  510.         <action name="ShowMenu">
  511.           <menu>client-menu</menu>
  512.         </action>
  513.       </mousebind>
  514.       <mousebind button="Right" action="Press">
  515.         <action name="Focus"/>
  516.         <action name="Raise"/>
  517.         <action name="ShowMenu">
  518.           <menu>client-menu</menu>
  519.         </action>
  520.       </mousebind>
  521.     </context>
  522.     <context name="AllDesktops">
  523.       <mousebind button="Left" action="Press">
  524.         <action name="Focus"/>
  525.         <action name="Raise"/>
  526.         <action name="Unshade"/>
  527.       </mousebind>
  528.       <mousebind button="Left" action="Click">
  529.         <action name="ToggleOmnipresent"/>
  530.       </mousebind>
  531.     </context>
  532.     <context name="Shade">
  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="ToggleShade"/>
  539.       </mousebind>
  540.     </context>
  541.     <context name="Iconify">
  542.       <mousebind button="Left" action="Press">
  543.         <action name="Focus"/>
  544.         <action name="Raise"/>
  545.       </mousebind>
  546.       <mousebind button="Left" action="Click">
  547.         <action name="Iconify"/>
  548.       </mousebind>
  549.     </context>
  550.     <context name="Maximize">
  551.       <mousebind button="Left" action="Press">
  552.         <action name="Focus"/>
  553.         <action name="Raise"/>
  554.         <action name="Unshade"/>
  555.       </mousebind>
  556.       <mousebind button="Middle" action="Press">
  557.         <action name="Focus"/>
  558.         <action name="Raise"/>
  559.         <action name="Unshade"/>
  560.       </mousebind>
  561.       <mousebind button="Right" action="Press">
  562.         <action name="Focus"/>
  563.         <action name="Raise"/>
  564.         <action name="Unshade"/>
  565.       </mousebind>
  566.       <mousebind button="Left" action="Click">
  567.         <action name="ToggleMaximizeFull"/>
  568.       </mousebind>
  569.       <mousebind button="Middle" action="Click">
  570.         <action name="ToggleMaximizeVert"/>
  571.       </mousebind>
  572.       <mousebind button="Right" action="Click">
  573.         <action name="ToggleMaximizeHorz"/>
  574.       </mousebind>
  575.     </context>
  576.     <context name="Close">
  577.       <mousebind button="Left" action="Press">
  578.         <action name="Focus"/>
  579.         <action name="Raise"/>
  580.         <action name="Unshade"/>
  581.       </mousebind>
  582.       <mousebind button="Left" action="Click">
  583.         <action name="Close"/>
  584.       </mousebind>
  585.       <mousebind button="Right" action="Click">
  586.         <action name="Execute">
  587.           <execute>xkill</execute>
  588.         </action>
  589.       </mousebind>
  590.     </context>
  591.     <context name="Desktop">
  592.       <mousebind button="Up" action="Press">
  593.         <action name="DesktopPrevious"/>
  594.       </mousebind>
  595.       <mousebind button="Down" action="Press">
  596.         <action name="DesktopNext"/>
  597.       </mousebind>
  598.       <mousebind button="A-Up" action="Press">
  599.         <action name="DesktopPrevious"/>
  600.       </mousebind>
  601.       <mousebind button="A-Down" action="Press">
  602.         <action name="DesktopNext"/>
  603.       </mousebind>
  604.       <mousebind button="C-A-Up" action="Press">
  605.         <action name="DesktopPrevious"/>
  606.       </mousebind>
  607.       <mousebind button="C-A-Down" action="Press">
  608.         <action name="DesktopNext"/>
  609.       </mousebind>
  610.       <mousebind button="Left" action="Press">
  611.         <action name="Focus"/>
  612.         <action name="Raise"/>
  613.       </mousebind>
  614.     </context>
  615.     <context name="Root">
  616.       <!-- Menus -->
  617.       <mousebind button="Middle" action="Press">
  618.         <action name="ShowMenu">
  619.           <menu>client-list-combined-menu</menu>
  620.         </action>
  621.       </mousebind>
  622.       <mousebind button="Right" action="Press">
  623.         <action name="ShowMenu">
  624.           <menu>root-menu</menu>
  625.         </action>
  626.       </mousebind>
  627.     </context>
  628.     <context name="MoveResize">
  629.       <mousebind button="Up" action="Press">
  630.         <action name="DesktopPrevious"/>
  631.       </mousebind>
  632.       <mousebind button="Down" action="Press">
  633.         <action name="DesktopNext"/>
  634.       </mousebind>
  635.       <mousebind button="A-Up" action="Press">
  636.         <action name="DesktopPrevious"/>
  637.       </mousebind>
  638.       <mousebind button="A-Down" action="Press">
  639.         <action name="DesktopNext"/>
  640.       </mousebind>
  641.     </context>
  642.     <screenEdgeWarpTime>400</screenEdgeWarpTime>
  643.   </mouse>
  644.   <menu>
  645.     <!-- You can specify more than one menu file in here and they are all loaded,
  646.       just don't make menu ids clash or, well, it'll be kind of pointless -->
  647.     <!-- default menu file (or custom one in $HOME/.config/openbox/) -->
  648.     <file>menu.xml</file>
  649.     <hideDelay>200</hideDelay>
  650.     <middle>no</middle>
  651.     <submenuShowDelay>100</submenuShowDelay>
  652.     <applicationIcons>yes</applicationIcons>
  653.     <manageDesktops>no</manageDesktops>
  654.   </menu>
  655.   <applications>
  656.     <!--
  657.  # this is an example with comments through out. use these to make your
  658.  # own rules, but without the comments of course.
  659.  
  660.  <application name="first element of window's WM_CLASS property (see xprop)"
  661.              class="second element of window's WM_CLASS property (see xprop)"
  662.               role="the window's WM_WINDOW_ROLE property (see xprop)">
  663.  # the name or the class can be set, or both. this is used to match
  664.  # windows when they appear. role can optionally be set as well, to
  665.  # further restrict your matches.
  666.  
  667.  # the name, class, and role use simple wildcard matching such as those
  668.  # used by a shell. you can use * to match any characters and ? to match
  669.  # any single character.
  670.  
  671.  # when multiple rules match a window, they will all be applied, in the
  672.  # order that they appear in this list
  673.  
  674.  
  675.    # each element can be left out or set to 'default' to specify to not
  676.    # change that attribute of the window
  677.  
  678.    <decor>yes</decor>
  679.    # enable or disable window decorations
  680.  
  681.    <shade>no</shade>
  682.    # make the window shaded when it appears, or not
  683.  
  684.    <position>
  685.      # the position is only used if both an x and y coordinate are provided
  686.      # (and not set to 'default')
  687.      <x>center</x>
  688.      # a number like 50, or 'center' to center on screen
  689.      <y>200</y>
  690.      # a number like 50, or 'center' to center on screen
  691.      <monitor>1</monitor>
  692.      # specifies the monitor in a xinerama setup.
  693.      # 1 is the first head, or 'mouse' for wherever the mouse is
  694.    </position>
  695.  
  696.    <focus>yes</focus>
  697.    # if the window should try be given focus when it appears. if this is set
  698.    # to yes it doesn't guarantee the window will be given focus. some
  699.    # restrictions may apply, but Openbox will try to
  700.  
  701.    <desktop>1</desktop>
  702.    # 1 is the first desktop, 'all' for all desktops
  703.  
  704.    <layer>normal</layer>
  705.    # 'above', 'normal', or 'below'
  706.  
  707.    <iconic>no</iconic>
  708.    # make the window iconified when it appears, or not
  709.  
  710.    <skip_pager>no</skip_pager>
  711.    # asks to not be shown in pagers
  712.  
  713.    <skip_taskbar>no</skip_taskbar>
  714.    # asks to not be shown in taskbars. window cycling actions will also
  715.    # skip past such windows
  716.  
  717.    <fullscreen>yes</fullscreen>
  718.    # make the window in fullscreen mode when it appears
  719.  
  720.    <maximized>true</maximized>
  721.    # 'Horizontal', 'Vertical' or boolean (yes/no)
  722.  </application>
  723.  
  724.  # end of the example
  725. -->
  726.     <application name="orage">
  727.       <decor>no</decor>
  728.       <shade>no</shade>
  729.       <skip_pager>yes</skip_pager>
  730.       <skip_taskbar>no</skip_taskbar>
  731.       <fullscreen>no</fullscreen>
  732.       <maximized>no</maximized>
  733.     </application>
  734.     <application name="gmessage">
  735.       <decor>no</decor>
  736.       <shade>no</shade>
  737.       <skip_pager>yes</skip_pager>
  738.       <skip_taskbar>yes</skip_taskbar>
  739.       <fullscreen>no</fullscreen>
  740.       <maximized>no</maximized>
  741.     </application>
  742.     <application name="xpad">
  743.       <decor>no</decor>
  744.       <shade>no</shade>
  745.       <skip_pager>no</skip_pager>
  746.       <skip_taskbar>no</skip_taskbar>
  747.       <fullscreen>no</fullscreen>
  748.       <maximized>no</maximized>
  749.     </application>
  750.     <application name="urxvt">
  751.       <decor>no</decor>
  752.       <decor>no</decor>
  753.       <skip_pager>no</skip_pager>
  754.       <skip_taskbar>no</skip_taskbar>
  755.       <fullscreen>yes</fullscreen>
  756.       <maximized>no</maximized>
  757.       <desktop>3</desktop>
  758.       <layer>bottom</layer>
  759.     </application>
  760.   </applications>
  761.   <margins>
  762.     <left>0</left>
  763.     <right>0</right>
  764.     <top>0</top>
  765.     <bottom>0</bottom>
  766.   </margins>
  767. </openbox_config>
  768.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement