Advertisement
Khor

rc.xml

Jan 15th, 2014
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 23.77 KB | None | 0 0
  1. <?xml version="1.0"?>
  2. <openbox_config xmlns="http://openbox.org/3.4/rc" xmlns:xi="http://www.w3.org/2001/XInclude">
  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.     <followMouse>no</followMouse>
  12.     <!-- move focus to a window when you move the mouse into it -->
  13.     <focusLast>yes</focusLast>
  14.     <!-- focus the last used window when changing desktops, instead of the one
  15.       under the mouse pointer. when followMouse is enabled -->
  16.     <underMouse>no</underMouse>
  17.     <!-- move focus under the mouse, even when the mouse is not moving -->
  18.     <focusDelay>250</focusDelay>
  19.     <!-- when followMouse is enabled, the mouse must be inside the window for
  20.       this many milliseconds (1000 = 1 sec) before moving focus to it -->
  21.     <raiseOnFocus>no</raiseOnFocus>
  22.     <!-- when followMouse is enabled, and a window is given focus by moving the
  23.       mouse into it, also raise the window -->
  24.   </focus>
  25.   <placement>
  26.     <policy>Smart</policy>
  27.     <!-- 'Smart' or 'UnderMouse' -->
  28.     <monitor>Primary</monitor>
  29.     <!-- with Smart placement on a multi-monitor system, try to place new windows
  30.       on: 'Any' - any monitor, 'Mouse' - where the mouse is, 'Active' - where
  31.       the active window is, 'Primary' - only on the primary monitor -->
  32.     <primaryMonitor>1</primaryMonitor>
  33.     <!-- The monitor where Openbox should place popup dialogs such as the
  34.       focus cycling popup, or the desktop switch popup.  It can be an index
  35.       from 1, specifying a particular monitor.  Or it can be one of the
  36.       following: 'Mouse' - where the mouse is, or
  37.                  'Active' - where the active window is -->
  38.   </placement>
  39.   <theme>
  40.     <name>Moka</name>
  41.     <titleLayout>NLIMC</titleLayout>
  42.     <!--
  43.      available characters are NDSLIMC, each can occur at most once.
  44.      N: window icon
  45.      L: window label (AKA title).
  46.      I: iconify
  47.      M: maximize
  48.      C: close
  49.      S: shade (roll up/down)
  50.      D: omnipresent (on all desktops).
  51.  -->
  52.     <keepBorder>yes</keepBorder>
  53.     <animateIconify>yes</animateIconify>
  54.     <font place="ActiveWindow">
  55.       <name>Droid Sans</name>
  56.       <size>10</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="InactiveWindow">
  64.       <name>Droid Sans</name>
  65.       <size>10</size>
  66.       <!-- font size in points -->
  67.       <weight>Normal</weight>
  68.       <!-- 'bold' or 'normal' -->
  69.       <slant>Normal</slant>
  70.       <!-- 'italic' or 'normal' -->
  71.     </font>
  72.     <font place="MenuHeader">
  73.       <name>Droid Sans</name>
  74.       <size>9</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="MenuItem">
  82.       <name>Droid Sans</name>
  83.       <size>9</size>
  84.       <!-- font size in points -->
  85.       <weight>Normal</weight>
  86.       <!-- 'bold' or 'normal' -->
  87.       <slant>Normal</slant>
  88.       <!-- 'italic' or 'normal' -->
  89.     </font>
  90.     <font place="ActiveOnScreenDisplay">
  91.       <name>Droid Sans</name>
  92.       <size>9</size>
  93.       <!-- font size in points -->
  94.       <weight>Bold</weight>
  95.       <!-- 'bold' or 'normal' -->
  96.       <slant>Normal</slant>
  97.       <!-- 'italic' or 'normal' -->
  98.     </font>
  99.     <font place="InactiveOnScreenDisplay">
  100.       <name>Droid Sans</name>
  101.       <size>9</size>
  102.       <!-- font size in points -->
  103.       <weight>Bold</weight>
  104.       <!-- 'bold' or 'normal' -->
  105.       <slant>Normal</slant>
  106.       <!-- 'italic' or 'normal' -->
  107.     </font>
  108.   </theme>
  109.   <desktops>
  110.     <!-- this stuff is only used at startup, pagers allow you to change them
  111.       during a session
  112.  
  113.       these are default values to use when other ones are not already set
  114.       by other applications, or saved in your session
  115.  
  116.       use obconf if you want to change these without having to log out
  117.       and back in -->
  118.     <number>4</number>
  119.     <firstdesk>1</firstdesk>
  120.     <names>
  121.       <name>1st Desktop</name>
  122.       <name>2nd Desktop</name>
  123.       <name>3rd Desktop</name>
  124.       <name>4th Desktop</name>
  125.     </names>
  126.     <popupTime>825</popupTime>
  127.     <!-- The number of milliseconds to show the popup for when switching
  128.       desktops.  Set this to 0 to disable the popup. -->
  129.   </desktops>
  130.   <resize>
  131.     <drawContents>yes</drawContents>
  132.     <popupShow>Nonpixel</popupShow>
  133.     <!-- 'Always', 'Never', or 'Nonpixel' (xterms and such) -->
  134.     <popupPosition>Center</popupPosition>
  135.     <!-- 'Center', 'Top', or 'Fixed' -->
  136.     <popupFixedPosition>
  137.       <!-- these are used if popupPosition is set to 'Fixed' -->
  138.       <x>10</x>
  139.       <!-- positive number for distance from left edge, negative number for
  140.         distance from right edge, or 'Center' -->
  141.       <y>10</y>
  142.       <!-- positive number for distance from top edge, negative number for
  143.         distance from bottom edge, or 'Center' -->
  144.     </popupFixedPosition>
  145.   </resize>
  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.   <dock>
  157.     <position>TopLeft</position>
  158.     <!-- (Top|Bottom)(Left|Right|)|Top|Bottom|Left|Right|Floating -->
  159.     <floatingX>0</floatingX>
  160.     <floatingY>0</floatingY>
  161.     <noStrut>no</noStrut>
  162.     <stacking>Above</stacking>
  163.     <!-- 'Above', 'Normal', or 'Below' -->
  164.     <direction>Vertical</direction>
  165.     <!-- 'Vertical' or 'Horizontal' -->
  166.     <autoHide>no</autoHide>
  167.     <hideDelay>300</hideDelay>
  168.     <!-- in milliseconds (1000 = 1 second) -->
  169.     <showDelay>300</showDelay>
  170.     <!-- in milliseconds (1000 = 1 second) -->
  171.     <moveButton>Middle</moveButton>
  172.     <!-- 'Left', 'Middle', 'Right' -->
  173.   </dock>
  174.   <keyboard>
  175.     <chainQuitKey>C-g</chainQuitKey>
  176.     <keybind key="C-A-Left">
  177.       <action name="GoToDesktop"/>
  178.     </keybind>
  179.     <keybind key="W-F11">
  180.       <action name="ToggleFullscreen"/>
  181.     </keybind>
  182.     <keybind key="A-F2">
  183.       <action name="Execute">
  184.         <command>xfce4-appfinder --collapsed</command>
  185.       </action>
  186.     </keybind>
  187.     <keybind key="C-A-t">
  188.       <action name="Execute">
  189.         <command>xfce4-terminal</command>
  190.       </action>
  191.     </keybind>
  192.     <keybind key="W-w">
  193.       <action name="Execute">
  194.         <command>firefox</command>
  195.       </action>
  196.     </keybind>
  197.     <keybind key="W-f">
  198.       <action name="Execute">
  199.         <command>thunar</command>
  200.       </action>
  201.     </keybind>
  202.     <keybind key="W-d">
  203.       <action name="ToggleShowDesktop"/>
  204.     </keybind>
  205.     <keybind key="A-F4">
  206.       <action name="Close"/>
  207.     </keybind>
  208.     <keybind key="A-Escape">
  209.       <action name="Lower"/>
  210.       <action name="FocusToBottom"/>
  211.       <action name="Unfocus"/>
  212.     </keybind>
  213.     <keybind key="A-space">
  214.       <action name="ShowMenu">
  215.         <menu>client-menu</menu>
  216.       </action>
  217.     </keybind>
  218.     <keybind key="A-Tab">
  219.       <action name="NextWindow"/>
  220.     </keybind>
  221.     <keybind key="A-S-Tab">
  222.       <action name="PreviousWindow"/>
  223.     </keybind>
  224.     <keybind key="C-A-Tab">
  225.       <action name="NextWindow">
  226.         <panels>yes</panels>
  227.         <desktop>yes</desktop>
  228.       </action>
  229.     </keybind>
  230.     <keybind key="W-e">
  231.       <action name="Execute">
  232.         <command>geany</command>
  233.         <startupnotify>
  234.           <enabled>yes</enabled>
  235.           <name>Konqueror</name>
  236.         </startupnotify>
  237.       </action>
  238.     </keybind>
  239.     <keybind key="W-Right">
  240.       <action name="DesktopRight"/>
  241.     </keybind>
  242.     <keybind key="W-Left">
  243.       <action name="DesktopLeft"/>
  244.     </keybind>
  245.     <keybind key="A-W-Right">
  246.       <action name="SendToDesktopRight"/>
  247.     </keybind>
  248.     <keybind key="A-W-Left">
  249.       <action name="SendToDesktopLeft"/>
  250.     </keybind>
  251.     <keybind key="W-Up">
  252.       <action name="ToggleMaximizeFull"/>
  253.     </keybind>
  254.   </keyboard>
  255.   <mouse>
  256.     <dragThreshold>1</dragThreshold>
  257.     <!-- number of pixels the mouse must move before a drag begins -->
  258.     <doubleClickTime>500</doubleClickTime>
  259.     <!-- in milliseconds (1000 = 1 second) -->
  260.     <screenEdgeWarpTime>400</screenEdgeWarpTime>
  261.     <!-- Time before changing desktops when the pointer touches the edge of the
  262.       screen while moving a window, in milliseconds (1000 = 1 second).
  263.       Set this to 0 to disable warping -->
  264.     <screenEdgeWarpMouse>false</screenEdgeWarpMouse>
  265.     <!-- Set this to TRUE to move the mouse pointer across the desktop when
  266.       switching due to hitting the edge of the screen -->
  267.     <context name="Frame">
  268.       <mousebind action="Press" button="A-Left">
  269.         <action name="Focus"/>
  270.         <action name="Raise"/>
  271.       </mousebind>
  272.       <mousebind action="Click" button="A-Left">
  273.         <action name="Unshade"/>
  274.       </mousebind>
  275.       <mousebind action="Drag" button="A-Left">
  276.         <action name="Move"/>
  277.       </mousebind>
  278.       <mousebind action="Press" button="A-Right">
  279.         <action name="Focus"/>
  280.         <action name="Raise"/>
  281.         <action name="Unshade"/>
  282.       </mousebind>
  283.       <mousebind action="Drag" button="A-Right">
  284.         <action name="Resize"/>
  285.       </mousebind>
  286.       <mousebind action="Press" button="A-Middle">
  287.         <action name="Lower"/>
  288.         <action name="FocusToBottom"/>
  289.         <action name="Unfocus"/>
  290.       </mousebind>
  291.       <mousebind action="Click" button="A-Up">
  292.         <action name="GoToDesktop">
  293.           <to>previous</to>
  294.         </action>
  295.       </mousebind>
  296.       <mousebind action="Click" button="A-Down">
  297.         <action name="GoToDesktop">
  298.           <to>next</to>
  299.         </action>
  300.       </mousebind>
  301.       <mousebind action="Click" button="C-A-Up">
  302.         <action name="GoToDesktop">
  303.           <to>previous</to>
  304.         </action>
  305.       </mousebind>
  306.       <mousebind action="Click" button="C-A-Down">
  307.         <action name="GoToDesktop">
  308.           <to>next</to>
  309.         </action>
  310.       </mousebind>
  311.       <mousebind action="Click" button="A-S-Up">
  312.         <action name="SendToDesktop">
  313.           <to>previous</to>
  314.         </action>
  315.       </mousebind>
  316.       <mousebind action="Click" button="A-S-Down">
  317.         <action name="SendToDesktop">
  318.           <to>next</to>
  319.         </action>
  320.       </mousebind>
  321.     </context>
  322.     <context name="Titlebar">
  323.       <mousebind action="Drag" button="Left">
  324.         <action name="Move"/>
  325.       </mousebind>
  326.       <mousebind action="DoubleClick" button="Left">
  327.         <action name="ToggleMaximizeFull"/>
  328.       </mousebind>
  329.       <mousebind action="Click" button="Up">
  330.         <action name="if">
  331.           <shaded>no</shaded>
  332.           <then>
  333.             <action name="Shade"/>
  334.             <action name="FocusToBottom"/>
  335.             <action name="Unfocus"/>
  336.             <action name="Lower"/>
  337.           </then>
  338.         </action>
  339.       </mousebind>
  340.       <mousebind action="Click" button="Down">
  341.         <action name="if">
  342.           <shaded>yes</shaded>
  343.           <then>
  344.             <action name="Unshade"/>
  345.             <action name="Raise"/>
  346.           </then>
  347.         </action>
  348.       </mousebind>
  349.     </context>
  350.     <context name="Titlebar Top Right Bottom Left TLCorner TRCorner BRCorner BLCorner">
  351.       <mousebind action="Press" button="Left">
  352.         <action name="Focus"/>
  353.         <action name="Raise"/>
  354.         <action name="Unshade"/>
  355.       </mousebind>
  356.       <mousebind action="Press" button="Middle">
  357.         <action name="Lower"/>
  358.         <action name="FocusToBottom"/>
  359.         <action name="Unfocus"/>
  360.       </mousebind>
  361.       <mousebind action="Press" button="Right">
  362.         <action name="Focus"/>
  363.         <action name="Raise"/>
  364.         <action name="ShowMenu">
  365.           <menu>client-menu</menu>
  366.         </action>
  367.       </mousebind>
  368.     </context>
  369.     <context name="Top">
  370.       <mousebind action="Drag" button="Left">
  371.         <action name="Resize">
  372.           <edge>top</edge>
  373.         </action>
  374.       </mousebind>
  375.     </context>
  376.     <context name="Left">
  377.       <mousebind action="Drag" button="Left">
  378.         <action name="Resize">
  379.           <edge>left</edge>
  380.         </action>
  381.       </mousebind>
  382.     </context>
  383.     <context name="Right">
  384.       <mousebind action="Drag" button="Left">
  385.         <action name="Resize">
  386.           <edge>right</edge>
  387.         </action>
  388.       </mousebind>
  389.     </context>
  390.     <context name="Bottom">
  391.       <mousebind action="Drag" button="Left">
  392.         <action name="Resize">
  393.           <edge>bottom</edge>
  394.         </action>
  395.       </mousebind>
  396.       <mousebind action="Press" button="Right">
  397.         <action name="Focus"/>
  398.         <action name="Raise"/>
  399.         <action name="ShowMenu">
  400.           <menu>client-menu</menu>
  401.         </action>
  402.       </mousebind>
  403.     </context>
  404.     <context name="TRCorner BRCorner TLCorner BLCorner">
  405.       <mousebind action="Press" button="Left">
  406.         <action name="Focus"/>
  407.         <action name="Raise"/>
  408.         <action name="Unshade"/>
  409.       </mousebind>
  410.       <mousebind action="Drag" button="Left">
  411.         <action name="Resize"/>
  412.       </mousebind>
  413.     </context>
  414.     <context name="Client">
  415.       <mousebind action="Press" button="Left">
  416.         <action name="Focus"/>
  417.         <action name="Raise"/>
  418.       </mousebind>
  419.       <mousebind action="Press" button="Middle">
  420.         <action name="Focus"/>
  421.         <action name="Raise"/>
  422.       </mousebind>
  423.       <mousebind action="Press" button="Right">
  424.         <action name="Focus"/>
  425.         <action name="Raise"/>
  426.       </mousebind>
  427.     </context>
  428.     <context name="Icon">
  429.       <mousebind action="Press" button="Left">
  430.         <action name="Focus"/>
  431.         <action name="Raise"/>
  432.         <action name="Unshade"/>
  433.         <action name="ShowMenu">
  434.           <menu>client-menu</menu>
  435.         </action>
  436.       </mousebind>
  437.       <mousebind action="Press" button="Right">
  438.         <action name="Focus"/>
  439.         <action name="Raise"/>
  440.         <action name="ShowMenu">
  441.           <menu>client-menu</menu>
  442.         </action>
  443.       </mousebind>
  444.     </context>
  445.     <context name="AllDesktops">
  446.       <mousebind action="Press" button="Left">
  447.         <action name="Focus"/>
  448.         <action name="Raise"/>
  449.         <action name="Unshade"/>
  450.       </mousebind>
  451.       <mousebind action="Click" button="Left">
  452.         <action name="ToggleOmnipresent"/>
  453.       </mousebind>
  454.     </context>
  455.     <context name="Shade">
  456.       <mousebind action="Press" button="Left">
  457.         <action name="Focus"/>
  458.         <action name="Raise"/>
  459.       </mousebind>
  460.       <mousebind action="Click" button="Left">
  461.         <action name="ToggleShade"/>
  462.       </mousebind>
  463.     </context>
  464.     <context name="Iconify">
  465.       <mousebind action="Press" button="Left">
  466.         <action name="Focus"/>
  467.         <action name="Raise"/>
  468.       </mousebind>
  469.       <mousebind action="Click" button="Left">
  470.         <action name="Iconify"/>
  471.       </mousebind>
  472.     </context>
  473.     <context name="Maximize">
  474.       <mousebind action="Press" button="Left">
  475.         <action name="Focus"/>
  476.         <action name="Raise"/>
  477.         <action name="Unshade"/>
  478.       </mousebind>
  479.       <mousebind action="Press" button="Middle">
  480.         <action name="Focus"/>
  481.         <action name="Raise"/>
  482.         <action name="Unshade"/>
  483.       </mousebind>
  484.       <mousebind action="Press" button="Right">
  485.         <action name="Focus"/>
  486.         <action name="Raise"/>
  487.         <action name="Unshade"/>
  488.       </mousebind>
  489.       <mousebind action="Click" button="Left">
  490.         <action name="ToggleMaximize"/>
  491.       </mousebind>
  492.       <mousebind action="Click" button="Middle">
  493.         <action name="ToggleMaximize">
  494.           <direction>vertical</direction>
  495.         </action>
  496.       </mousebind>
  497.       <mousebind action="Click" button="Right">
  498.         <action name="ToggleMaximize">
  499.           <direction>horizontal</direction>
  500.         </action>
  501.       </mousebind>
  502.     </context>
  503.     <context name="Close">
  504.       <mousebind action="Press" button="Left">
  505.         <action name="Focus"/>
  506.         <action name="Raise"/>
  507.         <action name="Unshade"/>
  508.       </mousebind>
  509.       <mousebind action="Click" button="Left">
  510.         <action name="Close"/>
  511.       </mousebind>
  512.     </context>
  513.     <context name="Desktop">
  514.       <mousebind action="Click" button="Up">
  515.         <action name="GoToDesktop">
  516.           <to>previous</to>
  517.         </action>
  518.       </mousebind>
  519.       <mousebind action="Click" button="Down">
  520.         <action name="GoToDesktop">
  521.           <to>next</to>
  522.         </action>
  523.       </mousebind>
  524.       <mousebind action="Click" button="A-Up">
  525.         <action name="GoToDesktop">
  526.           <to>previous</to>
  527.         </action>
  528.       </mousebind>
  529.       <mousebind action="Click" button="A-Down">
  530.         <action name="GoToDesktop">
  531.           <to>next</to>
  532.         </action>
  533.       </mousebind>
  534.       <mousebind action="Click" button="C-A-Up">
  535.         <action name="GoToDesktop">
  536.           <to>previous</to>
  537.         </action>
  538.       </mousebind>
  539.       <mousebind action="Click" button="C-A-Down">
  540.         <action name="GoToDesktop">
  541.           <to>next</to>
  542.         </action>
  543.       </mousebind>
  544.       <mousebind action="Press" button="Left">
  545.         <action name="Focus"/>
  546.         <action name="Raise"/>
  547.       </mousebind>
  548.       <mousebind action="Press" button="Right">
  549.         <action name="Focus"/>
  550.         <action name="Raise"/>
  551.       </mousebind>
  552.     </context>
  553.     <context name="Root">
  554.       <!-- Menus -->
  555.       <mousebind action="Press" button="Middle">
  556.         <action name="ShowMenu">
  557.           <menu>client-list-combined-menu</menu>
  558.         </action>
  559.       </mousebind>
  560.       <mousebind action="Press" button="Right">
  561.         <action name="ShowMenu">
  562.           <menu>root-menu</menu>
  563.         </action>
  564.       </mousebind>
  565.     </context>
  566.     <context name="MoveResize">
  567.       <mousebind action="Click" button="Up">
  568.         <action name="GoToDesktop">
  569.           <to>previous</to>
  570.         </action>
  571.       </mousebind>
  572.       <mousebind action="Click" button="Down">
  573.         <action name="GoToDesktop">
  574.           <to>next</to>
  575.         </action>
  576.       </mousebind>
  577.       <mousebind action="Click" button="A-Up">
  578.         <action name="GoToDesktop">
  579.           <to>previous</to>
  580.         </action>
  581.       </mousebind>
  582.       <mousebind action="Click" button="A-Down">
  583.         <action name="GoToDesktop">
  584.           <to>next</to>
  585.         </action>
  586.       </mousebind>
  587.     </context>
  588.   </mouse>
  589.   <menu>
  590.     <!-- You can specify more than one menu file in here and they are all loaded,
  591.       just don't make menu ids clash or, well, it'll be kind of pointless -->
  592.     <!-- default menu file (or custom one in $HOME/.config/openbox/) -->
  593.     <file>menu.xml</file>
  594.     <hideDelay>200</hideDelay>
  595.     <!-- if a press-release lasts longer than this setting (in milliseconds), the
  596.       menu is hidden again -->
  597.     <middle>no</middle>
  598.     <!-- center submenus vertically about the parent entry -->
  599.     <submenuShowDelay>100</submenuShowDelay>
  600.     <!-- time to delay before showing a submenu after hovering over the parent
  601.       entry.
  602.       if this is a negative value, then the delay is infinite and the
  603.       submenu will not be shown until it is clicked on -->
  604.     <submenuHideDelay>400</submenuHideDelay>
  605.     <!-- time to delay before hiding a submenu when selecting another
  606.       entry in parent menu
  607.       if this is a negative value, then the delay is infinite and the
  608.       submenu will not be hidden until a different submenu is opened -->
  609.     <showIcons>yes</showIcons>
  610.     <!-- controls if icons appear in the client-list-(combined-)menu -->
  611.     <manageDesktops>yes</manageDesktops>
  612.     <!-- show the manage desktops section in the client-list-(combined-)menu -->
  613.   </menu>
  614.   <applications>
  615.     <!--
  616.  # this is an example with comments through out. use these to make your
  617.  # own rules, but without the comments of course.
  618.  # you may use one or more of the name/class/role/title/type rules to specify
  619.  # windows to match
  620.  
  621.  <application name="the window's _OB_APP_NAME property (see obxprop)"
  622.              class="the window's _OB_APP_CLASS property (see obxprop)"
  623.          groupname="the window's _OB_APP_GROUP_NAME property (see obxprop)"
  624.         groupclass="the window's _OB_APP_GROUP_CLASS property (see obxprop)"
  625.               role="the window's _OB_APP_ROLE property (see obxprop)"
  626.              title="the window's _OB_APP_TITLE property (see obxprop)"
  627.               type="the window's _OB_APP_TYPE property (see obxprob)..
  628.                      (if unspecified, then it is 'dialog' for child windows)">
  629.  # you may set only one of name/class/role/title/type, or you may use more
  630.  # than one together to restrict your matches.
  631.  
  632.  # the name, class, role, and title use simple wildcard matching such as those
  633.  # used by a shell. you can use * to match any characters and ? to match
  634.  # any single character.
  635.  
  636.  # the type is one of: normal, dialog, splash, utility, menu, toolbar, dock,
  637.  #    or desktop
  638.  
  639.  # when multiple rules match a window, they will all be applied, in the
  640.  # order that they appear in this list
  641.  
  642.  
  643.    # each rule element can be left out or set to 'default' to specify to not
  644.    # change that attribute of the window
  645.  
  646.    <decor>yes</decor>
  647.    # enable or disable window decorations
  648.  
  649.    <shade>no</shade>
  650.    # make the window shaded when it appears, or not
  651.  
  652.    <position force="no">
  653.      # the position is only used if both an x and y coordinate are provided
  654.      # (and not set to 'default')
  655.      # when force is "yes", then the window will be placed here even if it
  656.      # says you want it placed elsewhere.  this is to override buggy
  657.      # applications who refuse to behave
  658.      <x>center</x>
  659.      # a number like 50, or 'center' to center on screen. use a negative number
  660.      # to start from the right (or bottom for <y>), ie -50 is 50 pixels from
  661.      # the right edge (or bottom). use 'default' to specify using value
  662.      # provided by the application, or chosen by openbox, instead.
  663.      <y>200</y>
  664.      <monitor>1</monitor>
  665.      # specifies the monitor in a xinerama setup.
  666.      # 1 is the first head, or 'mouse' for wherever the mouse is
  667.    </position>
  668.  
  669.    <size>
  670.      # the size to make the window.
  671.      <width>20</width>
  672.      # a number like 20, or 'default' to use the size given by the application.
  673.      # you can use fractions such as 1/2 or percentages such as 75% in which
  674.      # case the value is relative to the size of the monitor that the window
  675.      # appears on.
  676.      <height>30%</height>
  677.    </size>
  678.  
  679.    <focus>yes</focus>
  680.    # if the window should try be given focus when it appears. if this is set
  681.    # to yes it doesn't guarantee the window will be given focus. some
  682.    # restrictions may apply, but Openbox will try to
  683.  
  684.    <desktop>1</desktop>
  685.    # 1 is the first desktop, 'all' for all desktops
  686.  
  687.    <layer>normal</layer>
  688.    # 'above', 'normal', or 'below'
  689.  
  690.    <iconic>no</iconic>
  691.    # make the window iconified when it appears, or not
  692.  
  693.    <skip_pager>no</skip_pager>
  694.    # asks to not be shown in pagers
  695.  
  696.    <skip_taskbar>no</skip_taskbar>
  697.    # asks to not be shown in taskbars. window cycling actions will also
  698.    # skip past such windows
  699.  
  700.    <fullscreen>yes</fullscreen>
  701.    # make the window in fullscreen mode when it appears
  702.  
  703.    <maximized>true</maximized>
  704.    # 'Horizontal', 'Vertical' or boolean (yes/no)
  705.  </application>
  706.  
  707.  # end of the example
  708. -->
  709.   </applications>
  710. </openbox_config>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement