lxde-rc.xml 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764
  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>Arc-Dark</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>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. these are default values to use when other ones are not already set
  116. by other applications, or saved in your session
  117. use obconf if you want to change these without having to log out
  118. and back in -->
  119. <number>1</number>
  120. <firstdesk>1</firstdesk>
  121. <names>
  122. <!-- set names up here if you want to, like this:
  123. <name>desktop 1</name>
  124. <name>desktop 2</name>
  125. -->
  126. </names>
  127. <popupTime>875</popupTime>
  128. <!-- The number of milliseconds to show the popup for when switching
  129. desktops. Set this to 0 to disable the popup. -->
  130. </desktops>
  131. <resize>
  132. <drawContents>yes</drawContents>
  133. <popupShow>Nonpixel</popupShow>
  134. <!-- 'Always', 'Never', or 'Nonpixel' (xterms and such) -->
  135. <popupPosition>Center</popupPosition>
  136. <!-- 'Center', 'Top', or 'Fixed' -->
  137. <popupFixedPosition>
  138. <!-- these are used if popupPosition is set to 'Fixed' -->
  139. <x>10</x>
  140. <!-- positive number for distance from left edge, negative number for
  141. distance from right edge, or 'Center' -->
  142. <y>10</y>
  143. <!-- positive number for distance from top edge, negative number for
  144. distance from bottom edge, or 'Center' -->
  145. </popupFixedPosition>
  146. </resize>
  147. <!-- You can reserve a portion of your screen where windows will not cover when
  148. they are maximized, or when they are initially placed.
  149. Many programs reserve space automatically, but you can use this in other
  150. cases. -->
  151. <margins>
  152. <top>0</top>
  153. <bottom>0</bottom>
  154. <left>0</left>
  155. <right>0</right>
  156. </margins>
  157. <dock>
  158. <position>TopLeft</position>
  159. <!-- (Top|Bottom)(Left|Right|)|Top|Bottom|Left|Right|Floating -->
  160. <floatingX>0</floatingX>
  161. <floatingY>0</floatingY>
  162. <noStrut>no</noStrut>
  163. <stacking>Above</stacking>
  164. <!-- 'Above', 'Normal', or 'Below' -->
  165. <direction>Vertical</direction>
  166. <!-- 'Vertical' or 'Horizontal' -->
  167. <autoHide>no</autoHide>
  168. <hideDelay>300</hideDelay>
  169. <!-- in milliseconds (1000 = 1 second) -->
  170. <showDelay>300</showDelay>
  171. <!-- in milliseconds (1000 = 1 second) -->
  172. <moveButton>Middle</moveButton>
  173. <!-- 'Left', 'Middle', 'Right' -->
  174. </dock>
  175. <keyboard>
  176. <chainQuitKey>C-g</chainQuitKey>
  177. <!-- Keybindings for desktop switching -->
  178. <keybind key="C-A-Left">
  179. <action name="DesktopLeft">
  180. <dialog>no</dialog>
  181. <wrap>no</wrap>
  182. </action>
  183. </keybind>
  184. <keybind key="C-A-Right">
  185. <action name="DesktopRight">
  186. <dialog>no</dialog>
  187. <wrap>no</wrap>
  188. </action>
  189. </keybind>
  190. <keybind key="C-A-Up">
  191. <action name="DesktopUp">
  192. <dialog>no</dialog>
  193. <wrap>no</wrap>
  194. </action>
  195. </keybind>
  196. <keybind key="C-A-Down">
  197. <action name="DesktopDown">
  198. <dialog>no</dialog>
  199. <wrap>no</wrap>
  200. </action>
  201. </keybind>
  202. <keybind key="S-A-Left">
  203. <action name="SendToDesktopLeft">
  204. <dialog>no</dialog>
  205. <wrap>no</wrap>
  206. </action>
  207. </keybind>
  208. <keybind key="S-A-Right">
  209. <action name="SendToDesktopRight">
  210. <dialog>no</dialog>
  211. <wrap>no</wrap>
  212. </action>
  213. </keybind>
  214. <keybind key="S-A-Up">
  215. <action name="SendToDesktopUp">
  216. <dialog>no</dialog>
  217. <wrap>no</wrap>
  218. </action>
  219. </keybind>
  220. <keybind key="S-A-Down">
  221. <action name="SendToDesktopDown">
  222. <dialog>no</dialog>
  223. <wrap>no</wrap>
  224. </action>
  225. </keybind>
  226. <keybind key="W-F1">
  227. <action name="Desktop">
  228. <desktop>1</desktop>
  229. </action>
  230. </keybind>
  231. <keybind key="W-F2">
  232. <action name="Desktop">
  233. <desktop>2</desktop>
  234. </action>
  235. </keybind>
  236. <keybind key="W-F3">
  237. <action name="Desktop">
  238. <desktop>3</desktop>
  239. </action>
  240. </keybind>
  241. <keybind key="W-F4">
  242. <action name="Desktop">
  243. <desktop>4</desktop>
  244. </action>
  245. </keybind>
  246. <keybind key="W-d">
  247. <action name="ToggleShowDesktop"/>
  248. </keybind>
  249. <keybind key="C-A-d">
  250. <action name="ToggleShowDesktop"/>
  251. </keybind>
  252. <!-- Keybindings for windows -->
  253. <keybind key="A-F4">
  254. <action name="Close"/>
  255. </keybind>
  256. <keybind key="A-Escape">
  257. <action name="Lower"/>
  258. <action name="FocusToBottom"/>
  259. <action name="Unfocus"/>
  260. </keybind>
  261. <keybind key="A-space">
  262. <action name="ShowMenu">
  263. <menu>client-menu</menu>
  264. </action>
  265. </keybind>
  266. <!-- Keybindings for window switching -->
  267. <keybind key="A-Tab">
  268. <action name="NextWindow"/>
  269. </keybind>
  270. <keybind key="A-S-Tab">
  271. <action name="PreviousWindow"/>
  272. </keybind>
  273. <keybind key="C-A-Tab">
  274. <action name="NextWindow">
  275. <panels>yes</panels>
  276. <desktop>yes</desktop>
  277. </action>
  278. </keybind>
  279. <!-- Keybindings for running applications -->
  280. <keybind key="W-e">
  281. <action name="Execute">
  282. <startupnotify>
  283. <enabled>true</enabled>
  284. <name>PCManFM</name>
  285. </startupnotify>
  286. <command>pcmanfm</command>
  287. </action>
  288. </keybind>
  289. <!-- Keybindings for finding files -->
  290. <keybind key="W-f">
  291. <action name="Execute">
  292. <command>pcmanfm --find-files</command>
  293. </action>
  294. </keybind>
  295. <!--keybindings for LXPanel -->
  296. <keybind key="W-r">
  297. <action name="Execute">
  298. <command>lxpanelctl run</command>
  299. </action>
  300. </keybind>
  301. <keybind key="A-F2">
  302. <action name="Execute">
  303. <command>lxpanelctl run</command>
  304. </action>
  305. </keybind>
  306. <keybind key="C-Escape">
  307. <action name="Execute">
  308. <command>lxpanelctl menu</command>
  309. </action>
  310. </keybind>
  311. <keybind key="A-F1">
  312. <action name="Execute">
  313. <command>lxpanelctl menu</command>
  314. </action>
  315. </keybind>
  316. <keybind key="A-F11">
  317. <action name="ToggleFullscreen"/>
  318. </keybind>
  319. <!-- Launch Task Manager with Ctrl+Alt+Del -->
  320. <keybind key="A-C-Delete">
  321. <action name="Execute">
  322. <command>lxtask</command>
  323. </action>
  324. </keybind>
  325. <!-- Launch gnome-screenshot when PrintScreen is pressed -->
  326. <keybind key="Print">
  327. <action name="Execute">
  328. <command>gnome-screenshot -i</command>
  329. </action>
  330. </keybind>
  331. <!-- Launch LXRandR when Fn+Screen is pressed -->
  332. <keybind key="XF86Display">
  333. <action name="Execute">
  334. <command>lxrandr</command>
  335. </action>
  336. </keybind>
  337. </keyboard>
  338. <mouse>
  339. <dragThreshold>8</dragThreshold>
  340. <!-- number of pixels the mouse must move before a drag begins -->
  341. <doubleClickTime>200</doubleClickTime>
  342. <!-- in milliseconds (1000 = 1 second) -->
  343. <screenEdgeWarpTime>400</screenEdgeWarpTime>
  344. <!-- Time before changing desktops when the pointer touches the edge of the
  345. screen while moving a window, in milliseconds (1000 = 1 second).
  346. Set this to 0 to disable warping -->
  347. <context name="Frame">
  348. <mousebind button="A-Left" action="Press">
  349. <action name="Focus"/>
  350. <action name="Raise"/>
  351. </mousebind>
  352. <mousebind button="A-Left" action="Click">
  353. <action name="Unshade"/>
  354. </mousebind>
  355. <mousebind button="A-Left" action="Drag">
  356. <action name="Move"/>
  357. </mousebind>
  358. <mousebind button="A-Right" action="Press">
  359. <action name="Focus"/>
  360. <action name="Raise"/>
  361. <action name="Unshade"/>
  362. </mousebind>
  363. <mousebind button="A-Right" action="Drag">
  364. <action name="Resize"/>
  365. </mousebind>
  366. <mousebind button="A-Middle" action="Press">
  367. <action name="Lower"/>
  368. <action name="FocusToBottom"/>
  369. <action name="Unfocus"/>
  370. </mousebind>
  371. <mousebind button="A-Up" action="Click">
  372. <action name="DesktopPrevious"/>
  373. </mousebind>
  374. <mousebind button="A-Down" action="Click">
  375. <action name="DesktopNext"/>
  376. </mousebind>
  377. <mousebind button="C-A-Up" action="Click">
  378. <action name="DesktopPrevious"/>
  379. </mousebind>
  380. <mousebind button="C-A-Down" action="Click">
  381. <action name="DesktopNext"/>
  382. </mousebind>
  383. <mousebind button="A-S-Up" action="Click">
  384. <action name="SendToDesktopPrevious"/>
  385. </mousebind>
  386. <mousebind button="A-S-Down" action="Click">
  387. <action name="SendToDesktopNext"/>
  388. </mousebind>
  389. </context>
  390. <context name="Titlebar">
  391. <mousebind button="Left" action="Press">
  392. <action name="Focus"/>
  393. <action name="Raise"/>
  394. </mousebind>
  395. <mousebind button="Left" action="Drag">
  396. <action name="Move"/>
  397. </mousebind>
  398. <mousebind button="Left" action="DoubleClick">
  399. <action name="ToggleMaximizeFull"/>
  400. </mousebind>
  401. <mousebind button="Middle" action="Press">
  402. <action name="Lower"/>
  403. <action name="FocusToBottom"/>
  404. <action name="Unfocus"/>
  405. </mousebind>
  406. <mousebind button="Up" action="Click">
  407. <action name="Shade"/>
  408. <action name="FocusToBottom"/>
  409. <action name="Unfocus"/>
  410. <action name="Lower"/>
  411. </mousebind>
  412. <mousebind button="Down" action="Click">
  413. <action name="Unshade"/>
  414. <action name="Raise"/>
  415. </mousebind>
  416. <mousebind button="Right" action="Press">
  417. <action name="Focus"/>
  418. <action name="Raise"/>
  419. <action name="ShowMenu">
  420. <menu>client-menu</menu>
  421. </action>
  422. </mousebind>
  423. </context>
  424. <context name="Top">
  425. <mousebind button="Left" action="Press">
  426. <action name="Focus"/>
  427. <action name="Raise"/>
  428. <action name="Unshade"/>
  429. </mousebind>
  430. <mousebind button="Left" action="Drag">
  431. <action name="Resize">
  432. <edge>top</edge>
  433. </action>
  434. </mousebind>
  435. </context>
  436. <context name="Left">
  437. <mousebind button="Left" action="Press">
  438. <action name="Focus"/>
  439. <action name="Raise"/>
  440. </mousebind>
  441. <mousebind button="Left" action="Drag">
  442. <action name="Resize">
  443. <edge>left</edge>
  444. </action>
  445. </mousebind>
  446. </context>
  447. <context name="Right">
  448. <mousebind button="Left" action="Press">
  449. <action name="Focus"/>
  450. <action name="Raise"/>
  451. </mousebind>
  452. <mousebind button="Left" action="Drag">
  453. <action name="Resize">
  454. <edge>right</edge>
  455. </action>
  456. </mousebind>
  457. </context>
  458. <context name="Bottom">
  459. <mousebind button="Left" action="Press">
  460. <action name="Focus"/>
  461. <action name="Raise"/>
  462. </mousebind>
  463. <mousebind button="Left" action="Drag">
  464. <action name="Resize">
  465. <edge>bottom</edge>
  466. </action>
  467. </mousebind>
  468. <mousebind button="Middle" action="Press">
  469. <action name="Lower"/>
  470. <action name="FocusToBottom"/>
  471. <action name="Unfocus"/>
  472. </mousebind>
  473. <mousebind button="Right" action="Press">
  474. <action name="Focus"/>
  475. <action name="Raise"/>
  476. <action name="ShowMenu">
  477. <menu>client-menu</menu>
  478. </action>
  479. </mousebind>
  480. </context>
  481. <context name="BLCorner">
  482. <mousebind button="Left" action="Press">
  483. <action name="Focus"/>
  484. <action name="Raise"/>
  485. </mousebind>
  486. <mousebind button="Left" action="Drag">
  487. <action name="Resize"/>
  488. </mousebind>
  489. </context>
  490. <context name="BRCorner">
  491. <mousebind button="Left" action="Press">
  492. <action name="Focus"/>
  493. <action name="Raise"/>
  494. </mousebind>
  495. <mousebind button="Left" action="Drag">
  496. <action name="Resize"/>
  497. </mousebind>
  498. </context>
  499. <context name="TLCorner">
  500. <mousebind button="Left" action="Press">
  501. <action name="Focus"/>
  502. <action name="Raise"/>
  503. <action name="Unshade"/>
  504. </mousebind>
  505. <mousebind button="Left" action="Drag">
  506. <action name="Resize"/>
  507. </mousebind>
  508. </context>
  509. <context name="TRCorner">
  510. <mousebind button="Left" action="Press">
  511. <action name="Focus"/>
  512. <action name="Raise"/>
  513. <action name="Unshade"/>
  514. </mousebind>
  515. <mousebind button="Left" action="Drag">
  516. <action name="Resize"/>
  517. </mousebind>
  518. </context>
  519. <context name="Client">
  520. <mousebind button="Left" action="Press">
  521. <action name="Focus"/>
  522. <action name="Raise"/>
  523. </mousebind>
  524. <mousebind button="Middle" action="Press">
  525. <action name="Focus"/>
  526. <action name="Raise"/>
  527. </mousebind>
  528. <mousebind button="Right" action="Press">
  529. <action name="Focus"/>
  530. <action name="Raise"/>
  531. </mousebind>
  532. </context>
  533. <context name="Icon">
  534. <mousebind button="Left" action="Press">
  535. <action name="Focus"/>
  536. <action name="Raise"/>
  537. <action name="Unshade"/>
  538. <action name="ShowMenu">
  539. <menu>client-menu</menu>
  540. </action>
  541. </mousebind>
  542. <mousebind button="Right" action="Press">
  543. <action name="Focus"/>
  544. <action name="Raise"/>
  545. <action name="ShowMenu">
  546. <menu>client-menu</menu>
  547. </action>
  548. </mousebind>
  549. </context>
  550. <context name="AllDesktops">
  551. <mousebind button="Left" action="Press">
  552. <action name="Focus"/>
  553. <action name="Raise"/>
  554. <action name="Unshade"/>
  555. </mousebind>
  556. <mousebind button="Left" action="Click">
  557. <action name="ToggleOmnipresent"/>
  558. </mousebind>
  559. </context>
  560. <context name="Shade">
  561. <mousebind button="Left" action="Press">
  562. <action name="Focus"/>
  563. <action name="Raise"/>
  564. </mousebind>
  565. <mousebind button="Left" action="Click">
  566. <action name="ToggleShade"/>
  567. </mousebind>
  568. </context>
  569. <context name="Iconify">
  570. <mousebind button="Left" action="Press">
  571. <action name="Focus"/>
  572. <action name="Raise"/>
  573. </mousebind>
  574. <mousebind button="Left" action="Click">
  575. <action name="Iconify"/>
  576. </mousebind>
  577. </context>
  578. <context name="Maximize">
  579. <mousebind button="Left" action="Press">
  580. <action name="Focus"/>
  581. <action name="Raise"/>
  582. <action name="Unshade"/>
  583. </mousebind>
  584. <mousebind button="Middle" action="Press">
  585. <action name="Focus"/>
  586. <action name="Raise"/>
  587. <action name="Unshade"/>
  588. </mousebind>
  589. <mousebind button="Right" action="Press">
  590. <action name="Focus"/>
  591. <action name="Raise"/>
  592. <action name="Unshade"/>
  593. </mousebind>
  594. <mousebind button="Left" action="Click">
  595. <action name="ToggleMaximizeFull"/>
  596. </mousebind>
  597. <mousebind button="Middle" action="Click">
  598. <action name="ToggleMaximizeVert"/>
  599. </mousebind>
  600. <mousebind button="Right" action="Click">
  601. <action name="ToggleMaximizeHorz"/>
  602. </mousebind>
  603. </context>
  604. <context name="Close">
  605. <mousebind button="Left" action="Press">
  606. <action name="Focus"/>
  607. <action name="Raise"/>
  608. <action name="Unshade"/>
  609. </mousebind>
  610. <mousebind button="Left" action="Click">
  611. <action name="Close"/>
  612. </mousebind>
  613. </context>
  614. <context name="Desktop">
  615. <mousebind button="Up" action="Click">
  616. <action name="DesktopPrevious"/>
  617. </mousebind>
  618. <mousebind button="Down" action="Click">
  619. <action name="DesktopNext"/>
  620. </mousebind>
  621. <mousebind button="A-Up" action="Click">
  622. <action name="DesktopPrevious"/>
  623. </mousebind>
  624. <mousebind button="A-Down" action="Click">
  625. <action name="DesktopNext"/>
  626. </mousebind>
  627. <mousebind button="C-A-Up" action="Click">
  628. <action name="DesktopPrevious"/>
  629. </mousebind>
  630. <mousebind button="C-A-Down" action="Click">
  631. <action name="DesktopNext"/>
  632. </mousebind>
  633. <mousebind button="Left" action="Press">
  634. <action name="Focus"/>
  635. <action name="Raise"/>
  636. </mousebind>
  637. <mousebind button="Right" action="Press">
  638. <action name="Focus"/>
  639. <action name="Raise"/>
  640. </mousebind>
  641. </context>
  642. <context name="Root">
  643. <!-- Menus -->
  644. <mousebind button="Middle" action="Press">
  645. <action name="ShowMenu">
  646. <menu>client-list-combined-menu</menu>
  647. </action>
  648. </mousebind>
  649. <mousebind button="Right" action="Press">
  650. <action name="ShowMenu">
  651. <menu>root-menu</menu>
  652. </action>
  653. </mousebind>
  654. </context>
  655. <context name="MoveResize">
  656. <mousebind button="Up" action="Click">
  657. <action name="DesktopPrevious"/>
  658. </mousebind>
  659. <mousebind button="Down" action="Click">
  660. <action name="DesktopNext"/>
  661. </mousebind>
  662. <mousebind button="A-Up" action="Click">
  663. <action name="DesktopPrevious"/>
  664. </mousebind>
  665. <mousebind button="A-Down" action="Click">
  666. <action name="DesktopNext"/>
  667. </mousebind>
  668. </context>
  669. </mouse>
  670. <menu>
  671. <!-- You can specify more than one menu file in here and they are all loaded,
  672. just don't make menu ids clash or, well, it'll be kind of pointless -->
  673. <!-- default menu file (or custom one in $HOME/.config/openbox/) -->
  674. <file>/usr/share/lxde/openbox/menu.xml</file>
  675. <hideDelay>200</hideDelay>
  676. <!-- if a press-release lasts longer than this setting (in milliseconds), the
  677. menu is hidden again -->
  678. <middle>no</middle>
  679. <!-- center submenus vertically about the parent entry -->
  680. <submenuShowDelay>100</submenuShowDelay>
  681. <!-- this one is easy, time to delay before showing a submenu after hovering
  682. over the parent entry -->
  683. <applicationIcons>yes</applicationIcons>
  684. <!-- controls if icons appear in the client-list-(combined-)menu -->
  685. <manageDesktops>yes</manageDesktops>
  686. <!-- show the manage desktops section in the client-list-(combined-)menu -->
  687. </menu>
  688. <applications>
  689. <!--
  690. # this is an example with comments through out. use these to make your
  691. # own rules, but without the comments of course.
  692. <application name="first element of window's WM_CLASS property (see xprop)"
  693. class="second element of window's WM_CLASS property (see xprop)"
  694. role="the window's WM_WINDOW_ROLE property (see xprop)">
  695. # the name or the class can be set, or both. this is used to match
  696. # windows when they appear. role can optionally be set as well, to
  697. # further restrict your matches.
  698. # the name, class, and role use simple wildcard matching such as those
  699. # used by a shell. you can use * to match any characters and ? to match
  700. # any single character.
  701. # when multiple rules match a window, they will all be applied, in the
  702. # order that they appear in this list
  703. # each element can be left out or set to 'default' to specify to not
  704. # change that attribute of the window
  705. <decor>yes</decor>
  706. # enable or disable window decorations
  707. <shade>no</shade>
  708. # make the window shaded when it appears, or not
  709. <position>
  710. # the position is only used if both an x and y coordinate are provided
  711. # (and not set to 'default')
  712. <x>center</x>
  713. # a number like 50, or 'center' to center on screen. use a negative number
  714. # to start from the right (or bottom for <y>), ie -50 is 50 pixels from the
  715. # right edge (or bottom).
  716. <y>200</y>
  717. <monitor>1</monitor>
  718. # specifies the monitor in a xinerama setup.
  719. # 1 is the first head, or 'mouse' for wherever the mouse is
  720. </position>
  721. <focus>yes</focus>
  722. # if the window should try be given focus when it appears. if this is set
  723. # to yes it doesn't guarantee the window will be given focus. some
  724. # restrictions may apply, but Openbox will try to
  725. <desktop>1</desktop>
  726. # 1 is the first desktop, 'all' for all desktops
  727. <layer>normal</layer>
  728. # 'above', 'normal', or 'below'
  729. <iconic>no</iconic>
  730. # make the window iconified when it appears, or not
  731. <skip_pager>no</skip_pager>
  732. # asks to not be shown in pagers
  733. <skip_taskbar>no</skip_taskbar>
  734. # asks to not be shown in taskbars. window cycling actions will also
  735. # skip past such windows
  736. <fullscreen>yes</fullscreen>
  737. # make the window in fullscreen mode when it appears
  738. <maximized>true</maximized>
  739. # 'Horizontal', 'Vertical' or boolean (yes/no)
  740. </application>
  741. # end of the example
  742. -->
  743. </applications>
  744. </openbox_config>