OpenBox配置

~/.config/openbox/rc.xml

  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">
  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 -->
  37. </placement>
  38. <theme>
  39. <name>Mikachu</name>
  40. <titleLayout>NLIMC</titleLayout>
  41. <!--
  42. available characters are NDSLIMC, each can occur at most once.
  43. N: window icon
  44. L: window label (AKA title).
  45. I: iconify
  46. M: maximize
  47. C: close
  48. S: shade (roll up/down)
  49. D: omnipresent (on all desktops).
  50. -->
  51. <keepBorder>yes</keepBorder>
  52. <animateIconify>yes</animateIconify>
  53. <font place="ActiveWindow">
  54. <name>sans</name>
  55. <size>8</size>
  56. <!-- font size in points -->
  57. <weight>bold</weight>
  58. <!-- 'bold' or 'normal' -->
  59. <slant>normal</slant>
  60. <!-- 'italic' or 'normal' -->
  61. </font>
  62. <font place="InactiveWindow">
  63. <name>sans</name>
  64. <size>8</size>
  65. <!-- font size in points -->
  66. <weight>bold</weight>
  67. <!-- 'bold' or 'normal' -->
  68. <slant>normal</slant>
  69. <!-- 'italic' or 'normal' -->
  70. </font>
  71. <font place="MenuHeader">
  72. <name>sans</name>
  73. <size>9</size>
  74. <!-- font size in points -->
  75. <weight>normal</weight>
  76. <!-- 'bold' or 'normal' -->
  77. <slant>normal</slant>
  78. <!-- 'italic' or 'normal' -->
  79. </font>
  80. <font place="MenuItem">
  81. <name>sans</name>
  82. <size>9</size>
  83. <!-- font size in points -->
  84. <weight>normal</weight>
  85. <!-- 'bold' or 'normal' -->
  86. <slant>normal</slant>
  87. <!-- 'italic' or 'normal' -->
  88. </font>
  89. <font place="OnScreenDisplay">
  90. <name>sans</name>
  91. <size>9</size>
  92. <!-- font size in points -->
  93. <weight>bold</weight>
  94. <!-- 'bold' or 'normal' -->
  95. <slant>normal</slant>
  96. <!-- 'italic' or 'normal' -->
  97. </font>
  98. </theme>
  99. <desktops>
  100. <!-- this stuff is only used at startup, pagers allow you to change them
  101. during a session
  102. these are default values to use when other ones are not already set
  103. by other applications, or saved in your session
  104. use obconf if you want to change these without having to log out
  105. and back in -->
  106. <number>4</number>
  107. <firstdesk>1</firstdesk>
  108. <names>
  109. <!-- set names up here if you want to, like this:
  110. <name>desktop 1</name>
  111. <name>desktop 2</name>
  112. -->
  113. </names>
  114. <popupTime>875</popupTime>
  115. <!-- The number of milliseconds to show the popup for when switching
  116. desktops. Set this to 0 to disable the popup. -->
  117. </desktops>
  118. <resize>
  119. <drawContents>yes</drawContents>
  120. <popupShow>Nonpixel</popupShow>
  121. <!-- 'Always', 'Never', or 'Nonpixel' (xterms and such) -->
  122. <popupPosition>Center</popupPosition>
  123. <!-- 'Center', 'Top', or 'Fixed' -->
  124. <popupFixedPosition>
  125. <!-- these are used if popupPosition is set to 'Fixed' -->
  126. <x>10</x>
  127. <!-- positive number for distance from left edge, negative number for
  128. distance from right edge, or 'Center' -->
  129. <y>10</y>
  130. <!-- positive number for distance from top edge, negative number for
  131. distance from bottom edge, or 'Center' -->
  132. </popupFixedPosition>
  133. </resize>
  134. <!-- You can reserve a portion of your screen where windows will not cover when
  135. they are maximized, or when they are initially placed.
  136. Many programs reserve space automatically, but you can use this in other
  137. cases. -->
  138. <margins>
  139. <top>0</top>
  140. <bottom>0</bottom>
  141. <left>0</left>
  142. <right>0</right>
  143. </margins>
  144. <dock>
  145. <position>TopLeft</position>
  146. <!-- (Top|Bottom)(Left|Right|)|Top|Bottom|Left|Right|Floating -->
  147. <floatingX>0</floatingX>
  148. <floatingY>0</floatingY>
  149. <noStrut>no</noStrut>
  150. <stacking>Above</stacking>
  151. <!-- 'Above', 'Normal', or 'Below' -->
  152. <direction>Vertical</direction>
  153. <!-- 'Vertical' or 'Horizontal' -->
  154. <autoHide>no</autoHide>
  155. <hideDelay>300</hideDelay>
  156. <!-- in milliseconds (1000 = 1 second) -->
  157. <showDelay>300</showDelay>
  158. <!-- in milliseconds (1000 = 1 second) -->
  159. <moveButton>Middle</moveButton>
  160. <!-- 'Left', 'Middle', 'Right' -->
  161. </dock>
  162. <keyboard>
  163. <chainQuitKey>C-g</chainQuitKey>
  164. <!-- Keybindings for desktop switching -->
  165. <keybind key="C-A-Left">
  166. <action name="DesktopLeft">
  167. <dialog>no</dialog>
  168. <wrap>no</wrap>
  169. </action>
  170. </keybind>
  171. <keybind key="C-A-Right">
  172. <action name="DesktopRight">
  173. <dialog>no</dialog>
  174. <wrap>no</wrap>
  175. </action>
  176. </keybind>
  177. <keybind key="C-A-Up">
  178. <action name="DesktopUp">
  179. <dialog>no</dialog>
  180. <wrap>no</wrap>
  181. </action>
  182. </keybind>
  183. <keybind key="C-A-Down">
  184. <action name="DesktopDown">
  185. <dialog>no</dialog>
  186. <wrap>no</wrap>
  187. </action>
  188. </keybind>
  189. <keybind key="S-A-Left">
  190. <action name="SendToDesktopLeft">
  191. <dialog>no</dialog>
  192. <wrap>no</wrap>
  193. </action>
  194. </keybind>
  195. <keybind key="S-A-Right">
  196. <action name="SendToDesktopRight">
  197. <dialog>no</dialog>
  198. <wrap>no</wrap>
  199. </action>
  200. </keybind>
  201. <keybind key="S-A-Up">
  202. <action name="SendToDesktopUp">
  203. <dialog>no</dialog>
  204. <wrap>no</wrap>
  205. </action>
  206. </keybind>
  207. <keybind key="S-A-Down">
  208. <action name="SendToDesktopDown">
  209. <dialog>no</dialog>
  210. <wrap>no</wrap>
  211. </action>
  212. </keybind>
  213. <keybind key="W-F1">
  214. <action name="Desktop">
  215. <desktop>1</desktop>
  216. </action>
  217. </keybind>
  218. <keybind key="W-F2">
  219. <action name="Desktop">
  220. <desktop>2</desktop>
  221. </action>
  222. </keybind>
  223. <keybind key="W-F3">
  224. <action name="Desktop">
  225. <desktop>3</desktop>
  226. </action>
  227. </keybind>
  228. <keybind key="W-F4">
  229. <action name="Desktop">
  230. <desktop>4</desktop>
  231. </action>
  232. </keybind>
  233. <keybind key="W-d">
  234. <action name="ToggleShowDesktop"/>
  235. </keybind>
  236. <!-- Keybindings for windows -->
  237. <keybind key="A-F4">
  238. <action name="Close"/>
  239. </keybind>
  240. <keybind key="A-Escape">
  241. <action name="Lower"/>
  242. <action name="FocusToBottom"/>
  243. <action name="Unfocus"/>
  244. </keybind>
  245. <keybind key="A-space">
  246. <action name="ShowMenu">
  247. <menu>client-menu</menu>
  248. </action>
  249. </keybind>
  250. <!-- Keybindings for window switching -->
  251. <keybind key="A-Tab">
  252. <action name="NextWindow"/>
  253. </keybind>
  254. <keybind key="A-S-Tab">
  255. <action name="PreviousWindow"/>
  256. </keybind>
  257. <keybind key="C-A-Tab">
  258. <action name="NextWindow">
  259. <panels>yes</panels>
  260. <desktop>yes</desktop>
  261. </action>
  262. </keybind>
  263. <!-- Keybindings for running applications -->
  264. <keybind key="W-e">
  265. <action name="Execute">
  266. <startupnotify>
  267. <enabled>true</enabled>
  268. <name>Emacs</name>
  269. </startupnotify>
  270. <command>emacs</command>
  271. </action>
  272. </keybind>
  273. <keybind key="W-u">
  274. <action name="Execute">
  275. <command>urxvt</command>
  276. </action>
  277. </keybind>
  278. <keybind key="W-f">
  279. <action name="Execute">
  280. <command>firefox</command>
  281. </action>
  282. </keybind>
  283. <keybind key="W-s">
  284. <action name="Execute">
  285. <command>sunbird</command>
  286. </action>
  287. </keybind>
  288. </keyboard>
  289. <mouse>
  290. <dragThreshold>8</dragThreshold>
  291. <!-- number of pixels the mouse must move before a drag begins -->
  292. <doubleClickTime>200</doubleClickTime>
  293. <!-- in milliseconds (1000 = 1 second) -->
  294. <screenEdgeWarpTime>400</screenEdgeWarpTime>
  295. <!-- Time before changing desktops when the pointer touches the edge of the
  296. screen while moving a window, in milliseconds (1000 = 1 second).
  297. Set this to 0 to disable warping -->
  298. <context name="Frame">
  299. <mousebind button="A-Left" action="Press">
  300. <action name="Focus"/>
  301. <action name="Raise"/>
  302. </mousebind>
  303. <mousebind button="A-Left" action="Click">
  304. <action name="Unshade"/>
  305. </mousebind>
  306. <mousebind button="A-Left" action="Drag">
  307. <action name="Move"/>
  308. </mousebind>
  309. <mousebind button="A-Right" action="Press">
  310. <action name="Focus"/>
  311. <action name="Raise"/>
  312. <action name="Unshade"/>
  313. </mousebind>
  314. <mousebind button="A-Right" action="Drag">
  315. <action name="Resize"/>
  316. </mousebind>
  317. <mousebind button="A-Middle" action="Press">
  318. <action name="Lower"/>
  319. <action name="FocusToBottom"/>
  320. <action name="Unfocus"/>
  321. </mousebind>
  322. <mousebind button="A-Up" action="Click">
  323. <action name="DesktopPrevious"/>
  324. </mousebind>
  325. <mousebind button="A-Down" action="Click">
  326. <action name="DesktopNext"/>
  327. </mousebind>
  328. <mousebind button="C-A-Up" action="Click">
  329. <action name="DesktopPrevious"/>
  330. </mousebind>
  331. <mousebind button="C-A-Down" action="Click">
  332. <action name="DesktopNext"/>
  333. </mousebind>
  334. <mousebind button="A-S-Up" action="Click">
  335. <action name="SendToDesktopPrevious"/>
  336. </mousebind>
  337. <mousebind button="A-S-Down" action="Click">
  338. <action name="SendToDesktopNext"/>
  339. </mousebind>
  340. </context>
  341. <context name="Titlebar">
  342. <mousebind button="Left" action="Press">
  343. <action name="Focus"/>
  344. <action name="Raise"/>
  345. </mousebind>
  346. <mousebind button="Left" action="Drag">
  347. <action name="Move"/>
  348. </mousebind>
  349. <mousebind button="Left" action="DoubleClick">
  350. <action name="ToggleMaximizeFull"/>
  351. </mousebind>
  352. <mousebind button="Middle" action="Press">
  353. <action name="Lower"/>
  354. <action name="FocusToBottom"/>
  355. <action name="Unfocus"/>
  356. </mousebind>
  357. <mousebind button="Up" action="Click">
  358. <action name="Shade"/>
  359. <action name="FocusToBottom"/>
  360. <action name="Unfocus"/>
  361. <action name="Lower"/>
  362. </mousebind>
  363. <mousebind button="Down" action="Click">
  364. <action name="Unshade"/>
  365. <action name="Raise"/>
  366. </mousebind>
  367. <mousebind button="Right" action="Press">
  368. <action name="Focus"/>
  369. <action name="Raise"/>
  370. <action name="ShowMenu">
  371. <menu>client-menu</menu>
  372. </action>
  373. </mousebind>
  374. </context>
  375. <context name="Top">
  376. <mousebind button="Left" action="Press">
  377. <action name="Focus"/>
  378. <action name="Raise"/>
  379. <action name="Unshade"/>
  380. </mousebind>
  381. <mousebind button="Left" action="Drag">
  382. <action name="Resize">
  383. <edge>top</edge>
  384. </action>
  385. </mousebind>
  386. </context>
  387. <context name="Left">
  388. <mousebind button="Left" action="Press">
  389. <action name="Focus"/>
  390. <action name="Raise"/>
  391. </mousebind>
  392. <mousebind button="Left" action="Drag">
  393. <action name="Resize">
  394. <edge>left</edge>
  395. </action>
  396. </mousebind>
  397. </context>
  398. <context name="Right">
  399. <mousebind button="Left" action="Press">
  400. <action name="Focus"/>
  401. <action name="Raise"/>
  402. </mousebind>
  403. <mousebind button="Left" action="Drag">
  404. <action name="Resize">
  405. <edge>right</edge>
  406. </action>
  407. </mousebind>
  408. </context>
  409. <context name="Bottom">
  410. <mousebind button="Left" action="Press">
  411. <action name="Focus"/>
  412. <action name="Raise"/>
  413. </mousebind>
  414. <mousebind button="Left" action="Drag">
  415. <action name="Resize">
  416. <edge>bottom</edge>
  417. </action>
  418. </mousebind>
  419. <mousebind button="Middle" action="Press">
  420. <action name="Lower"/>
  421. <action name="FocusToBottom"/>
  422. <action name="Unfocus"/>
  423. </mousebind>
  424. <mousebind button="Right" action="Press">
  425. <action name="Focus"/>
  426. <action name="Raise"/>
  427. <action name="ShowMenu">
  428. <menu>client-menu</menu>
  429. </action>
  430. </mousebind>
  431. </context>
  432. <context name="BLCorner">
  433. <mousebind button="Left" action="Press">
  434. <action name="Focus"/>
  435. <action name="Raise"/>
  436. </mousebind>
  437. <mousebind button="Left" action="Drag">
  438. <action name="Resize"/>
  439. </mousebind>
  440. </context>
  441. <context name="BRCorner">
  442. <mousebind button="Left" action="Press">
  443. <action name="Focus"/>
  444. <action name="Raise"/>
  445. </mousebind>
  446. <mousebind button="Left" action="Drag">
  447. <action name="Resize"/>
  448. </mousebind>
  449. </context>
  450. <context name="TLCorner">
  451. <mousebind button="Left" action="Press">
  452. <action name="Focus"/>
  453. <action name="Raise"/>
  454. <action name="Unshade"/>
  455. </mousebind>
  456. <mousebind button="Left" action="Drag">
  457. <action name="Resize"/>
  458. </mousebind>
  459. </context>
  460. <context name="TRCorner">
  461. <mousebind button="Left" action="Press">
  462. <action name="Focus"/>
  463. <action name="Raise"/>
  464. <action name="Unshade"/>
  465. </mousebind>
  466. <mousebind button="Left" action="Drag">
  467. <action name="Resize"/>
  468. </mousebind>
  469. </context>
  470. <context name="Client">
  471. <mousebind button="Left" action="Press">
  472. <action name="Focus"/>
  473. <action name="Raise"/>
  474. </mousebind>
  475. <mousebind button="Middle" action="Press">
  476. <action name="Focus"/>
  477. <action name="Raise"/>
  478. </mousebind>
  479. <mousebind button="Right" action="Press">
  480. <action name="Focus"/>
  481. <action name="Raise"/>
  482. </mousebind>
  483. </context>
  484. <context name="Icon">
  485. <mousebind button="Left" action="Press">
  486. <action name="Focus"/>
  487. <action name="Raise"/>
  488. <action name="Unshade"/>
  489. <action name="ShowMenu">
  490. <menu>client-menu</menu>
  491. </action>
  492. </mousebind>
  493. <mousebind button="Right" action="Press">
  494. <action name="Focus"/>
  495. <action name="Raise"/>
  496. <action name="ShowMenu">
  497. <menu>client-menu</menu>
  498. </action>
  499. </mousebind>
  500. </context>
  501. <context name="AllDesktops">
  502. <mousebind button="Left" action="Press">
  503. <action name="Focus"/>
  504. <action name="Raise"/>
  505. <action name="Unshade"/>
  506. </mousebind>
  507. <mousebind button="Left" action="Click">
  508. <action name="ToggleOmnipresent"/>
  509. </mousebind>
  510. </context>
  511. <context name="Shade">
  512. <mousebind button="Left" action="Press">
  513. <action name="Focus"/>
  514. <action name="Raise"/>
  515. </mousebind>
  516. <mousebind button="Left" action="Click">
  517. <action name="ToggleShade"/>
  518. </mousebind>
  519. </context>
  520. <context name="Iconify">
  521. <mousebind button="Left" action="Press">
  522. <action name="Focus"/>
  523. <action name="Raise"/>
  524. </mousebind>
  525. <mousebind button="Left" action="Click">
  526. <action name="Iconify"/>
  527. </mousebind>
  528. </context>
  529. <context name="Maximize">
  530. <mousebind button="Left" action="Press">
  531. <action name="Focus"/>
  532. <action name="Raise"/>
  533. <action name="Unshade"/>
  534. </mousebind>
  535. <mousebind button="Middle" action="Press">
  536. <action name="Focus"/>
  537. <action name="Raise"/>
  538. <action name="Unshade"/>
  539. </mousebind>
  540. <mousebind button="Right" action="Press">
  541. <action name="Focus"/>
  542. <action name="Raise"/>
  543. <action name="Unshade"/>
  544. </mousebind>
  545. <mousebind button="Left" action="Click">
  546. <action name="ToggleMaximizeFull"/>
  547. </mousebind>
  548. <mousebind button="Middle" action="Click">
  549. <action name="ToggleMaximizeVert"/>
  550. </mousebind>
  551. <mousebind button="Right" action="Click">
  552. <action name="ToggleMaximizeHorz"/>
  553. </mousebind>
  554. </context>
  555. <context name="Close">
  556. <mousebind button="Left" action="Press">
  557. <action name="Focus"/>
  558. <action name="Raise"/>
  559. <action name="Unshade"/>
  560. </mousebind>
  561. <mousebind button="Left" action="Click">
  562. <action name="Close"/>
  563. </mousebind>
  564. </context>
  565. <context name="Desktop">
  566. <mousebind button="Up" action="Click">
  567. <action name="DesktopPrevious"/>
  568. </mousebind>
  569. <mousebind button="Down" action="Click">
  570. <action name="DesktopNext"/>
  571. </mousebind>
  572. <mousebind button="A-Up" action="Click">
  573. <action name="DesktopPrevious"/>
  574. </mousebind>
  575. <mousebind button="A-Down" action="Click">
  576. <action name="DesktopNext"/>
  577. </mousebind>
  578. <mousebind button="C-A-Up" action="Click">
  579. <action name="DesktopPrevious"/>
  580. </mousebind>
  581. <mousebind button="C-A-Down" action="Click">
  582. <action name="DesktopNext"/>
  583. </mousebind>
  584. <mousebind button="Left" action="Press">
  585. <action name="Focus"/>
  586. <action name="Raise"/>
  587. </mousebind>
  588. <mousebind button="Right" action="Press">
  589. <action name="Focus"/>
  590. <action name="Raise"/>
  591. </mousebind>
  592. </context>
  593. <context name="Root">
  594. <!-- Menus -->
  595. <mousebind button="Middle" action="Press">
  596. <action name="ShowMenu">
  597. <menu>client-list-combined-menu</menu>
  598. </action>
  599. </mousebind>
  600. <mousebind button="Right" action="Press">
  601. <action name="ShowMenu">
  602. <menu>root-menu</menu>
  603. </action>
  604. </mousebind>
  605. </context>
  606. <context name="MoveResize">
  607. <mousebind button="Up" action="Click">
  608. <action name="DesktopPrevious"/>
  609. </mousebind>
  610. <mousebind button="Down" action="Click">
  611. <action name="DesktopNext"/>
  612. </mousebind>
  613. <mousebind button="A-Up" action="Click">
  614. <action name="DesktopPrevious"/>
  615. </mousebind>
  616. <mousebind button="A-Down" action="Click">
  617. <action name="DesktopNext"/>
  618. </mousebind>
  619. </context>
  620. </mouse>
  621. <menu>
  622. <!-- You can specify more than one menu file in here and they are all loaded,
  623. just don't make menu ids clash or, well, it'll be kind of pointless -->
  624. <!-- default menu file (or custom one in $HOME/.config/openbox/) -->
  625. <file>menu.xml</file>
  626. <hideDelay>200</hideDelay>
  627. <!-- if a press-release lasts longer than this setting (in milliseconds), the
  628. menu is hidden again -->
  629. <middle>no</middle>
  630. <!-- center submenus vertically about the parent entry -->
  631. <submenuShowDelay>100</submenuShowDelay>
  632. <!-- this one is easy, time to delay before showing a submenu after hovering
  633. over the parent entry -->
  634. <applicationIcons>yes</applicationIcons>
  635. <!-- controls if icons appear in the client-list-(combined-)menu -->
  636. <manageDesktops>yes</manageDesktops>
  637. <!-- show the manage desktops section in the client-list-(combined-)menu -->
  638. </menu>
  639. <applications>
  640. <!--
  641. # this is an example with comments through out. use these to make your
  642. # own rules, but without the comments of course.
  643. <application name="first element of window's WM_CLASS property (see xprop)"
  644. class="second element of window's WM_CLASS property (see xprop)"
  645. role="the window's WM_WINDOW_ROLE property (see xprop)"
  646. type="the window's _NET_WM_WINDOW_TYPE (if unspecified, then
  647. it is dialog for child windows)">
  648. # the name or the class can be set, or both. this is used to match
  649. # windows when they appear. role can optionally be set as well, to
  650. # further restrict your matches.
  651. # the name, class, and role use simple wildcard matching such as those
  652. # used by a shell. you can use * to match any characters and ? to match
  653. # any single character.
  654. # the type is one of: normal, dialog, splash, utility, menu, toolbar, dock,
  655. # or desktop
  656. # when multiple rules match a window, they will all be applied, in the
  657. # order that they appear in this list
  658. # each element can be left out or set to 'default' to specify to not
  659. # change that attribute of the window
  660. <decor>yes</decor>
  661. # enable or disable window decorations
  662. <shade>no</shade>
  663. # make the window shaded when it appears, or not
  664. <position force="no">
  665. # the position is only used if both an x and y coordinate are provided
  666. # (and not set to 'default')
  667. # when force is "yes", then the window will be placed here even if it
  668. # says you want it placed elsewhere. this is to override buggy
  669. # applications who refuse to behave
  670. <x>center</x>
  671. # a number like 50, or 'center' to center on screen. use a negative number
  672. # to start from the right (or bottom for <y>), ie -50 is 50 pixels from the
  673. # right edge (or bottom).
  674. <y>200</y>
  675. <monitor>1</monitor>
  676. # specifies the monitor in a xinerama setup.
  677. # 1 is the first head, or 'mouse' for wherever the mouse is
  678. </position>
  679. <focus>yes</focus>
  680. # if the window should try be given focus when it appears. if this is set
  681. # to yes it doesn't guarantee the window will be given focus. some
  682. # restrictions may apply, but Openbox will try to
  683. <desktop>1</desktop>
  684. # 1 is the first desktop, 'all' for all desktops
  685. <layer>normal</layer>
  686. # 'above', 'normal', or 'below'
  687. <iconic>no</iconic>
  688. # make the window iconified when it appears, or not
  689. <skip_pager>no</skip_pager>
  690. # asks to not be shown in pagers
  691. <skip_taskbar>no</skip_taskbar>
  692. # asks to not be shown in taskbars. window cycling actions will also
  693. # skip past such windows
  694. <fullscreen>yes</fullscreen>
  695. # make the window in fullscreen mode when it appears
  696. <maximized>true</maximized>
  697. # 'Horizontal', 'Vertical' or boolean (yes/no)
  698. </application>
  699. # end of the example
  700. -->
  701. </applications>
  702. </openbox_config>