Advertisement
HungusNephlim06

lxde-rc.xml

Mar 21st, 2021
655
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 22.86 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- Do not edit this file, it will be overwritten on install.
  3.        Copy the file to $HOME/.config/openbox/ instead. -->
  4. <openbox_config xmlns="http://openbox.org/3.4/rc">
  5.   <resistance>
  6.     <strength>10</strength>
  7.     <screen_edge_strength>20</screen_edge_strength>
  8.   </resistance>
  9.   <focus>
  10.     <focusNew>yes</focusNew>
  11.     <!-- always try to focus new windows when they appear. other rules do
  12.       apply -->
  13.     <followMouse>no</followMouse>
  14.     <!-- move focus to a window when you move the mouse into it -->
  15.     <focusLast>yes</focusLast>
  16.     <!-- focus the last used window when changing desktops, instead of the one
  17.       under the mouse pointer. when followMouse is enabled -->
  18.     <underMouse>no</underMouse>
  19.     <!-- move focus under the mouse, even when the mouse is not moving -->
  20.     <focusDelay>200</focusDelay>
  21.     <!-- when followMouse is enabled, the mouse must be inside the window for
  22.       this many milliseconds (1000 = 1 sec) before moving focus to it -->
  23.     <raiseOnFocus>no</raiseOnFocus>
  24.     <!-- when followMouse is enabled, and a window is given focus by moving the
  25.       mouse into it, also raise the window -->
  26.   </focus>
  27.   <placement>
  28.     <policy>Smart</policy>
  29.     <!-- 'Smart' or 'UnderMouse' -->
  30.     <center>yes</center>
  31.     <!-- whether to place windows in the center of the free area found or
  32.       the top left corner -->
  33.     <monitor>Any</monitor>
  34.     <!-- with Smart placement on a multi-monitor system, try to place new windows
  35.       on: 'Any' - any monitor, 'Mouse' - where the mouse is, 'Active' - where
  36.       the active window is -->
  37.     <primaryMonitor/>
  38.   </placement>
  39.   <theme>
  40.     <name>Nord-Openbox</name>
  41.     <titleLayout>CIMLN</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>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>sans</name>
  65.       <size>10</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="MenuHeader">
  73.       <name>sans</name>
  74.       <size>10</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>sans</name>
  83.       <size>10</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="OnScreenDisplay">
  91.       <name>sans</name>
  92.       <size>10</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="ActiveOnScreenDisplay">
  100.       <name>Sans</name>
  101.       <size>8</size>
  102.       <weight/>
  103.       <slant/>
  104.     </font>
  105.     <font place="InactiveOnScreenDisplay">
  106.       <name>Sans</name>
  107.       <size>8</size>
  108.       <weight/>
  109.       <slant/>
  110.     </font>
  111.   </theme>
  112.   <desktops>
  113.     <!-- this stuff is only used at startup, pagers allow you to change them
  114.       during a session
  115.  
  116.       these are default values to use when other ones are not already set
  117.       by other applications, or saved in your session
  118.  
  119.       use obconf if you want to change these without having to log out
  120.       and back in -->
  121.     <number>3</number>
  122.     <firstdesk>1</firstdesk>
  123.     <names>
  124.       <name>desk1</name>
  125.       <name>desk2</name>
  126.       <name>desk3</name>
  127.       <name>desk4</name>
  128.     </names>
  129.     <popupTime>0</popupTime>
  130.     <!-- The number of milliseconds to show the popup for when switching
  131.       desktops.  Set this to 0 to disable the popup. -->
  132.   </desktops>
  133.   <resize>
  134.     <drawContents>yes</drawContents>
  135.     <popupShow>Nonpixel</popupShow>
  136.     <!-- 'Always', 'Never', or 'Nonpixel' (xterms and such) -->
  137.     <popupPosition>Center</popupPosition>
  138.     <!-- 'Center', 'Top', or 'Fixed' -->
  139.     <popupFixedPosition>
  140.       <!-- these are used if popupPosition is set to 'Fixed' -->
  141.       <x>10</x>
  142.       <!-- positive number for distance from left edge, negative number for
  143.         distance from right edge, or 'Center' -->
  144.       <y>10</y>
  145.       <!-- positive number for distance from top edge, negative number for
  146.         distance from bottom edge, or 'Center' -->
  147.     </popupFixedPosition>
  148.   </resize>
  149.   <!-- You can reserve a portion of your screen where windows will not cover when
  150.     they are maximized, or when they are initially placed.
  151.     Many programs reserve space automatically, but you can use this in other
  152.     cases. -->
  153.   <margins>
  154.     <top>0</top>
  155.     <bottom>0</bottom>
  156.     <left>0</left>
  157.     <right>0</right>
  158.   </margins>
  159.   <dock>
  160.     <position>TopLeft</position>
  161.     <!-- (Top|Bottom)(Left|Right|)|Top|Bottom|Left|Right|Floating -->
  162.     <floatingX>0</floatingX>
  163.     <floatingY>0</floatingY>
  164.     <noStrut>no</noStrut>
  165.     <stacking>Above</stacking>
  166.     <!-- 'Above', 'Normal', or 'Below' -->
  167.     <direction>Vertical</direction>
  168.     <!-- 'Vertical' or 'Horizontal' -->
  169.     <autoHide>no</autoHide>
  170.     <hideDelay>300</hideDelay>
  171.     <!-- in milliseconds (1000 = 1 second) -->
  172.     <showDelay>300</showDelay>
  173.     <!-- in milliseconds (1000 = 1 second) -->
  174.     <moveButton>Middle</moveButton>
  175.     <!-- 'Left', 'Middle', 'Right' -->
  176.   </dock>
  177.     <keyboard>
  178.     <chainQuitKey>C-g</chainQuitKey>
  179.     <keybind key="W-Left">
  180.       <action name="UnmaximizeFull"/>
  181.       <action name="MaximizeVert"/>
  182.       <action name="MoveResizeTo">
  183.         <width>50%</width>
  184.       </action>
  185.       <action name="MoveToEdge">
  186.         <direction>west</direction>
  187.       </action>
  188.     </keybind>
  189.     <keybind key="W-Right">
  190.       <action name="UnmaximizeFull"/>
  191.       <action name="MaximizeVert"/>
  192.       <action name="MoveResizeTo">
  193.         <width>50%</width>
  194.       </action>
  195.       <action name="MoveToEdge">
  196.         <direction>east</direction>
  197.       </action>
  198.     </keybind> 
  199.     </keyboard>
  200.  
  201.     <!-- Keybindings for desktop switching -->
  202.     <keybind key="C-A-Left">
  203.       <action name="DesktopLeft">
  204.         <dialog>no</dialog>
  205.         <wrap>no</wrap>
  206.       </action>
  207.     </keybind>
  208.     <keybind key="C-A-Right">
  209.       <action name="DesktopRight">
  210.         <dialog>no</dialog>
  211.         <wrap>no</wrap>
  212.       </action>
  213.     </keybind>
  214.     <keybind key="C-A-Up">
  215.       <action name="DesktopUp">
  216.         <dialog>no</dialog>
  217.         <wrap>no</wrap>
  218.       </action>
  219.     </keybind>
  220.     <keybind key="C-A-Down">
  221.       <action name="DesktopDown">
  222.         <dialog>no</dialog>
  223.         <wrap>no</wrap>
  224.       </action>
  225.     </keybind>
  226.     <keybind key="S-A-Left">
  227.       <action name="SendToDesktopLeft">
  228.         <dialog>no</dialog>
  229.         <wrap>no</wrap>
  230.       </action>
  231.     </keybind>
  232.     <keybind key="S-A-Right">
  233.       <action name="SendToDesktopRight">
  234.         <dialog>no</dialog>
  235.         <wrap>no</wrap>
  236.       </action>
  237.     </keybind>
  238.     <keybind key="S-A-Up">
  239.       <action name="SendToDesktopUp">
  240.         <dialog>no</dialog>
  241.         <wrap>no</wrap>
  242.       </action>
  243.     </keybind>
  244.     <keybind key="S-A-Down">
  245.       <action name="SendToDesktopDown">
  246.         <dialog>no</dialog>
  247.         <wrap>no</wrap>
  248.       </action>
  249.     </keybind>
  250.     <keybind key="W-F1">
  251.       <action name="Desktop">
  252.         <desktop>1</desktop>
  253.       </action>
  254.     </keybind>
  255.     <keybind key="W-F2">
  256.       <action name="Desktop">
  257.         <desktop>2</desktop>
  258.       </action>
  259.     </keybind>
  260.     <keybind key="W-F3">
  261.       <action name="Desktop">
  262.         <desktop>3</desktop>
  263.       </action>
  264.     </keybind>
  265.     <keybind key="W-F4">
  266.       <action name="Desktop">
  267.         <desktop>4</desktop>
  268.       </action>
  269.     </keybind>
  270.     <keybind key="W-d">
  271.       <action name="ToggleShowDesktop"/>
  272.     </keybind>
  273.     <keybind key="C-A-d">
  274.       <action name="ToggleShowDesktop"/>
  275.     </keybind>
  276.     <!-- Keybindings for windows -->
  277.     <keybind key="A-Q">
  278.       <action name="Close"/>
  279.     </keybind>
  280.     <keybind key="A-Escape">
  281.       <action name="Lower"/>
  282.       <action name="FocusToBottom"/>
  283.       <action name="Unfocus"/>
  284.     </keybind>
  285.     <keybind key="A-space">
  286.       <action name="ShowMenu">
  287.         <menu>client-menu</menu>
  288.       </action>
  289.     </keybind>
  290.     <!-- Keybindings for window switching -->
  291.     <keybind key="A-Tab">
  292.       <action name="NextWindow"/>
  293.     </keybind>
  294.     <keybind key="A-S-Tab">
  295.       <action name="PreviousWindow"/>
  296.     </keybind>
  297.     <keybind key="C-A-Tab">
  298.       <action name="NextWindow">
  299.         <panels>yes</panels>
  300.         <desktop>yes</desktop>
  301.       </action>
  302.     </keybind>
  303.     <!-- Keybindings for running applications -->
  304.     <keybind key="W-b">
  305.       <action name="Execute">
  306.         <command>opera</command>
  307.       </action>
  308.     </keybind>
  309.     <keybind key="W-f">
  310.       <action name="Execute">
  311.         <startupnotify>
  312.           <enabled>true</enabled>
  313.           <name>PCManFM</name>
  314.         </startupnotify>
  315.         <command>pcmanfm</command>
  316.       </action>
  317.     </keybind>
  318.     <!-- Keybindings for finding files -->
  319.     <keybind key="C-W-f">
  320.       <action name="Execute">
  321.         <command>pcmanfm --find-files</command>
  322.       </action>
  323.     </keybind>
  324.     <!--keybindings for LXPanel -->
  325.     <keybind key="W-r">
  326.       <action name="Execute">
  327.         <command>lxpanelctl run</command>
  328.       </action>
  329.     </keybind>
  330.     <keybind key="A-F2">
  331.       <action name="Execute">
  332.         <command>lxpanelctl run</command>
  333.       </action>
  334.     </keybind>
  335.     <keybind key="C-Escape">
  336.       <action name="Execute">
  337.         <command>lxpanelctl menu</command>
  338.       </action>
  339.     </keybind>
  340.     <keybind key="A-F1">
  341.       <action name="Execute">
  342.         <command>lxpanelctl menu</command>
  343.       </action>
  344.     </keybind>
  345.     <keybind key="A-F11">
  346.       <action name="ToggleFullscreen"/>
  347.     </keybind>
  348.     <!-- Launch Task Manager with Ctrl+Alt+Del -->
  349.     <keybind key="A-C-Delete">
  350.       <action name="Execute">
  351.         <command>lxtask</command>
  352.       </action>
  353.     </keybind>
  354.     <!-- Launch gnome-screenshot when PrintScreen is pressed -->
  355.     <keybind key="Print">
  356.       <action name="Execute">
  357.         <command>gnome-screenshot -i</command>
  358.       </action>
  359.     </keybind>
  360.     <!-- Launch LXRandR when Fn+Screen is pressed -->
  361.     <keybind key="XF86Display">
  362.       <action name="Execute">
  363.         <command>lxrandr</command>
  364.       </action>
  365.     </keybind>
  366.     <!-- Launch terminal with Ctrl+Alt+t-->
  367.     <keybind key="C-A-t">
  368.       <action name="Execute">
  369.         <command>gnome-terminal</command>
  370.       </action>
  371.     </keybind>
  372. </keyboard>
  373.   <mouse>
  374.     <dragThreshold>8</dragThreshold>
  375.     <!-- number of pixels the mouse must move before a drag begins -->
  376.     <doubleClickTime>200</doubleClickTime>
  377.     <!-- in milliseconds (1000 = 1 second) -->
  378.     <screenEdgeWarpTime>400</screenEdgeWarpTime>
  379.     <!-- Time before changing desktops when the pointer touches the edge of the
  380.       screen while moving a window, in milliseconds (1000 = 1 second).
  381.       Set this to 0 to disable warping -->
  382.     <context name="Frame">
  383.       <mousebind button="A-Left" action="Press">
  384.         <action name="Focus"/>
  385.         <action name="Raise"/>
  386.       </mousebind>
  387.       <mousebind button="A-Left" action="Click">
  388.         <action name="Unshade"/>
  389.       </mousebind>
  390.       <mousebind button="A-Left" action="Drag">
  391.         <action name="Move"/>
  392.       </mousebind>
  393.       <mousebind button="A-Right" action="Press">
  394.         <action name="Focus"/>
  395.         <action name="Raise"/>
  396.         <action name="Unshade"/>
  397.       </mousebind>
  398.       <mousebind button="A-Right" action="Drag">
  399.         <action name="Resize"/>
  400.       </mousebind>
  401.       <mousebind button="A-Middle" action="Press">
  402.         <action name="Lower"/>
  403.         <action name="FocusToBottom"/>
  404.         <action name="Unfocus"/>
  405.       </mousebind>
  406.       <mousebind button="A-Up" action="Click">
  407.         <action name="DesktopPrevious"/>
  408.       </mousebind>
  409.       <mousebind button="A-Down" action="Click">
  410.         <action name="DesktopNext"/>
  411.       </mousebind>
  412.       <mousebind button="C-A-Up" action="Click">
  413.         <action name="DesktopPrevious"/>
  414.       </mousebind>
  415.       <mousebind button="C-A-Down" action="Click">
  416.         <action name="DesktopNext"/>
  417.       </mousebind>
  418.       <mousebind button="A-S-Up" action="Click">
  419.         <action name="SendToDesktopPrevious"/>
  420.       </mousebind>
  421.       <mousebind button="A-S-Down" action="Click">
  422.         <action name="SendToDesktopNext"/>
  423.       </mousebind>
  424.     </context>
  425.     <context name="Titlebar">
  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="Move"/>
  432.       </mousebind>
  433.       <mousebind button="Left" action="DoubleClick">
  434.         <action name="ToggleMaximizeFull"/>
  435.       </mousebind>
  436.       <mousebind button="Middle" action="Press">
  437.         <action name="Lower"/>
  438.         <action name="FocusToBottom"/>
  439.         <action name="Unfocus"/>
  440.       </mousebind>
  441.       <mousebind button="Up" action="Click">
  442.         <action name="Shade"/>
  443.         <action name="FocusToBottom"/>
  444.         <action name="Unfocus"/>
  445.         <action name="Lower"/>
  446.       </mousebind>
  447.       <mousebind button="Down" action="Click">
  448.         <action name="Unshade"/>
  449.         <action name="Raise"/>
  450.       </mousebind>
  451.       <mousebind button="Right" action="Press">
  452.         <action name="Focus"/>
  453.         <action name="Raise"/>
  454.         <action name="ShowMenu">
  455.           <menu>client-menu</menu>
  456.         </action>
  457.       </mousebind>
  458.     </context>
  459.     <context name="Top">
  460.       <mousebind button="Left" action="Press">
  461.         <action name="Focus"/>
  462.         <action name="Raise"/>
  463.         <action name="Unshade"/>
  464.       </mousebind>
  465.       <mousebind button="Left" action="Drag">
  466.         <action name="Resize">
  467.           <edge>top</edge>
  468.         </action>
  469.       </mousebind>
  470.     </context>
  471.     <context name="Left">
  472.       <mousebind button="Left" action="Press">
  473.         <action name="Focus"/>
  474.         <action name="Raise"/>
  475.       </mousebind>
  476.       <mousebind button="Left" action="Drag">
  477.         <action name="Resize">
  478.           <edge>left</edge>
  479.         </action>
  480.       </mousebind>
  481.     </context>
  482.     <context name="Right">
  483.       <mousebind button="Left" action="Press">
  484.         <action name="Focus"/>
  485.         <action name="Raise"/>
  486.       </mousebind>
  487.       <mousebind button="Left" action="Drag">
  488.         <action name="Resize">
  489.           <edge>right</edge>
  490.         </action>
  491.       </mousebind>
  492.     </context>
  493.     <context name="Bottom">
  494.       <mousebind button="Left" action="Press">
  495.         <action name="Focus"/>
  496.         <action name="Raise"/>
  497.       </mousebind>
  498.       <mousebind button="Left" action="Drag">
  499.         <action name="Resize">
  500.           <edge>bottom</edge>
  501.         </action>
  502.       </mousebind>
  503.       <mousebind button="Middle" action="Press">
  504.         <action name="Lower"/>
  505.         <action name="FocusToBottom"/>
  506.         <action name="Unfocus"/>
  507.       </mousebind>
  508.       <mousebind button="Right" action="Press">
  509.         <action name="Focus"/>
  510.         <action name="Raise"/>
  511.         <action name="ShowMenu">
  512.           <menu>client-menu</menu>
  513.         </action>
  514.       </mousebind>
  515.     </context>
  516.     <context name="BLCorner">
  517.       <mousebind button="Left" action="Press">
  518.         <action name="Focus"/>
  519.         <action name="Raise"/>
  520.       </mousebind>
  521.       <mousebind button="Left" action="Drag">
  522.         <action name="Resize"/>
  523.       </mousebind>
  524.     </context>
  525.     <context name="BRCorner">
  526.       <mousebind button="Left" action="Press">
  527.         <action name="Focus"/>
  528.         <action name="Raise"/>
  529.       </mousebind>
  530.       <mousebind button="Left" action="Drag">
  531.         <action name="Resize"/>
  532.       </mousebind>
  533.     </context>
  534.     <context name="TLCorner">
  535.       <mousebind button="Left" action="Press">
  536.         <action name="Focus"/>
  537.         <action name="Raise"/>
  538.         <action name="Unshade"/>
  539.       </mousebind>
  540.       <mousebind button="Left" action="Drag">
  541.         <action name="Resize"/>
  542.       </mousebind>
  543.     </context>
  544.     <context name="TRCorner">
  545.       <mousebind button="Left" action="Press">
  546.         <action name="Focus"/>
  547.         <action name="Raise"/>
  548.         <action name="Unshade"/>
  549.       </mousebind>
  550.       <mousebind button="Left" action="Drag">
  551.         <action name="Resize"/>
  552.       </mousebind>
  553.     </context>
  554.     <context name="Client">
  555.       <mousebind button="Left" action="Press">
  556.         <action name="Focus"/>
  557.         <action name="Raise"/>
  558.       </mousebind>
  559.       <mousebind button="Middle" action="Press">
  560.         <action name="Focus"/>
  561.         <action name="Raise"/>
  562.       </mousebind>
  563.       <mousebind button="Right" action="Press">
  564.         <action name="Focus"/>
  565.         <action name="Raise"/>
  566.       </mousebind>
  567.     </context>
  568.     <context name="Icon">
  569.       <mousebind button="Left" action="Press">
  570.         <action name="Focus"/>
  571.         <action name="Raise"/>
  572.         <action name="Unshade"/>
  573.         <action name="ShowMenu">
  574.           <menu>client-menu</menu>
  575.         </action>
  576.       </mousebind>
  577.       <mousebind button="Right" action="Press">
  578.         <action name="Focus"/>
  579.         <action name="Raise"/>
  580.         <action name="ShowMenu">
  581.           <menu>client-menu</menu>
  582.         </action>
  583.       </mousebind>
  584.     </context>
  585.     <context name="AllDesktops">
  586.       <mousebind button="Left" action="Press">
  587.         <action name="Focus"/>
  588.         <action name="Raise"/>
  589.         <action name="Unshade"/>
  590.       </mousebind>
  591.       <mousebind button="Left" action="Click">
  592.         <action name="ToggleOmnipresent"/>
  593.       </mousebind>
  594.     </context>
  595.     <context name="Shade">
  596.       <mousebind button="Left" action="Press">
  597.         <action name="Focus"/>
  598.         <action name="Raise"/>
  599.       </mousebind>
  600.       <mousebind button="Left" action="Click">
  601.         <action name="ToggleShade"/>
  602.       </mousebind>
  603.     </context>
  604.     <context name="Iconify">
  605.       <mousebind button="Left" action="Press">
  606.         <action name="Focus"/>
  607.         <action name="Raise"/>
  608.       </mousebind>
  609.       <mousebind button="Left" action="Click">
  610.         <action name="Iconify"/>
  611.       </mousebind>
  612.     </context>
  613.     <context name="Maximize">
  614.       <mousebind button="Left" action="Press">
  615.         <action name="Focus"/>
  616.         <action name="Raise"/>
  617.         <action name="Unshade"/>
  618.       </mousebind>
  619.       <mousebind button="Middle" action="Press">
  620.         <action name="Focus"/>
  621.         <action name="Raise"/>
  622.         <action name="Unshade"/>
  623.       </mousebind>
  624.       <mousebind button="Right" action="Press">
  625.         <action name="Focus"/>
  626.         <action name="Raise"/>
  627.         <action name="Unshade"/>
  628.       </mousebind>
  629.       <mousebind button="Left" action="Click">
  630.         <action name="ToggleMaximizeFull"/>
  631.       </mousebind>
  632.       <mousebind button="Middle" action="Click">
  633.         <action name="ToggleMaximizeVert"/>
  634.       </mousebind>
  635.       <mousebind button="Right" action="Click">
  636.         <action name="ToggleMaximizeHorz"/>
  637.       </mousebind>
  638.     </context>
  639.     <context name="Close">
  640.       <mousebind button="Left" action="Press">
  641.         <action name="Focus"/>
  642.         <action name="Raise"/>
  643.         <action name="Unshade"/>
  644.       </mousebind>
  645.       <mousebind button="Left" action="Click">
  646.         <action name="Close"/>
  647.       </mousebind>
  648.     </context>
  649.     <context name="Desktop">
  650.       <mousebind button="Up" action="Click">
  651.         <action name="DesktopPrevious"/>
  652.       </mousebind>
  653.       <mousebind button="Down" action="Click">
  654.         <action name="DesktopNext"/>
  655.       </mousebind>
  656.       <mousebind button="A-Up" action="Click">
  657.         <action name="DesktopPrevious"/>
  658.       </mousebind>
  659.       <mousebind button="A-Down" action="Click">
  660.         <action name="DesktopNext"/>
  661.       </mousebind>
  662.       <mousebind button="C-A-Up" action="Click">
  663.         <action name="DesktopPrevious"/>
  664.       </mousebind>
  665.       <mousebind button="C-A-Down" action="Click">
  666.         <action name="DesktopNext"/>
  667.       </mousebind>
  668.       <mousebind button="Left" action="Press">
  669.         <action name="Focus"/>
  670.         <action name="Raise"/>
  671.       </mousebind>
  672.       <mousebind button="Right" action="Press">
  673.         <action name="Focus"/>
  674.         <action name="Raise"/>
  675.       </mousebind>
  676.     </context>
  677.     <context name="Root">
  678.       <!-- Menus -->
  679.       <mousebind button="Middle" action="Press">
  680.         <action name="ShowMenu">
  681.           <menu>client-list-combined-menu</menu>
  682.         </action>
  683.       </mousebind>
  684.       <mousebind button="Right" action="Press">
  685.         <action name="ShowMenu">
  686.           <menu>root-menu</menu>
  687.         </action>
  688.       </mousebind>
  689.     </context>
  690.     <context name="MoveResize">
  691.       <mousebind button="Up" action="Click">
  692.         <action name="DesktopPrevious"/>
  693.       </mousebind>
  694.       <mousebind button="Down" action="Click">
  695.         <action name="DesktopNext"/>
  696.       </mousebind>
  697.       <mousebind button="A-Up" action="Click">
  698.         <action name="DesktopPrevious"/>
  699.       </mousebind>
  700.       <mousebind button="A-Down" action="Click">
  701.         <action name="DesktopNext"/>
  702.       </mousebind>
  703.     </context>
  704.   </mouse>
  705.   <menu>
  706.     <!-- You can specify more than one menu file in here and they are all loaded,
  707.       just don't make menu ids clash or, well, it'll be kind of pointless -->
  708.     <!-- default menu file (or custom one in $HOME/.config/openbox/) -->
  709.     <file>/usr/share/lxde/openbox/menu.xml</file>
  710.     <hideDelay>200</hideDelay>
  711.     <!-- if a press-release lasts longer than this setting (in milliseconds), the
  712.       menu is hidden again -->
  713.     <middle>no</middle>
  714.     <!-- center submenus vertically about the parent entry -->
  715.     <submenuShowDelay>100</submenuShowDelay>
  716.     <!-- this one is easy, time to delay before showing a submenu after hovering
  717.       over the parent entry -->
  718.     <applicationIcons>yes</applicationIcons>
  719.     <!-- controls if icons appear in the client-list-(combined-)menu -->
  720.     <manageDesktops>yes</manageDesktops>
  721.     <!-- show the manage desktops section in the client-list-(combined-)menu -->
  722.   </menu>
  723.   <applications>
  724.     <application class="*"> <decor>no</decor> </application>
  725.   </applications>
  726. </openbox_config>  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement