Advertisement
Kimarite

/.config/openbox/rc.xml - OpenBox (Debian Wheezy)

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