Advertisement
Guest User

rc.xml

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