lxqt-rc.xml 23 KB

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