Advertisement
Guest User

rc.xml

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