Advertisement
Guest User

Untitled

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