Advertisement
Guest User

rc.xml

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