Advertisement
Guest User

rc.xml

a guest
Nov 27th, 2015
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 16.54 KB | None | 0 0
  1. vim .config/openbox/rc.xml
  2.  
  3.  
  4. <openbox_config xmlns="http://openbox.org/3.4/rc">
  5.   <resistance>
  6.     <strength>10</strength>
  7.     <screen_edge_strength>20</screen_edge_strength>
  8.   </resistance>
  9.   <focus>
  10.     <focusNew>yes</focusNew>
  11.        apply -->
  12.     <followMouse>no</followMouse>
  13.     <focusLast>yes</focusLast>
  14.     <underMouse>no</underMouse>
  15.     <focusDelay>200</focusDelay>
  16.     <raiseOnFocus>no</raiseOnFocus>
  17.   </focus>
  18.   <placement>
  19.     <policy>Smart</policy>
  20.     <center>yes</center>
  21.     <monitor>Any</monitor>
  22.   </placement>
  23.   <theme>
  24.     <name>statler</name>
  25.     <titleLayout>DSLIMC</titleLayout>
  26.     <keepBorder>yes</keepBorder>
  27.     <animateIconify>no</animateIconify>
  28.     <font place="ActiveWindow">
  29.       <name>Liberation Sans</name>
  30.       <size>10</size>
  31.       <weight>Bold</weight>
  32.       <slant>Normal</slant>
  33.     </font>
  34.     <font place="InactiveWindow">
  35.       <name>Liberation Sans</name>
  36.       <size>10</size>
  37.       <!-- font size in points -->
  38.       <weight>Normal</weight>
  39.       <!-- 'bold' or 'normal' -->
  40.       <slant>Normal</slant>
  41.       <!-- 'italic' or 'normal' -->
  42.     </font>
  43.     <font place="MenuHeader">
  44.       <name>Liberation Sans</name>
  45.       <size>10</size>
  46.       <weight>Normal</weight>
  47.       <slant>Normal</slant>
  48.     </font>
  49.     <font place="MenuItem">
  50.       <name>Liberation Sans</name>
  51.       <size>10</size>
  52.       <weight>Normal</weight>
  53.       <slant>Normal</slant>
  54.     </font>
  55.     <font place="OnScreenDisplay">
  56.       <name>Liberation Sans</name>
  57.       <size>10</size>
  58.       <weight>Normal</weight>
  59.       <slant>Normal</slant>
  60.     </font>
  61.   </theme>
  62.   <desktops>
  63.     <number>2</number>
  64.     <firstdesk>1</firstdesk>
  65.     <names>
  66.       <name>1</name>
  67.       <name>2</name>
  68.       <name>3</name>
  69.       <name>4</name>
  70.     </names>
  71.     <popupTime>875</popupTime>
  72.   </desktops>
  73.   <resize>
  74.     <drawContents>yes</drawContents>
  75.     <popupShow>Nonpixel</popupShow>
  76.     <popupPosition>Center</popupPosition>
  77.     <popupFixedPosition>
  78.       <x>0</x>
  79.       <y>0</y>
  80.     </popupFixedPosition>
  81.   </resize>
  82.   <margins>
  83.     <top>1</top>
  84.     <bottom>0</bottom>
  85.     <left>0</left>
  86.     <right>0</right>
  87.   </margins>
  88.   <dock>
  89.     <position>TopLeft</position>
  90.     <floatingX>0</floatingX>
  91.     <floatingY>0</floatingY>
  92.     <noStrut>no</noStrut>
  93.     <stacking>Above</stacking>
  94.     <direction>Vertical</direction>
  95.     <autoHide>no</autoHide>
  96.     <hideDelay>300</hideDelay>
  97.     <showDelay>300</showDelay>
  98.     <moveButton>Middle</moveButton>
  99.   </dock>
  100.   <keyboard>
  101.     <chainQuitKey>C-g</chainQuitKey>
  102.     <keybind key="C-A-Left">
  103.       <action name="DesktopLeft">
  104.         <dialog>no</dialog>
  105.         <wrap>no</wrap>
  106.       </action>
  107.     </keybind>
  108.     <keybind key="C-A-Right">
  109.       <action name="DesktopRight">
  110.         <dialog>no</dialog>
  111.         <wrap>no</wrap>
  112.       </action>
  113.     </keybind>
  114.     <keybind key="C-A-Up">
  115.       <action name="DesktopUp">
  116.         <dialog>no</dialog>
  117.         <wrap>no</wrap>
  118.       </action>
  119.     </keybind>
  120.     <keybind key="C-A-Down">
  121.       <action name="DesktopDown">
  122.         <dialog>no</dialog>
  123.         <wrap>no</wrap>
  124.       </action>
  125.     </keybind>
  126.     <keybind key="S-A-Left">
  127.       <action name="SendToDesktopLeft">
  128.         <dialog>no</dialog>
  129.         <wrap>no</wrap>
  130.       </action>
  131.     </keybind>
  132.     <keybind key="S-A-Right">
  133.       <action name="SendToDesktopRight">
  134.         <dialog>no</dialog>
  135.         <wrap>no</wrap>
  136.       </action>
  137.     </keybind>
  138.     <keybind key="S-A-Up">
  139.       <action name="SendToDesktopUp">
  140.         <dialog>no</dialog>
  141.         <wrap>no</wrap>
  142.       </action>
  143.     </keybind>
  144.     <keybind key="S-A-Down">
  145.       <action name="SendToDesktopDown">
  146.         <dialog>no</dialog>
  147.         <wrap>no</wrap>
  148.       </action>
  149.     </keybind>
  150.     <keybind key="W-F1">
  151.       <action name="Desktop">
  152.         <desktop>1</desktop>
  153.       </action>
  154.     </keybind>
  155.     <keybind key="W-F2">
  156.       <action name="Desktop">
  157.         <desktop>2</desktop>
  158.       </action>
  159.     </keybind>
  160.     <keybind key="W-F3">
  161.       <action name="Desktop">
  162.         <desktop>3</desktop>
  163.       </action>
  164.     </keybind>
  165.     <keybind key="W-F4">
  166.       <action name="Desktop">
  167.         <desktop>4</desktop>
  168.       </action>
  169.     </keybind>
  170.     <keybind key="W-d">
  171.       <action name="ToggleShowDesktop"/>
  172.     </keybind>
  173.     <keybind key="W-A-f">
  174.       <action name="GrowToEdgeNorth"/>
  175.       <action name="GrowToEdgeEast"/>
  176.       <action name="GrowToEdgeSouth"/>
  177.       <action name="GrowToEdgeWest"/>
  178.     </keybind>
  179.  
  180.     <keybind key="A-F4">
  181.       <action name="Close"/>
  182.     </keybind>
  183.     <keybind key="A-Escape">
  184.       <action name="Lower"/>
  185.       <action name="FocusToBottom"/>
  186.       <action name="Unfocus"/>
  187.     </keybind>
  188.     <keybind key="A-space">
  189.       <action name="ShowMenu">
  190.         <menu>client-menu</menu>
  191.       </action>
  192.     </keybind>
  193.     <keybind key="A-Tab">
  194.       <action name="NextWindow"/>
  195.     </keybind>
  196.     <keybind key="A-S-Tab">
  197.       <action name="PreviousWindow"/>
  198.     </keybind>
  199.     <keybind key="C-A-Tab">
  200.       <action name="NextWindow">
  201.         <panels>yes</panels>
  202.         <desktop>yes</desktop>
  203.       </action>
  204.     </keybind>
  205.     <keybind key="W-e">
  206.       <action name="Execute">
  207.         <startupnotify>
  208.           <enabled>true</enabled>
  209.           <name>pcmanfm-qt</name>
  210.         </startupnotify>
  211.         <command>pcmanfm-qt</command>
  212.       </action>
  213.     </keybind>
  214.     <keybind key="W-Tab">
  215.       <action name="ShowMenu">
  216.         <menu>client-list-combined-menu</menu>
  217.       </action>
  218.     </keybind>
  219.     <keybind key="W-space">
  220.       <action name="ShowMenu">
  221.         <menu>root-menu</menu>
  222.       </action>
  223.     </keybind>
  224.     <keybind key="A-C-q">
  225.       <action name="ShowMenu">
  226.         <menu>root-menu</menu>
  227.       </action>
  228.     </keybind>
  229.     <keybind key="W-Right">
  230.       <action name="GrowToEdgeEast"/>
  231.     </keybind>
  232.     <keybind key="W-Left">
  233.       <action name="GrowToEdgeWest"/>
  234.     </keybind>
  235.     <keybind key="W-Down">
  236.       <action name="GrowToEdgeSouth"/>
  237.     </keybind>
  238.     <keybind key="W-Up">
  239.       <action name="GrowToEdgeNorth"/>
  240.     </keybind>
  241.   </keyboard>
  242.   <mouse>
  243.     <dragThreshold>8</dragThreshold>
  244.     <doubleClickTime>200</doubleClickTime>
  245.     <screenEdgeWarpTime>400</screenEdgeWarpTime>
  246.     <context name="Frame">
  247.       <mousebind button="A-Left" action="Press">
  248.         <action name="Focus"/>
  249.         <action name="Raise"/>
  250.       </mousebind>
  251.       <mousebind button="A-Left" action="Click">
  252.         <action name="Unshade"/>
  253.       </mousebind>
  254.       <mousebind button="A-Left" action="Drag">
  255.         <action name="Move"/>
  256.       </mousebind>
  257.       <mousebind button="A-Right" action="Press">
  258.         <action name="Focus"/>
  259.         <action name="Raise"/>
  260.         <action name="Unshade"/>
  261.       </mousebind>
  262.       <mousebind button="A-Right" action="Drag">
  263.         <action name="Resize"/>
  264.       </mousebind>
  265.       <mousebind button="A-Middle" action="Press">
  266.         <action name="Lower"/>
  267.         <action name="FocusToBottom"/>
  268.         <action name="Unfocus"/>
  269.       </mousebind>
  270.       <mousebind button="A-Up" action="Click">
  271.         <action name="DesktopPrevious"/>
  272.       </mousebind>
  273.       <mousebind button="A-Down" action="Click">
  274.         <action name="DesktopNext"/>
  275.       </mousebind>
  276.       <mousebind button="C-A-Up" action="Click">
  277.         <action name="DesktopPrevious"/>
  278.       </mousebind>
  279.       <mousebind button="C-A-Down" action="Click">
  280.         <action name="DesktopNext"/>
  281.       </mousebind>
  282.       <mousebind button="A-S-Up" action="Click">
  283.         <action name="SendToDesktopPrevious"/>
  284.       </mousebind>
  285.       <mousebind button="A-S-Down" action="Click">
  286.         <action name="SendToDesktopNext"/>
  287.       </mousebind>
  288.     </context>
  289.     <context name="Titlebar">
  290.       <mousebind button="Left" action="Press">
  291.         <action name="Focus"/>
  292.         <action name="Raise"/>
  293.       </mousebind>
  294.       <mousebind button="Left" action="Drag">
  295.         <action name="Move"/>
  296.       </mousebind>
  297.       <mousebind button="Left" action="DoubleClick">
  298.         <action name="ToggleMaximizeFull"/>
  299.       </mousebind>
  300.       <mousebind button="Middle" action="Press">
  301.         <action name="Lower"/>
  302.         <action name="FocusToBottom"/>
  303.         <action name="Unfocus"/>
  304.       </mousebind>
  305.       <mousebind button="Up" action="Click">
  306.         <action name="Shade"/>
  307.         <action name="FocusToBottom"/>
  308.         <action name="Unfocus"/>
  309.         <action name="Lower"/>
  310.       </mousebind>
  311.       <mousebind button="Down" action="Click">
  312.         <action name="Unshade"/>
  313.         <action name="Raise"/>
  314.       </mousebind>
  315.       <mousebind button="Right" action="Press">
  316.         <action name="Focus"/>
  317.         <action name="Raise"/>
  318.         <action name="ShowMenu">
  319.           <menu>client-menu</menu>
  320.         </action>
  321.       </mousebind>
  322.     </context>
  323.     <context name="Top">
  324.       <mousebind button="Left" action="Press">
  325.         <action name="Focus"/>
  326.         <action name="Raise"/>
  327.         <action name="Unshade"/>
  328.       </mousebind>
  329.       <mousebind button="Left" action="Drag">
  330.         <action name="Resize">
  331.           <edge>top</edge>
  332.         </action>
  333.       </mousebind>
  334.     </context>
  335.     <context name="Left">
  336.       <mousebind button="Left" action="Press">
  337.         <action name="Focus"/>
  338.         <action name="Raise"/>
  339.       </mousebind>
  340.       <mousebind button="Left" action="Drag">
  341.         <action name="Resize">
  342.           <edge>left</edge>
  343.         </action>
  344.       </mousebind>
  345.     </context>
  346.     <context name="Right">
  347.       <mousebind button="Left" action="Press">
  348.         <action name="Focus"/>
  349.         <action name="Raise"/>
  350.       </mousebind>
  351.       <mousebind button="Left" action="Drag">
  352.         <action name="Resize">
  353.           <edge>right</edge>
  354.         </action>
  355.       </mousebind>
  356.     </context>
  357.     <context name="Bottom">
  358.       <mousebind button="Left" action="Press">
  359.         <action name="Focus"/>
  360.         <action name="Raise"/>
  361.       </mousebind>
  362.       <mousebind button="Left" action="Drag">
  363.         <action name="Resize">
  364.           <edge>bottom</edge>
  365.         </action>
  366.       </mousebind>
  367.       <mousebind button="Middle" action="Press">
  368.         <action name="Lower"/>
  369.         <action name="FocusToBottom"/>
  370.         <action name="Unfocus"/>
  371.       </mousebind>
  372.       <mousebind button="Right" action="Press">
  373.         <action name="Focus"/>
  374.         <action name="Raise"/>
  375.         <action name="ShowMenu">
  376.           <menu>client-menu</menu>
  377.         </action>
  378.       </mousebind>
  379.     </context>
  380.     <context name="BLCorner">
  381.       <mousebind button="Left" action="Press">
  382.         <action name="Focus"/>
  383.         <action name="Raise"/>
  384.       </mousebind>
  385.       <mousebind button="Left" action="Drag">
  386.         <action name="Resize"/>
  387.       </mousebind>
  388.     </context>
  389.     <context name="BRCorner">
  390.       <mousebind button="Left" action="Press">
  391.         <action name="Focus"/>
  392.         <action name="Raise"/>
  393.       </mousebind>
  394.       <mousebind button="Left" action="Drag">
  395.         <action name="Resize"/>
  396.       </mousebind>
  397.     </context>
  398.     <context name="TLCorner">
  399.       <mousebind button="Left" action="Press">
  400.         <action name="Focus"/>
  401.         <action name="Raise"/>
  402.         <action name="Unshade"/>
  403.       </mousebind>
  404.       <mousebind button="Left" action="Drag">
  405.         <action name="Resize"/>
  406.       </mousebind>
  407.     </context>
  408.     <context name="TRCorner">
  409.       <mousebind button="Left" action="Press">
  410.         <action name="Focus"/>
  411.         <action name="Raise"/>
  412.         <action name="Unshade"/>
  413.       </mousebind>
  414.       <mousebind button="Left" action="Drag">
  415.         <action name="Resize"/>
  416.       </mousebind>
  417.     </context>
  418.     <context name="Client">
  419.       <mousebind button="Left" action="Press">
  420.         <action name="Focus"/>
  421.         <action name="Raise"/>
  422.       </mousebind>
  423.       <mousebind button="Middle" action="Press">
  424.         <action name="Focus"/>
  425.         <action name="Raise"/>
  426.       </mousebind>
  427.       <mousebind button="Right" action="Press">
  428.         <action name="Focus"/>
  429.         <action name="Raise"/>
  430.       </mousebind>
  431.     </context>
  432.     <context name="Icon">
  433.       <mousebind button="Left" action="Press">
  434.         <action name="Focus"/>
  435.         <action name="Raise"/>
  436.         <action name="Unshade"/>
  437.         <action name="ShowMenu">
  438.           <menu>client-menu</menu>
  439.         </action>
  440.       </mousebind>
  441.       <mousebind button="Right" action="Press">
  442.         <action name="Focus"/>
  443.         <action name="Raise"/>
  444.         <action name="ShowMenu">
  445.           <menu>client-menu</menu>
  446.         </action>
  447.       </mousebind>
  448.     </context>
  449.     <context name="AllDesktops">
  450.       <mousebind button="Left" action="Press">
  451.         <action name="Focus"/>
  452.         <action name="Raise"/>
  453.         <action name="Unshade"/>
  454.       </mousebind>
  455.       <mousebind button="Left" action="Click">
  456.         <action name="ToggleOmnipresent"/>
  457.       </mousebind>
  458.     </context>
  459.     <context name="Shade">
  460.       <mousebind button="Left" action="Press">
  461.         <action name="Focus"/>
  462.         <action name="Raise"/>
  463.       </mousebind>
  464.       <mousebind button="Left" action="Click">
  465.         <action name="ToggleShade"/>
  466.       </mousebind>
  467.     </context>
  468.     <context name="Iconify">
  469.       <mousebind button="Left" action="Press">
  470.         <action name="Focus"/>
  471.         <action name="Raise"/>
  472.       </mousebind>
  473.       <mousebind button="Left" action="Click">
  474.         <action name="Iconify"/>
  475.       </mousebind>
  476.     </context>
  477.     <context name="Maximize">
  478.       <mousebind button="Left" action="Press">
  479.         <action name="Focus"/>
  480.         <action name="Raise"/>
  481.         <action name="Unshade"/>
  482.       </mousebind>
  483.       <mousebind button="Middle" action="Press">
  484.         <action name="Focus"/>
  485.         <action name="Raise"/>
  486.         <action name="Unshade"/>
  487.       </mousebind>
  488.       <mousebind button="Right" action="Press">
  489.         <action name="Focus"/>
  490.         <action name="Raise"/>
  491.         <action name="Unshade"/>
  492.       </mousebind>
  493.       <mousebind button="Left" action="Click">
  494.         <action name="ToggleMaximizeFull"/>
  495.       </mousebind>
  496.       <mousebind button="Middle" action="Click">
  497.         <action name="ToggleMaximizeVert"/>
  498.       </mousebind>
  499.       <mousebind button="Right" action="Click">
  500.         <action name="ToggleMaximizeHorz"/>
  501.       </mousebind>
  502.     </context>
  503.     <context name="Close">
  504.       <mousebind button="Left" action="Press">
  505.         <action name="Focus"/>
  506.         <action name="Raise"/>
  507.         <action name="Unshade"/>
  508.       </mousebind>
  509.       <mousebind button="Left" action="Click">
  510.         <action name="Close"/>
  511.       </mousebind>
  512.     </context>
  513.     <context name="Desktop">
  514.       <mousebind button="Up" action="Click">
  515.         <action name="DesktopPrevious"/>
  516.       </mousebind>
  517.       <mousebind button="Down" action="Click">
  518.         <action name="DesktopNext"/>
  519.       </mousebind>
  520.       <mousebind button="A-Up" action="Click">
  521.         <action name="DesktopPrevious"/>
  522.       </mousebind>
  523.       <mousebind button="A-Down" action="Click">
  524.         <action name="DesktopNext"/>
  525.       </mousebind>
  526.       <mousebind button="C-A-Up" action="Click">
  527.         <action name="DesktopPrevious"/>
  528.       </mousebind>
  529.       <mousebind button="C-A-Down" action="Click">
  530.         <action name="DesktopNext"/>
  531.       </mousebind>
  532.       <mousebind button="Left" action="Press">
  533.         <action name="Focus"/>
  534.         <action name="Raise"/>
  535.       </mousebind>
  536.     </context>
  537.     <context name="Root">
  538.       <!-- Menus -->
  539.       <mousebind button="Middle" action="Press">
  540.         <action name="ShowMenu">
  541.           <menu>client-list-combined-menu</menu>
  542.         </action>
  543.       </mousebind>
  544.       <mousebind button="Right" action="Press">
  545.         <action name="ShowMenu">
  546.           <menu>root-menu</menu>
  547.         </action>
  548.       </mousebind>
  549.     </context>
  550.     <context name="MoveResize">
  551.       <mousebind button="Up" action="Click">
  552.         <action name="DesktopPrevious"/>
  553.       </mousebind>
  554.       <mousebind button="Down" action="Click">
  555.         <action name="DesktopNext"/>
  556.       </mousebind>
  557.       <mousebind button="A-Up" action="Click">
  558.         <action name="DesktopPrevious"/>
  559.       </mousebind>
  560.       <mousebind button="A-Down" action="Click">
  561.         <action name="DesktopNext"/>
  562.       </mousebind>
  563.     </context>
  564.   </mouse>
  565.   <menu>
  566.     <file>menu.xml</file>
  567.     <hideDelay>200</hideDelay>
  568.     <middle>no</middle>
  569.     <submenuShowDelay>100</submenuShowDelay>
  570.     <applicationIcons>yes</applicationIcons>
  571.   </menu>
  572. </openbox_config>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement