rc.xml 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707
  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" xmlns:xi="http://www.w3.org/2001/XInclude">
  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>yes</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. <monitor>Primary</monitor>
  31. <!-- with Smart placement on a multi-monitor system, try to place new windows
  32. on: 'Any' - any monitor, 'Mouse' - where the mouse is, 'Active' - where
  33. the active window is, 'Primary' - only on the primary monitor -->
  34. <primaryMonitor>1</primaryMonitor>
  35. <!-- The monitor where Openbox should place popup dialogs such as the
  36. focus cycling popup, or the desktop switch popup. It can be an index
  37. from 1, specifying a particular monitor. Or it can be one of the
  38. following: 'Mouse' - where the mouse is, or
  39. 'Active' - where the active window is -->
  40. </placement>
  41. <theme>
  42. <name>Arkid</name>
  43. <titleLayout>NLIMC</titleLayout>
  44. <!--
  45. available characters are NDSLIMC, each can occur at most once.
  46. N: window icon
  47. L: window label (AKA title).
  48. I: iconify
  49. M: maximize
  50. C: close
  51. S: shade (roll up/down)
  52. D: omnipresent (on all desktops).
  53. -->
  54. <keepBorder>yes</keepBorder>
  55. <animateIconify>yes</animateIconify>
  56. <font place="ActiveWindow">
  57. <name>Ubuntu</name>
  58. <size>8</size>
  59. <!-- font size in points -->
  60. <weight>Bold</weight>
  61. <!-- 'bold' or 'normal' -->
  62. <slant>Normal</slant>
  63. <!-- 'italic' or 'normal' -->
  64. </font>
  65. <font place="InactiveWindow">
  66. <name>Ubuntu</name>
  67. <size>8</size>
  68. <!-- font size in points -->
  69. <weight>Bold</weight>
  70. <!-- 'bold' or 'normal' -->
  71. <slant>Normal</slant>
  72. <!-- 'italic' or 'normal' -->
  73. </font>
  74. <font place="MenuHeader">
  75. <name>Ubuntu</name>
  76. <size>9</size>
  77. <!-- font size in points -->
  78. <weight>Normal</weight>
  79. <!-- 'bold' or 'normal' -->
  80. <slant>Normal</slant>
  81. <!-- 'italic' or 'normal' -->
  82. </font>
  83. <font place="MenuItem">
  84. <name>Ubuntu</name>
  85. <size>9</size>
  86. <!-- font size in points -->
  87. <weight>Normal</weight>
  88. <!-- 'bold' or 'normal' -->
  89. <slant>Normal</slant>
  90. <!-- 'italic' or 'normal' -->
  91. </font>
  92. <font place="ActiveOnScreenDisplay">
  93. <name>Ubuntu</name>
  94. <size>9</size>
  95. <!-- font size in points -->
  96. <weight>Bold</weight>
  97. <!-- 'bold' or 'normal' -->
  98. <slant>Normal</slant>
  99. <!-- 'italic' or 'normal' -->
  100. </font>
  101. <font place="InactiveOnScreenDisplay">
  102. <name>Ubuntu</name>
  103. <size>9</size>
  104. <!-- font size in points -->
  105. <weight>Bold</weight>
  106. <!-- 'bold' or 'normal' -->
  107. <slant>Normal</slant>
  108. <!-- 'italic' or 'normal' -->
  109. </font>
  110. </theme>
  111. <desktops>
  112. <!-- this stuff is only used at startup, pagers allow you to change them
  113. during a session
  114. these are default values to use when other ones are not already set
  115. by other applications, or saved in your session
  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. <popupTime>875</popupTime>
  122. <!-- The number of milliseconds to show the popup for when switching
  123. desktops. Set this to 0 to disable the popup. -->
  124. </desktops>
  125. <resize>
  126. <drawContents>yes</drawContents>
  127. <popupShow>Nonpixel</popupShow>
  128. <!-- 'Always', 'Never', or 'Nonpixel' (xterms and such) -->
  129. <popupPosition>Center</popupPosition>
  130. <!-- 'Center', 'Top', or 'Fixed' -->
  131. <popupFixedPosition>
  132. <!-- these are used if popupPosition is set to 'Fixed' -->
  133. <x>10</x>
  134. <!-- positive number for distance from left edge, negative number for
  135. distance from right edge, or 'Center' -->
  136. <y>10</y>
  137. <!-- positive number for distance from top edge, negative number for
  138. distance from bottom edge, or 'Center' -->
  139. </popupFixedPosition>
  140. </resize>
  141. <!-- You can reserve a portion of your screen where windows will not cover when
  142. they are maximized, or when they are initially placed.
  143. Many programs reserve space automatically, but you can use this in other
  144. cases. -->
  145. <margins>
  146. <top>0</top>
  147. <bottom>0</bottom>
  148. <left>0</left>
  149. <right>0</right>
  150. </margins>
  151. <dock>
  152. <position>TopLeft</position>
  153. <!-- (Top|Bottom)(Left|Right|)|Top|Bottom|Left|Right|Floating -->
  154. <floatingX>0</floatingX>
  155. <floatingY>0</floatingY>
  156. <noStrut>no</noStrut>
  157. <stacking>Above</stacking>
  158. <!-- 'Above', 'Normal', or 'Below' -->
  159. <direction>Vertical</direction>
  160. <!-- 'Vertical' or 'Horizontal' -->
  161. <autoHide>no</autoHide>
  162. <hideDelay>300</hideDelay>
  163. <!-- in milliseconds (1000 = 1 second) -->
  164. <showDelay>300</showDelay>
  165. <!-- in milliseconds (1000 = 1 second) -->
  166. <moveButton>Middle</moveButton>
  167. <!-- 'Left', 'Middle', 'Right' -->
  168. </dock>
  169. <keyboard>
  170. <chainQuitKey>C-g</chainQuitKey>
  171. <!-- Keybindings for desktop switching -->
  172. <keybind key="C-A-Left">
  173. <action name="GoToDesktop">
  174. <to>left</to>
  175. <wrap>no</wrap>
  176. </action>
  177. </keybind>
  178. <keybind key="C-A-Right">
  179. <action name="GoToDesktop">
  180. <to>right</to>
  181. <wrap>no</wrap>
  182. </action>
  183. </keybind>
  184. <keybind key="C-A-Up">
  185. <action name="GoToDesktop">
  186. <to>up</to>
  187. <wrap>no</wrap>
  188. </action>
  189. </keybind>
  190. <keybind key="C-A-Down">
  191. <action name="GoToDesktop">
  192. <to>down</to>
  193. <wrap>no</wrap>
  194. </action>
  195. </keybind>
  196. <keybind key="C-S-A-Left">
  197. <action name="SendToDesktop">
  198. <to>left</to>
  199. <wrap>no</wrap>
  200. </action>
  201. </keybind>
  202. <keybind key="C-S-A-Right">
  203. <action name="SendToDesktop">
  204. <to>right</to>
  205. <wrap>no</wrap>
  206. </action>
  207. </keybind>
  208. <keybind key="C-S-A-Up">
  209. <action name="SendToDesktop">
  210. <to>up</to>
  211. <wrap>no</wrap>
  212. </action>
  213. </keybind>
  214. <keybind key="C-S-A-Down">
  215. <action name="SendToDesktop">
  216. <to>down</to>
  217. <wrap>no</wrap>
  218. </action>
  219. </keybind>
  220. <keybind key="W-F1">
  221. <action name="GoToDesktop">
  222. <to>1</to>
  223. </action>
  224. </keybind>
  225. <keybind key="W-F2">
  226. <action name="GoToDesktop">
  227. <to>2</to>
  228. </action>
  229. </keybind>
  230. <keybind key="W-F3">
  231. <action name="GoToDesktop">
  232. <to>3</to>
  233. </action>
  234. </keybind>
  235. <keybind key="W-F4">
  236. <action name="GoToDesktop">
  237. <to>4</to>
  238. </action>
  239. </keybind>
  240. <keybind key="W-d">
  241. <action name="ToggleShowDesktop"/>
  242. </keybind>
  243. <!-- Keybindings for windows -->
  244. <keybind key="A-F4">
  245. <action name="Close"/>
  246. </keybind>
  247. <keybind key="A-Escape">
  248. <action name="Lower"/>
  249. <action name="FocusToBottom"/>
  250. <action name="Unfocus"/>
  251. </keybind>
  252. <keybind key="A-space">
  253. <action name="ShowMenu">
  254. <menu>client-menu</menu>
  255. </action>
  256. </keybind>
  257. <!-- Keybindings for window switching -->
  258. <keybind key="A-Tab">
  259. <action name="NextWindow">
  260. <finalactions>
  261. <action name="Focus"/>
  262. <action name="Raise"/>
  263. <action name="Unshade"/>
  264. </finalactions>
  265. </action>
  266. </keybind>
  267. <keybind key="A-S-Tab">
  268. <action name="PreviousWindow">
  269. <finalactions>
  270. <action name="Focus"/>
  271. <action name="Raise"/>
  272. <action name="Unshade"/>
  273. </finalactions>
  274. </action>
  275. </keybind>
  276. <keybind key="C-A-Tab">
  277. <action name="NextWindow">
  278. <panels>yes</panels>
  279. <desktop>yes</desktop>
  280. <finalactions>
  281. <action name="Focus"/>
  282. <action name="Raise"/>
  283. <action name="Unshade"/>
  284. </finalactions>
  285. </action>
  286. </keybind>
  287. <keybind key="A-Super_L">
  288. <action name="ShowMenu">
  289. <menu>root-menu</menu>
  290. </action>
  291. </keybind>
  292. <!--Window Managing-->
  293. <keybind key="W-Left">
  294. <action name="UnmaximizeFull"/>
  295. <action name="MaximizeVert"/>
  296. <action name="MoveResizeTo">
  297. <width>50%</width>
  298. </action>
  299. <action name="MoveToEdgeWest"/>
  300. </keybind>
  301. <keybind key="W-Right">
  302. <action name="UnmaximizeFull"/>
  303. <action name="MaximizeVert"/>
  304. <action name="MoveResizeTo">
  305. <width>50%</width>
  306. </action>
  307. <action name="MoveToEdgeEast"/>
  308. </keybind>
  309. <keybind key="W-Up">
  310. <action name="Maximize"/>
  311. </keybind>
  312. <keybind key="W-Down">
  313. <action name="Unmaximize"/>
  314. </keybind>
  315. <keybind key="S-W-Left">
  316. <action name="UnmaximizeFull"/>
  317. <action name="MaximizeVert"/>
  318. <action name="MoveResizeTo">
  319. <width>33%</width>
  320. </action>
  321. <action name="MoveToEdgeWest"/>
  322. </keybind>
  323. <keybind key="S-W-Up">
  324. <action name="UnmaximizeFull"/>
  325. <action name="MaximizeVert"/>
  326. <action name="MoveResizeTo">
  327. <x>33%</x>
  328. <width>33%</width>
  329. </action>
  330. <!--<action name="MoveToEdgeEast"/>-->
  331. </keybind>
  332. <keybind key="S-W-Right">
  333. <action name="UnmaximizeFull"/>
  334. <action name="MaximizeVert"/>
  335. <action name="MoveResizeTo">
  336. <width>33%</width>
  337. </action>
  338. <action name="MoveToEdgeEast"/>
  339. </keybind>
  340. </keyboard>
  341. <mouse>
  342. <dragThreshold>1</dragThreshold>
  343. <!-- number of pixels the mouse must move before a drag begins -->
  344. <doubleClickTime>500</doubleClickTime>
  345. <!-- in milliseconds (1000 = 1 second) -->
  346. <screenEdgeWarpTime>400</screenEdgeWarpTime>
  347. <!-- Time before changing desktops when the pointer touches the edge of the
  348. screen while moving a window, in milliseconds (1000 = 1 second).
  349. Set this to 0 to disable warping -->
  350. <screenEdgeWarpMouse>false</screenEdgeWarpMouse>
  351. <!-- Set this to TRUE to move the mouse pointer across the desktop when
  352. switching due to hitting the edge of the screen -->
  353. <context name="Frame">
  354. <mousebind button="A-Left" action="Press">
  355. <action name="Focus"/>
  356. <action name="Raise"/>
  357. </mousebind>
  358. <mousebind button="A-Left" action="Click">
  359. <action name="Unshade"/>
  360. </mousebind>
  361. <mousebind button="A-Left" action="Drag">
  362. <action name="Move"/>
  363. </mousebind>
  364. <mousebind button="A-Right" action="Press">
  365. <action name="Focus"/>
  366. <action name="Raise"/>
  367. <action name="Unshade"/>
  368. </mousebind>
  369. <mousebind button="A-Right" action="Drag">
  370. <action name="Resize"/>
  371. </mousebind>
  372. <mousebind button="A-Middle" action="Press">
  373. <action name="Lower"/>
  374. <action name="FocusToBottom"/>
  375. <action name="Unfocus"/>
  376. </mousebind>
  377. <mousebind button="A-Up" action="Click">
  378. <action name="GoToDesktop">
  379. <to>previous</to>
  380. </action>
  381. </mousebind>
  382. <mousebind button="A-Down" action="Click">
  383. <action name="GoToDesktop">
  384. <to>next</to>
  385. </action>
  386. </mousebind>
  387. <mousebind button="C-A-Up" action="Click">
  388. <action name="GoToDesktop">
  389. <to>previous</to>
  390. </action>
  391. </mousebind>
  392. <mousebind button="C-A-Down" action="Click">
  393. <action name="GoToDesktop">
  394. <to>next</to>
  395. </action>
  396. </mousebind>
  397. <mousebind button="A-S-Up" action="Click">
  398. <action name="SendToDesktop">
  399. <to>previous</to>
  400. </action>
  401. </mousebind>
  402. <mousebind button="A-S-Down" action="Click">
  403. <action name="SendToDesktop">
  404. <to>next</to>
  405. </action>
  406. </mousebind>
  407. </context>
  408. <context name="Titlebar">
  409. <mousebind button="Left" action="Drag">
  410. <action name="Move"/>
  411. </mousebind>
  412. <mousebind button="Left" action="DoubleClick">
  413. <action name="ToggleMaximize"/>
  414. </mousebind>
  415. <mousebind button="Up" action="Click">
  416. <action name="if">
  417. <shaded>no</shaded>
  418. <then>
  419. <action name="Shade"/>
  420. <action name="FocusToBottom"/>
  421. <action name="Unfocus"/>
  422. <action name="Lower"/>
  423. </then>
  424. </action>
  425. </mousebind>
  426. <mousebind button="Down" action="Click">
  427. <action name="if">
  428. <shaded>yes</shaded>
  429. <then>
  430. <action name="Unshade"/>
  431. <action name="Raise"/>
  432. </then>
  433. </action>
  434. </mousebind>
  435. </context>
  436. <context name="Titlebar Top Right Bottom Left TLCorner TRCorner BRCorner BLCorner">
  437. <mousebind button="Left" action="Press">
  438. <action name="Focus"/>
  439. <action name="Raise"/>
  440. <action name="Unshade"/>
  441. </mousebind>
  442. <mousebind button="Middle" action="Press">
  443. <action name="Lower"/>
  444. <action name="FocusToBottom"/>
  445. <action name="Unfocus"/>
  446. </mousebind>
  447. <mousebind button="Right" action="Press">
  448. <action name="Focus"/>
  449. <action name="Raise"/>
  450. <action name="ShowMenu">
  451. <menu>client-menu</menu>
  452. </action>
  453. </mousebind>
  454. </context>
  455. <context name="Top">
  456. <mousebind button="Left" action="Drag">
  457. <action name="Resize">
  458. <edge>top</edge>
  459. </action>
  460. </mousebind>
  461. </context>
  462. <context name="Left">
  463. <mousebind button="Left" action="Drag">
  464. <action name="Resize">
  465. <edge>left</edge>
  466. </action>
  467. </mousebind>
  468. </context>
  469. <context name="Right">
  470. <mousebind button="Left" action="Drag">
  471. <action name="Resize">
  472. <edge>right</edge>
  473. </action>
  474. </mousebind>
  475. </context>
  476. <context name="Bottom">
  477. <mousebind button="Left" action="Drag">
  478. <action name="Resize">
  479. <edge>bottom</edge>
  480. </action>
  481. </mousebind>
  482. <mousebind button="Right" action="Press">
  483. <action name="Focus"/>
  484. <action name="Raise"/>
  485. <action name="ShowMenu">
  486. <menu>client-menu</menu>
  487. </action>
  488. </mousebind>
  489. </context>
  490. <context name="TRCorner BRCorner TLCorner BLCorner">
  491. <mousebind button="Left" action="Press">
  492. <action name="Focus"/>
  493. <action name="Raise"/>
  494. <action name="Unshade"/>
  495. </mousebind>
  496. <mousebind button="Left" action="Drag">
  497. <action name="Resize"/>
  498. </mousebind>
  499. </context>
  500. <context name="Client">
  501. <mousebind button="Left" action="Press">
  502. <action name="Focus"/>
  503. <action name="Raise"/>
  504. </mousebind>
  505. <mousebind button="Middle" action="Press">
  506. <action name="Focus"/>
  507. <action name="Raise"/>
  508. </mousebind>
  509. <mousebind button="Right" action="Press">
  510. <action name="Focus"/>
  511. <action name="Raise"/>
  512. </mousebind>
  513. </context>
  514. <context name="Icon">
  515. <mousebind button="Left" action="Press">
  516. <action name="Focus"/>
  517. <action name="Raise"/>
  518. <action name="Unshade"/>
  519. <action name="ShowMenu">
  520. <menu>client-menu</menu>
  521. </action>
  522. </mousebind>
  523. <mousebind button="Right" action="Press">
  524. <action name="Focus"/>
  525. <action name="Raise"/>
  526. <action name="ShowMenu">
  527. <menu>client-menu</menu>
  528. </action>
  529. </mousebind>
  530. </context>
  531. <context name="AllDesktops">
  532. <mousebind button="Left" action="Press">
  533. <action name="Focus"/>
  534. <action name="Raise"/>
  535. <action name="Unshade"/>
  536. </mousebind>
  537. <mousebind button="Left" action="Click">
  538. <action name="ToggleOmnipresent"/>
  539. </mousebind>
  540. </context>
  541. <context name="Shade">
  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="ToggleShade"/>
  548. </mousebind>
  549. </context>
  550. <context name="Iconify">
  551. <mousebind button="Left" action="Press">
  552. <action name="Focus"/>
  553. <action name="Raise"/>
  554. </mousebind>
  555. <mousebind button="Left" action="Click">
  556. <action name="Iconify"/>
  557. </mousebind>
  558. </context>
  559. <context name="Maximize">
  560. <mousebind button="Left" action="Press">
  561. <action name="Focus"/>
  562. <action name="Raise"/>
  563. <action name="Unshade"/>
  564. </mousebind>
  565. <mousebind button="Middle" action="Press">
  566. <action name="Focus"/>
  567. <action name="Raise"/>
  568. <action name="Unshade"/>
  569. </mousebind>
  570. <mousebind button="Right" action="Press">
  571. <action name="Focus"/>
  572. <action name="Raise"/>
  573. <action name="Unshade"/>
  574. </mousebind>
  575. <mousebind button="Left" action="Click">
  576. <action name="ToggleMaximize"/>
  577. </mousebind>
  578. <mousebind button="Middle" action="Click">
  579. <action name="ToggleMaximize">
  580. <direction>vertical</direction>
  581. </action>
  582. </mousebind>
  583. <mousebind button="Right" action="Click">
  584. <action name="ToggleMaximize">
  585. <direction>horizontal</direction>
  586. </action>
  587. </mousebind>
  588. </context>
  589. <context name="Close">
  590. <mousebind button="Left" action="Press">
  591. <action name="Focus"/>
  592. <action name="Raise"/>
  593. <action name="Unshade"/>
  594. </mousebind>
  595. <mousebind button="Left" action="Click">
  596. <action name="Close"/>
  597. </mousebind>
  598. </context>
  599. <context name="Desktop">
  600. <mousebind button="Up" action="Click">
  601. <action name="GoToDesktop">
  602. <to>previous</to>
  603. </action>
  604. </mousebind>
  605. <mousebind button="Down" action="Click">
  606. <action name="GoToDesktop">
  607. <to>next</to>
  608. </action>
  609. </mousebind>
  610. <mousebind button="A-Up" action="Click">
  611. <action name="GoToDesktop">
  612. <to>previous</to>
  613. </action>
  614. </mousebind>
  615. <mousebind button="A-Down" action="Click">
  616. <action name="GoToDesktop">
  617. <to>next</to>
  618. </action>
  619. </mousebind>
  620. <mousebind button="C-A-Up" action="Click">
  621. <action name="GoToDesktop">
  622. <to>previous</to>
  623. </action>
  624. </mousebind>
  625. <mousebind button="C-A-Down" action="Click">
  626. <action name="GoToDesktop">
  627. <to>next</to>
  628. </action>
  629. </mousebind>
  630. <mousebind button="Left" action="Press">
  631. <action name="Focus"/>
  632. <action name="Raise"/>
  633. </mousebind>
  634. <mousebind button="Right" action="Press">
  635. <action name="Focus"/>
  636. <action name="Raise"/>
  637. </mousebind>
  638. </context>
  639. <context name="Root">
  640. <!-- Menus -->
  641. <mousebind button="Middle" action="Press">
  642. <action name="ShowMenu">
  643. <menu>client-list-combined-menu</menu>
  644. </action>
  645. </mousebind>
  646. <mousebind button="Right" action="Press">
  647. <action name="ShowMenu">
  648. <menu>root-menu</menu>
  649. </action>
  650. </mousebind>
  651. </context>
  652. <context name="MoveResize">
  653. <mousebind button="Up" action="Click">
  654. <action name="GoToDesktop">
  655. <to>previous</to>
  656. </action>
  657. </mousebind>
  658. <mousebind button="Down" action="Click">
  659. <action name="GoToDesktop">
  660. <to>next</to>
  661. </action>
  662. </mousebind>
  663. <mousebind button="A-Up" action="Click">
  664. <action name="GoToDesktop">
  665. <to>previous</to>
  666. </action>
  667. </mousebind>
  668. <mousebind button="A-Down" action="Click">
  669. <action name="GoToDesktop">
  670. <to>next</to>
  671. </action>
  672. </mousebind>
  673. </context>
  674. </mouse>
  675. <menu>
  676. <!-- You can specify more than one menu file in here and they are all loaded,
  677. just don't make menu ids clash or, well, it'll be kind of pointless -->
  678. <!-- default menu file (or custom one in $HOME/.config/openbox/) -->
  679. <file>menu.xml</file>
  680. <hideDelay>200</hideDelay>
  681. <!-- if a press-release lasts longer than this setting (in milliseconds), the
  682. menu is hidden again -->
  683. <middle>no</middle>
  684. <!-- center submenus vertically about the parent entry -->
  685. <submenuShowDelay>100</submenuShowDelay>
  686. <!-- time to delay before showing a submenu after hovering over the parent
  687. entry.
  688. if this is a negative value, then the delay is infinite and the
  689. submenu will not be shown until it is clicked on -->
  690. <submenuHideDelay>400</submenuHideDelay>
  691. <!-- time to delay before hiding a submenu when selecting another
  692. entry in parent menu
  693. if this is a negative value, then the delay is infinite and the
  694. submenu will not be hidden until a different submenu is opened -->
  695. <showIcons>yes</showIcons>
  696. <!-- controls if icons appear in the client-list-(combined-)menu -->
  697. <manageDesktops>yes</manageDesktops>
  698. <!-- show the manage desktops section in the client-list-(combined-)menu -->
  699. </menu>
  700. <applications>
  701. <application name="urxvt">
  702. <decor>no</decor>
  703. </application>
  704. </applications>
  705. </openbox_config>