lxde-rc.xml 22 KB

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