Advertisement
Guest User

Untitled

a guest
Jan 12th, 2014
334
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 30.72 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- This file should reside in ~/.config/openbox/.
  3. Somewhere on the system, I believe there is a default
  4. master copy, which you aren't supposed to edit. I'm not
  5. sure if that's JUST so it will remain a virginal master
  6. copy (which is reasonably sensible but seems like a rule
  7. made to be broken, kinda like editing sudoers only with
  8. visudo) or because updates may concievably overwrite it
  9. along with all your tweaks. Or maybe some other reason. -->
  10. <openbox_config xmlns="http://openbox.org/3.4/rc" xmlns:xi="http://www.w3.org/2001/XInclude">
  11. <resistance>
  12. <strength>10</strength>
  13. <screen_edge_strength>20</screen_edge_strength>
  14. </resistance>
  15. <focus>
  16. <focusNew>yes</focusNew>
  17. <!-- always try to focus new windows when they appear. other rules do
  18. apply -->
  19. <followMouse>no</followMouse>
  20. <!-- move focus to a window when you move the mouse into it -->
  21. <focusLast>yes</focusLast>
  22. <!-- focus the last used window when changing desktops, instead of the one
  23. under the mouse pointer. when followMouse is enabled -->
  24. <underMouse>no</underMouse>
  25. <!-- move focus under the mouse, even when the mouse is not moving -->
  26. <focusDelay>200</focusDelay>
  27. <!-- when followMouse is enabled, the mouse must be inside the window for
  28. this many milliseconds (1000 = 1 sec) before moving focus to it -->
  29. <raiseOnFocus>no</raiseOnFocus>
  30. <!-- when followMouse is enabled, and a window is given focus by moving the
  31. mouse into it, also raise the window -->
  32. </focus>
  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. <theme>
  51. <name>0_user,_large_font</name>
  52. <titleLayout>NLIMC</titleLayout>
  53. <!--
  54. available characters are NDSLIMC, each can occur at most once.
  55. N: window icon
  56. L: window label (AKA title).
  57. I: iconify
  58. M: maximize
  59. C: close
  60. S: shade (roll up/down)
  61. D: omnipresent (on all desktops).
  62. -->
  63. <keepBorder>yes</keepBorder>
  64. <animateIconify>no</animateIconify>
  65. <font place="ActiveWindow">
  66. <name>Sans</name>
  67. <size>22</size>
  68. <!-- font size in points -->
  69. <weight>Bold</weight>
  70. <!-- 'bold' or 'normal' -->
  71. <slant>Normal</slant>
  72. <!-- 'italic' or 'normal' -->
  73. </font>
  74. <font place="InactiveWindow">
  75. <name>Sans</name>
  76. <size>22</size>
  77. <!-- font size in points -->
  78. <weight>Bold</weight>
  79. <!-- 'bold' or 'normal' -->
  80. <slant>Normal</slant>
  81. <!-- 'italic' or 'normal' -->
  82. </font>
  83. <font place="MenuHeader">
  84. <name>Sans</name>
  85. <size>22</size>
  86. <!-- font size in points -->
  87. <weight>Normal</weight>
  88. <!-- 'bold' or 'normal' -->
  89. <slant>Normal</slant>
  90. <!-- 'italic' or 'normal' -->
  91. </font>
  92. <font place="MenuItem">
  93. <name>Sans</name>
  94. <size>22</size>
  95. <!-- font size in points -->
  96. <weight>Normal</weight>
  97. <!-- 'bold' or 'normal' -->
  98. <slant>Normal</slant>
  99. <!-- 'italic' or 'normal' -->
  100. </font>
  101. <font place="ActiveOnScreenDisplay">
  102. <name>Sans</name>
  103. <size>22</size>
  104. <!-- font size in points -->
  105. <weight>Bold</weight>
  106. <!-- 'bold' or 'normal' -->
  107. <slant>Normal</slant>
  108. <!-- 'italic' or 'normal' -->
  109. </font>
  110. <font place="InactiveOnScreenDisplay">
  111. <name>Sans</name>
  112. <size>22</size>
  113. <!-- font size in points -->
  114. <weight>Bold</weight>
  115. <!-- 'bold' or 'normal' -->
  116. <slant>Normal</slant>
  117. <!-- 'italic' or 'normal' -->
  118. </font>
  119. </theme>
  120. <desktops>
  121. <!-- this stuff is only used at startup, pagers allow you to change them
  122. during a session
  123.  
  124. these are default values to use when other ones are not already set
  125. by other applications, or saved in your session
  126.  
  127. use obconf if you want to change these without having to log out
  128. and back in -->
  129. <number>1</number>
  130. <firstdesk>1</firstdesk>
  131. <names>
  132. <!-- set names up here if you want to, like this:
  133. <name>desktop 1</name>
  134. <name>desktop 2</name>
  135. -->
  136. </names>
  137. <popupTime>875</popupTime>
  138. <!-- The number of milliseconds to show the popup for when switching
  139. desktops. Set this to 0 to disable the popup. -->
  140. </desktops>
  141. <resize>
  142. <drawContents>yes</drawContents>
  143. <popupShow>Nonpixel</popupShow>
  144. <!-- 'Always', 'Never', or 'Nonpixel' (xterms and such) -->
  145. <popupPosition>Center</popupPosition>
  146. <!-- 'Center', 'Top', or 'Fixed' -->
  147. <popupFixedPosition>
  148. <!-- these are used if popupPosition is set to 'Fixed' -->
  149. <x>10</x>
  150. <!-- positive number for distance from left edge, negative number for
  151. distance from right edge, or 'Center' -->
  152. <y>10</y>
  153. <!-- positive number for distance from top edge, negative number for
  154. distance from bottom edge, or 'Center' -->
  155. </popupFixedPosition>
  156. </resize>
  157. <!-- You can reserve a portion of your screen where windows will not cover when
  158. they are maximized, or when they are initially placed.
  159. Many programs reserve space automatically, but you can use this in other
  160. cases. -->
  161. <margins>
  162. <top>10</top>
  163. <bottom>0</bottom>
  164. <left>0</left>
  165. <right>0</right>
  166. </margins>
  167. <dock>
  168. <position>TopLeft</position>
  169. <!-- (Top|Bottom)(Left|Right|)|Top|Bottom|Left|Right|Floating -->
  170. <floatingX>0</floatingX>
  171. <floatingY>0</floatingY>
  172. <noStrut>no</noStrut>
  173. <stacking>Above</stacking>
  174. <!-- 'Above', 'Normal', or 'Below' -->
  175. <direction>Vertical</direction>
  176. <!-- 'Vertical' or 'Horizontal' -->
  177. <autoHide>no</autoHide>
  178. <hideDelay>300</hideDelay>
  179. <!-- in milliseconds (1000 = 1 second) -->
  180. <showDelay>300</showDelay>
  181. <!-- in milliseconds (1000 = 1 second) -->
  182. <moveButton>Middle</moveButton>
  183. <!-- 'Left', 'Middle', 'Right' -->
  184. </dock>
  185. <keyboard>
  186. <chainQuitKey>C-g</chainQuitKey>
  187. <!-- Keybindings for desktop switching -->
  188. <keybind key="C-A-Left">
  189. <action name="GoToDesktop">
  190. <to>left</to>
  191. <wrap>no</wrap>
  192. </action>
  193. </keybind>
  194. <keybind key="C-A-Right">
  195. <action name="GoToDesktop">
  196. <to>right</to>
  197. <wrap>no</wrap>
  198. </action>
  199. </keybind>
  200. <keybind key="C-A-Up">
  201. <action name="GoToDesktop">
  202. <to>up</to>
  203. <wrap>no</wrap>
  204. </action>
  205. </keybind>
  206. <keybind key="C-A-Down">
  207. <action name="GoToDesktop">
  208. <to>down</to>
  209. <wrap>no</wrap>
  210. </action>
  211. </keybind>
  212. <keybind key="S-A-Left">
  213. <action name="SendToDesktop">
  214. <to>left</to>
  215. <wrap>no</wrap>
  216. </action>
  217. </keybind>
  218. <keybind key="S-A-Right">
  219. <action name="SendToDesktop">
  220. <to>right</to>
  221. <wrap>no</wrap>
  222. </action>
  223. </keybind>
  224. <keybind key="S-A-Up">
  225. <action name="SendToDesktop">
  226. <to>up</to>
  227. <wrap>no</wrap>
  228. </action>
  229. </keybind>
  230. <keybind key="S-A-Down">
  231. <action name="SendToDesktop">
  232. <to>down</to>
  233. <wrap>no</wrap>
  234. </action>
  235. </keybind>
  236. <keybind key="A-F2">
  237. <action name="gmrun">
  238. <to>1</to>
  239. </action>
  240. </keybind>
  241. <keybind key="W-F1">
  242. <action name="GoToDesktop">
  243. <to>1</to>
  244. </action>
  245. </keybind>
  246. <keybind key="W-F2">
  247. <action name="GoToDesktop">
  248. <to>2</to>
  249. </action>
  250. </keybind>
  251. <keybind key="W-F3">
  252. <action name="GoToDesktop">
  253. <to>3</to>
  254. </action>
  255. </keybind>
  256. <keybind key="W-F4">
  257. <action name="GoToDesktop">
  258. <to>4</to>
  259. </action>
  260. </keybind>
  261. <keybind key="W-d">
  262. <action name="ToggleShowDesktop"/>
  263. </keybind>
  264. <!-- Keybindings for windows -->
  265. <keybind key="A-F4">
  266. <action name="Close"/>
  267. </keybind>
  268. <keybind key="A-Escape">
  269. <action name="Lower"/>
  270. <action name="FocusToBottom"/>
  271. <action name="Unfocus"/>
  272. </keybind>
  273. <keybind key="A-space">
  274. <action name="ShowMenu">
  275. <menu>client-menu</menu>
  276. </action>
  277. </keybind>
  278. <!-- Take a screenshot of the current window with gnome-screenshot when Alt+Print are pressed -->
  279. <keybind key="A-Print">
  280. <action name="Execute">
  281. <command>gnome-screenshot -w</command>
  282. </action>
  283. </keybind>
  284. <!-- Keybindings for window switching -->
  285. <keybind key="A-Tab">
  286. <action name="NextWindow">
  287. <finalactions>
  288. <action name="Focus"/>
  289. <action name="Raise"/>
  290. <action name="Unshade"/>
  291. </finalactions>
  292. </action>
  293. </keybind>
  294. <keybind key="A-S-Tab">
  295. <action name="PreviousWindow">
  296. <finalactions>
  297. <action name="Focus"/>
  298. <action name="Raise"/>
  299. <action name="Unshade"/>
  300. </finalactions>
  301. </action>
  302. </keybind>
  303. <keybind key="C-A-Tab">
  304. <action name="NextWindow">
  305. <panels>yes</panels>
  306. <desktop>yes</desktop>
  307. <finalactions>
  308. <action name="Focus"/>
  309. <action name="Raise"/>
  310. <action name="Unshade"/>
  311. </finalactions>
  312. </action>
  313. </keybind>
  314. <!-- Keybindings for window switching with the arrow keys -->
  315. <keybind key="W-S-Right">
  316. <action name="DirectionalCycleWindows">
  317. <direction>right</direction>
  318. </action>
  319. </keybind>
  320. <keybind key="W-S-Left">
  321. <action name="DirectionalCycleWindows">
  322. <direction>left</direction>
  323. </action>
  324. </keybind>
  325. <keybind key="W-S-Up">
  326. <action name="DirectionalCycleWindows">
  327. <direction>up</direction>
  328. </action>
  329. </keybind>
  330. <keybind key="W-S-Down">
  331. <action name="DirectionalCycleWindows">
  332. <direction>down</direction>
  333. </action>
  334. </keybind>
  335. <!-- Keybindings for running applications -->
  336. <!-- Added by me -->
  337. <keybind key="C-t">
  338. <action name="Execute">
  339. <startupnotify>
  340. <enabled>true</enabled>
  341. <name>lxterminal</name>
  342. </startupnotify>
  343. <command>lxterminal</command>
  344. </action>
  345. </keybind>
  346. <!-- end of Added by me -->
  347. <keybind key="W-e">
  348. <action name="Execute">
  349. <startupnotify>
  350. <enabled>true</enabled>
  351. <name>Konqueror</name>
  352. </startupnotify>
  353. <command>kfmclient openProfile filemanagement</command>
  354. </action>
  355. </keybind>
  356. <!-- Launch gnome-screenshot when Print is pressed -->
  357. <keybind key="Print">
  358. <action name="Execute">
  359. <command>gnome-screenshot</command>
  360. </action>
  361. </keybind>
  362. </keyboard>
  363. <mouse>
  364. <dragThreshold>1</dragThreshold>
  365. <!-- number of pixels the mouse must move before a drag begins -->
  366. <doubleClickTime>200</doubleClickTime>
  367. <!-- in milliseconds (1000 = 1 second) -->
  368. <screenEdgeWarpTime>400</screenEdgeWarpTime>
  369. <!-- Time before changing desktops when the pointer touches the edge of the
  370. screen while moving a window, in milliseconds (1000 = 1 second).
  371. Set this to 0 to disable warping -->
  372. <screenEdgeWarpMouse>false</screenEdgeWarpMouse>
  373. <!-- Set this to TRUE to move the mouse pointer across the desktop when
  374. switching due to hitting the edge of the screen -->
  375. <context name="Frame">
  376. <mousebind button="A-Left" action="Press">
  377. <action name="Focus"/>
  378. <action name="Raise"/>
  379. </mousebind>
  380. <mousebind button="A-Left" action="Click">
  381. <action name="Unshade"/>
  382. </mousebind>
  383. <mousebind button="A-Left" action="Drag">
  384. <action name="Move"/>
  385. </mousebind>
  386. <mousebind button="A-Right" action="Press">
  387. <action name="Focus"/>
  388. <action name="Raise"/>
  389. <action name="Unshade"/>
  390. </mousebind>
  391. <mousebind button="A-Right" action="Drag">
  392. <action name="Resize"/>
  393. </mousebind>
  394. <mousebind button="A-Middle" action="Press">
  395. <action name="Lower"/>
  396. <action name="FocusToBottom"/>
  397. <action name="Unfocus"/>
  398. </mousebind>
  399. <mousebind button="A-Up" action="Click">
  400. <action name="GoToDesktop">
  401. <to>previous</to>
  402. </action>
  403. </mousebind>
  404. <mousebind button="A-Down" action="Click">
  405. <action name="GoToDesktop">
  406. <to>next</to>
  407. </action>
  408. </mousebind>
  409. <mousebind button="C-A-Up" action="Click">
  410. <action name="GoToDesktop">
  411. <to>previous</to>
  412. </action>
  413. </mousebind>
  414. <mousebind button="C-A-Down" action="Click">
  415. <action name="GoToDesktop">
  416. <to>next</to>
  417. </action>
  418. </mousebind>
  419. <mousebind button="A-S-Up" action="Click">
  420. <action name="SendToDesktop">
  421. <to>previous</to>
  422. </action>
  423. </mousebind>
  424. <mousebind button="A-S-Down" action="Click">
  425. <action name="SendToDesktop">
  426. <to>next</to>
  427. </action>
  428. </mousebind>
  429. </context>
  430. <context name="Titlebar">
  431. <mousebind button="Left" action="Drag">
  432. <action name="Move"/>
  433. </mousebind>
  434. <mousebind button="Left" action="DoubleClick">
  435. <action name="ToggleShade"/>
  436. </mousebind>
  437. <mousebind button="Up" action="Click">
  438. <action name="if">
  439. <shaded>no</shaded>
  440. <then>
  441. <action name="Shade"/>
  442. <action name="FocusToBottom"/>
  443. <action name="Unfocus"/>
  444. <action name="Lower"/>
  445. </then>
  446. </action>
  447. </mousebind>
  448. <mousebind button="Down" action="Click">
  449. <action name="if">
  450. <shaded>yes</shaded>
  451. <then>
  452. <action name="Unshade"/>
  453. <action name="Raise"/>
  454. </then>
  455. </action>
  456. </mousebind>
  457. </context>
  458. <context name="Titlebar Top Right Bottom Left TLCorner TRCorner BRCorner BLCorner">
  459. <mousebind button="Left" action="Press">
  460. <action name="Focus"/>
  461. <action name="Raise"/>
  462. <action name="Unshade"/>
  463. </mousebind>
  464. <mousebind button="Middle" action="Press">
  465. <action name="Lower"/>
  466. <action name="FocusToBottom"/>
  467. <action name="Unfocus"/>
  468. </mousebind>
  469. <mousebind button="Right" action="Press">
  470. <action name="Focus"/>
  471. <action name="Raise"/>
  472. <action name="ShowMenu">
  473. <menu>client-menu</menu>
  474. </action>
  475. </mousebind>
  476. </context>
  477. <context name="Top">
  478. <mousebind button="Left" action="Drag">
  479. <action name="Resize">
  480. <edge>top</edge>
  481. </action>
  482. </mousebind>
  483. </context>
  484. <context name="Left">
  485. <mousebind button="Left" action="Drag">
  486. <action name="Resize">
  487. <edge>left</edge>
  488. </action>
  489. </mousebind>
  490. </context>
  491. <context name="Right">
  492. <mousebind button="Left" action="Drag">
  493. <action name="Resize">
  494. <edge>right</edge>
  495. </action>
  496. </mousebind>
  497. </context>
  498. <context name="Bottom">
  499. <mousebind button="Left" action="Drag">
  500. <action name="Resize">
  501. <edge>bottom</edge>
  502. </action>
  503. </mousebind>
  504. <mousebind button="Right" action="Press">
  505. <action name="Focus"/>
  506. <action name="Raise"/>
  507. <action name="ShowMenu">
  508. <menu>client-menu</menu>
  509. </action>
  510. </mousebind>
  511. </context>
  512. <context name="TRCorner BRCorner TLCorner BLCorner">
  513. <mousebind button="Left" action="Press">
  514. <action name="Focus"/>
  515. <action name="Raise"/>
  516. <action name="Unshade"/>
  517. </mousebind>
  518. <mousebind button="Left" action="Drag">
  519. <action name="Resize"/>
  520. </mousebind>
  521. </context>
  522. <context name="Client">
  523. <mousebind button="Left" action="Press">
  524. <action name="Focus"/>
  525. <action name="Raise"/>
  526. </mousebind>
  527. <mousebind button="Middle" action="Press">
  528. <action name="Focus"/>
  529. <action name="Raise"/>
  530. </mousebind>
  531. <mousebind button="Right" action="Press">
  532. <action name="Focus"/>
  533. <action name="Raise"/>
  534. </mousebind>
  535. </context>
  536. <context name="Icon">
  537. <mousebind button="Left" action="Press">
  538. <action name="Focus"/>
  539. <action name="Raise"/>
  540. <action name="Unshade"/>
  541. <action name="ShowMenu">
  542. <menu>client-menu</menu>
  543. </action>
  544. </mousebind>
  545. <mousebind button="Right" action="Press">
  546. <action name="Focus"/>
  547. <action name="Raise"/>
  548. <action name="ShowMenu">
  549. <menu>client-menu</menu>
  550. </action>
  551. </mousebind>
  552. </context>
  553. <context name="AllDesktops">
  554. <mousebind button="Left" action="Press">
  555. <action name="Focus"/>
  556. <action name="Raise"/>
  557. <action name="Unshade"/>
  558. </mousebind>
  559. <mousebind button="Left" action="Click">
  560. <action name="ToggleOmnipresent"/>
  561. </mousebind>
  562. </context>
  563. <context name="Shade">
  564. <mousebind button="Left" action="Press">
  565. <action name="Focus"/>
  566. <action name="Raise"/>
  567. </mousebind>
  568. <mousebind button="Left" action="Click">
  569. <action name="ToggleShade"/>
  570. </mousebind>
  571. </context>
  572. <context name="Iconify">
  573. <mousebind button="Left" action="Press">
  574. <action name="Focus"/>
  575. <action name="Raise"/>
  576. </mousebind>
  577. <mousebind button="Left" action="Click">
  578. <action name="Iconify"/>
  579. </mousebind>
  580. </context>
  581. <context name="Maximize">
  582. <mousebind button="Left" action="Press">
  583. <action name="Focus"/>
  584. <action name="Raise"/>
  585. <action name="Unshade"/>
  586. </mousebind>
  587. <mousebind button="Middle" action="Press">
  588. <action name="Focus"/>
  589. <action name="Raise"/>
  590. <action name="Unshade"/>
  591. </mousebind>
  592. <mousebind button="Right" action="Press">
  593. <action name="Focus"/>
  594. <action name="Raise"/>
  595. <action name="Unshade"/>
  596. </mousebind>
  597. <mousebind button="Left" action="Click">
  598. <action name="ToggleMaximize"/>
  599. </mousebind>
  600. <mousebind button="Middle" action="Click">
  601. <action name="ToggleMaximize">
  602. <direction>vertical</direction>
  603. </action>
  604. </mousebind>
  605. <mousebind button="Right" action="Click">
  606. <action name="ToggleMaximize">
  607. <direction>horizontal</direction>
  608. </action>
  609. </mousebind>
  610. </context>
  611. <context name="Close">
  612. <mousebind button="Left" action="Press">
  613. <action name="Focus"/>
  614. <action name="Raise"/>
  615. <action name="Unshade"/>
  616. </mousebind>
  617. <mousebind button="Left" action="Click">
  618. <action name="Close"/>
  619. </mousebind>
  620. </context>
  621. <context name="Desktop">
  622. <mousebind button="Up" action="Click">
  623. <action name="GoToDesktop">
  624. <to>previous</to>
  625. </action>
  626. </mousebind>
  627. <mousebind button="Down" action="Click">
  628. <action name="GoToDesktop">
  629. <to>next</to>
  630. </action>
  631. </mousebind>
  632. <mousebind button="A-Up" action="Click">
  633. <action name="GoToDesktop">
  634. <to>previous</to>
  635. </action>
  636. </mousebind>
  637. <mousebind button="A-Down" action="Click">
  638. <action name="GoToDesktop">
  639. <to>next</to>
  640. </action>
  641. </mousebind>
  642. <mousebind button="C-A-Up" action="Click">
  643. <action name="GoToDesktop">
  644. <to>previous</to>
  645. </action>
  646. </mousebind>
  647. <mousebind button="C-A-Down" action="Click">
  648. <action name="GoToDesktop">
  649. <to>next</to>
  650. </action>
  651. </mousebind>
  652. <mousebind button="Left" action="Press">
  653. <action name="Focus"/>
  654. <action name="Raise"/>
  655. </mousebind>
  656. <mousebind button="Right" action="Press">
  657. <action name="Focus"/>
  658. <action name="Raise"/>
  659. </mousebind>
  660. </context>
  661. <context name="Root">
  662. <!-- Menus -->
  663. <mousebind button="Left" action="Press">
  664. <action name="ShowMenu">
  665. <menu>client-list-combined-menu</menu>
  666. </action>
  667. </mousebind>
  668. <mousebind button="Right" action="Press">
  669. <action name="ShowMenu">
  670. <menu>root-menu</menu>
  671. </action>
  672. </mousebind>
  673. </context>
  674. <context name="MoveResize">
  675. <mousebind button="Up" action="Click">
  676. <action name="GoToDesktop">
  677. <to>previous</to>
  678. </action>
  679. </mousebind>
  680. <mousebind button="Down" action="Click">
  681. <action name="GoToDesktop">
  682. <to>next</to>
  683. </action>
  684. </mousebind>
  685. <mousebind button="A-Up" action="Click">
  686. <action name="GoToDesktop">
  687. <to>previous</to>
  688. </action>
  689. </mousebind>
  690. <mousebind button="A-Down" action="Click">
  691. <action name="GoToDesktop">
  692. <to>next</to>
  693. </action>
  694. </mousebind>
  695. </context>
  696. </mouse>
  697. <menu>
  698. <!-- You can specify more than one menu file in here and they are all loaded,
  699. just don't make menu ids clash or, well, it'll be kind of pointless -->
  700. <!-- default menu file (or custom one in $HOME/.config/openbox/) -->
  701. <!-- system menu files on Debian systems -->
  702. <file>/var/lib/openbox/debian-menu.xml</file>
  703. <file>menu.xml</file>
  704. <hideDelay>200</hideDelay>
  705. <!-- if a press-release lasts longer than this setting (in milliseconds), the
  706. menu is hidden again -->
  707. <middle>no</middle>
  708. <!-- center submenus vertically about the parent entry -->
  709. <submenuShowDelay>100</submenuShowDelay>
  710. <!-- time to delay before showing a submenu after hovering over the parent
  711. entry.
  712. if this is a negative value, then the delay is infinite and the
  713. submenu will not be shown until it is clicked on -->
  714. <submenuHideDelay>400</submenuHideDelay>
  715. <!-- time to delay before hiding a submenu when selecting another
  716. entry in parent menu
  717. if this is a negative value, then the delay is infinite and the
  718. submenu will not be hidden until a different submenu is opened -->
  719. <applicationIcons>yes</applicationIcons>
  720. <!-- controls if icons appear in the client-list-(combined-)menu -->
  721. <manageDesktops>yes</manageDesktops>
  722. <!-- show the manage desktops section in the client-list-(combined-)menu -->
  723. </menu>
  724. <applications>
  725. <!--
  726. # this is an example with comments through out. use these to make your
  727. # own rules, but without the comments of course.
  728. # you may use one or more of the name/class/role/title/type rules to specify
  729. # windows to match
  730.  
  731. <application name="the window's _OB_APP_NAME property (see obxprop)"
  732. class="the window's _OB_APP_CLASS property (see obxprop)"
  733. role="the window's _OB_APP_ROLE property (see obxprop)"
  734. title="the window's _OB_APP_TITLE property (see obxprop)"
  735. type="the window's _OB_APP_TYPE property (see obxprob)..
  736. (if unspecified, then it is 'dialog' for child windows)">
  737. # you may set only one of name/class/role/title/type, or you may use more
  738. # than one together to restrict your matches.
  739.  
  740. # the name, class, role, and title use simple wildcard matching such as those
  741. # used by a shell. you can use * to match any characters and ? to match
  742. # any single character.
  743.  
  744. # the type is one of: normal, dialog, splash, utility, menu, toolbar, dock,
  745. # or desktop
  746.  
  747. # when multiple rules match a window, they will all be applied, in the
  748. # order that they appear in this list
  749.  
  750.  
  751. # each rule element can be left out or set to 'default' to specify to not
  752. # change that attribute of the window
  753.  
  754. <decor>yes</decor>
  755. # enable or disable window decorations
  756.  
  757. <shade>no</shade>
  758. # make the window shaded when it appears, or not
  759.  
  760. <position force="no">
  761. # the position is only used if both an x and y coordinate are provided
  762. # (and not set to 'default')
  763. # when force is "yes", then the window will be placed here even if it
  764. # says you want it placed elsewhere. this is to override buggy
  765. # applications who refuse to behave
  766. <x>center</x>
  767. # a number like 50, or 'center' to center on screen. use a negative number
  768. # to start from the right (or bottom for <y>), ie -50 is 50 pixels from the
  769. # right edge (or bottom).
  770. <y>200</y>
  771. <monitor>1</monitor>
  772. # specifies the monitor in a xinerama setup.
  773. # 1 is the first head, or 'mouse' for wherever the mouse is
  774. </position>
  775.  
  776. <focus>yes</focus>
  777. # if the window should try be given focus when it appears. if this is set
  778. # to yes it doesn't guarantee the window will be given focus. some
  779. # restrictions may apply, but Openbox will try to
  780.  
  781. <desktop>1</desktop>
  782. # 1 is the first desktop, 'all' for all desktops
  783.  
  784. <layer>normal</layer>
  785. # 'above', 'normal', or 'below'
  786.  
  787. <iconic>no</iconic>
  788. # make the window iconified when it appears, or not
  789.  
  790. <skip_pager>no</skip_pager>
  791. # asks to not be shown in pagers
  792.  
  793. <skip_taskbar>no</skip_taskbar>
  794. # asks to not be shown in taskbars. window cycling actions will also
  795. # skip past such windows
  796.  
  797. <fullscreen>yes</fullscreen>
  798. # make the window in fullscreen mode when it appears
  799.  
  800. <maximized>true</maximized>
  801. # 'Horizontal', 'Vertical' or boolean (yes/no)
  802. </application>
  803.  
  804. # end of the example
  805. -->
  806. <!--*************************************-->
  807. <!--
  808. This should correspond to the wmctrl menu line for "very big":
  809. <position force="yes">
  810. <x>0</x>
  811. <y>60</y>
  812. <width>1912</width>
  813. <height>970</height>
  814. </position>
  815. <maximized>no</maximized>
  816. but doesn't work.
  817. -->
  818. <!--=====================================-->
  819. <application title="*">
  820. <position force="yes">
  821. <x>0</x>
  822. <y>60</y>
  823. <width>1912</width>
  824. <height>150</height>
  825. </position>
  826. <maximized>no</maximized>
  827. </application>
  828. <!--=====================================-->
  829. <!--=====================================-->
  830. <application name="*">
  831. <position force="yes">
  832. <x>0</x>
  833. <y>60</y>
  834. <width>1912</width>
  835. <height>150</height>
  836. </position>
  837. <maximized>no</maximized>
  838. </application>
  839. <!--=====================================-->
  840.  
  841. <application name="XScreenSaver: StarWars Settings">
  842. <position force="yes">
  843. <x>0</x>
  844. <y>200</y>
  845. <width>1800</width>
  846. <height>1080</height>.
  847. </position>
  848. <maximized>no</maximized>
  849. </application>
  850. <!--=====================================-->
  851. <!-- I want height 970 but I have it set
  852. noticeably low so if this finally works
  853. I'll notice it.-->
  854. <application name="thunar" type="normal">
  855. <position force="yes">
  856. <x>0</x>
  857. <y>60</y>
  858. <height>150</height>
  859. <width>1912</width>
  860. </position>
  861. <maximized>no</maximized>
  862. </application>
  863. <!--=====================================-->
  864. <!--=====================================-->
  865. <application title="thunar">
  866. <position force="yes">
  867. <x>2</x>
  868. <y>60</y>
  869. <width>1912</width>
  870. <height>150</height>.
  871. </position>
  872. <maximized>no</maximized>
  873. </application>
  874. <!--=====================================-->
  875.  
  876. <application title="*File Manager*" type="normal">
  877. <position force="yes">
  878. <x>0</x>
  879. <y>60</y>
  880. <height>150</height>
  881. <width>1912</width>
  882. </position>
  883. <maximized>no</maximized>
  884. </application>
  885. <!--=====================================-->
  886. <!--=====================================-->
  887. <application title="File Manager" type="normal">
  888. <position force="yes">
  889. <x>0</x>
  890. <y>60</y>
  891. <height>150</height>
  892. <width>1912</width>
  893. </position>
  894. <maximized>no</maximized>
  895. </application>
  896. <!--=====================================-->
  897.  
  898. <!--=====================================-->
  899. <application name="*gedit*">
  900. <position force="yes">
  901. <x>2</x>
  902. <y>60</y>
  903. <width>1912</width>
  904. <height>97</height>.
  905. </position>
  906. <maximized>no</maximized>
  907. </application>
  908. <!--=====================================-->
  909. <!--=====================================-->
  910. <application title="*gedit*">
  911. <position force="yes">
  912. <x>2</x>
  913. <y>60</y>
  914. <width>1912</width>
  915. <height>97</height>.
  916. </position>
  917. <maximized>no</maximized>
  918. </application>
  919. <!--=====================================-->
  920.  
  921. <!--=====================================-->
  922. <application name="LXTerminal">
  923. <position force="yes">
  924. <x>2</x>
  925. <y>60</y>
  926. <width>1912</width>
  927. <height>97</height>.
  928. </position>
  929. <maximized>no</maximized>
  930. </application>
  931. <!--=====================================-->
  932. <application name="CLEO Options">
  933. <position force="yes">
  934. <x>0</x>
  935. <y>200</y>
  936. <width>1800</width>
  937. <height>1080</height>.
  938. </position>
  939. <maximized>no</maximized>
  940. </application>
  941. <!--=====================================-->
  942. <application name="Conky">
  943. <decor>no</decor>
  944. <desktop>all</desktop>
  945. <layer>above</layer>
  946. <skip_taskbar>yes</skip_taskbar>
  947. </application>
  948. <!--=====================================-->
  949. <!--=====================================-->
  950. <application title="Mirage">
  951. <position force="yes">
  952. <x>2</x>
  953. <y>1</y>
  954. <width>1912</width>
  955. <height>1025</height>
  956. </position>
  957. <maximized>no</maximized>
  958. </application>
  959. <!--=====================================-->
  960. </applications>
  961. <!--*****************************************-->
  962.  
  963. </openbox_config>
  964. <!-- extra lines to force gedit to show
  965. the line numbers correctly
  966. . . . [excised a lot of space] . . .
  967. -->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement