My configuration files for Debian/Ubuntu applications
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 
 
 
 
 

915 строки
29 KiB

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