trisquel-mini-rc.xml 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824
  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>Trisquel</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>10</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>10</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>10</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>10</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>10</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>2</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>PCManFM</name>
  269. </startupnotify>
  270. <command>pcmanfm</command>
  271. </action>
  272. </keybind>
  273. <!--keybindings for LXPanel -->
  274. <keybind key="W-r">
  275. <action name="Execute">
  276. <command>lxpanelctl run</command>
  277. </action>
  278. </keybind>
  279. <keybind key="A-F2">
  280. <action name="Execute">
  281. <command>lxpanelctl run</command>
  282. </action>
  283. </keybind>
  284. <keybind key="C-Escape">
  285. <action name="Execute">
  286. <command>lxpanelctl menu</command>
  287. </action>
  288. </keybind>
  289. <keybind key="F11">
  290. <action name="ToggleFullscreen"/>
  291. </keybind>
  292. <!-- Launch Task Manager with Ctrl+Alt+Del -->
  293. <keybind key="A-C-Delete">
  294. <action name="Execute">
  295. <command>xfce4-taskmanager</command>
  296. </action>
  297. </keybind>
  298. <!-- Fast access to Terminal -->
  299. <keybind key="C-A-T">
  300. <action name="Execute">
  301. <command>lxterminal</command>
  302. </action>
  303. </keybind>
  304. <!-- Fast access to filemanager -->
  305. <keybind key="C-A-D">
  306. <action name="Execute">
  307. <startupnotify>
  308. <enabled>true</enabled>
  309. <name>PCManFM</name>
  310. </startupnotify>
  311. <command>pcmanfm</command>
  312. </action>
  313. </keybind>
  314. <!-- Keybinding for PrintScreen Key -->
  315. <keybind key="Print">
  316. <action name="Execute">
  317. <execute>scrot</execute>
  318. </action>
  319. </keybind>
  320. <keybind key="A-Print">
  321. <action name="Execute">
  322. <execute>scrot -s</execute>
  323. </action>
  324. </keybind>
  325. <!-- Keybindings for Multimedia Keys and LCD Backlight (alternative when not using gnome-power-manager or xfce4-volumed) -->
  326. <keybind key="XF86AudioMute">
  327. <action name="Execute">
  328. <execute>/usr/bin/volume.sh mute</execute>
  329. </action>
  330. </keybind>
  331. <keybind key="XF86AudioRaiseVolume">
  332. <action name="Execute">
  333. <execute>/usr/bin/amixer set Master 5%+</execute>
  334. </action>
  335. </keybind>
  336. <keybind key="XF86AudioLowerVolume">
  337. <action name="Execute">
  338. <execute>/usr/bin/amixer set Master 5%-</execute>
  339. </action>
  340. </keybind>
  341. <keybind key="C-F7">
  342. <action name="Execute">
  343. <execute>sleep 2;xset dpms force off</execute>
  344. </action>
  345. </keybind>
  346. <keybind key="C-F10">
  347. <action name="Execute">
  348. <execute>xbacklight -dec 10</execute>
  349. </action>
  350. </keybind>
  351. <keybind key="C-F11">
  352. <action name="Execute">
  353. <execute>xbacklight -inc 10</execute>
  354. </action>
  355. </keybind>
  356. <!-- Taking Screenshots -->
  357. <keybind key="Print">
  358. <action name="Execute">
  359. <execute>scrot</execute>
  360. </action>
  361. </keybind>
  362. <!-- launch wire with alt b -->
  363. <keybind key="C-A-w">
  364. <action name="Execute">
  365. <command>wire-desktop</command>
  366. </action>
  367. </keybind>
  368. <!-- launch wire with alt b -->
  369. <keybind key="C-A-q">
  370. <action name="Execute">
  371. <command>shutdown -h now</command>
  372. </action>
  373. </keybind>
  374. <!-- launch wire with alt b -->
  375. <keybind key="C-A-r">
  376. <action name="Execute">
  377. <command>reboot</command>
  378. </action>
  379. </keybind>
  380. <!-- launch wire with alt b -->
  381. <keybind key="C-A-l">
  382. <action name="Execute">
  383. <command>libreoffice --writer</command>
  384. </action>
  385. </keybind>
  386. </keyboard>
  387. <mouse>
  388. <dragThreshold>8</dragThreshold>
  389. <!-- number of pixels the mouse must move before a drag begins -->
  390. <doubleClickTime>200</doubleClickTime>
  391. <!-- in milliseconds (1000 = 1 second) -->
  392. <screenEdgeWarpTime>400</screenEdgeWarpTime>
  393. <!-- Time before changing desktops when the pointer touches the edge of the
  394. screen while moving a window, in milliseconds (1000 = 1 second).
  395. Set this to 0 to disable warping -->
  396. <context name="Frame">
  397. <mousebind button="A-Left" action="Press">
  398. <action name="Focus"/>
  399. <action name="Raise"/>
  400. </mousebind>
  401. <mousebind button="A-Left" action="Click">
  402. <action name="Unshade"/>
  403. </mousebind>
  404. <mousebind button="A-Left" action="Drag">
  405. <action name="Move"/>
  406. </mousebind>
  407. <mousebind button="A-Right" action="Press">
  408. <action name="Focus"/>
  409. <action name="Raise"/>
  410. <action name="Unshade"/>
  411. </mousebind>
  412. <mousebind button="A-Right" action="Drag">
  413. <action name="Resize"/>
  414. </mousebind>
  415. <mousebind button="A-Middle" action="Press">
  416. <action name="Lower"/>
  417. <action name="FocusToBottom"/>
  418. <action name="Unfocus"/>
  419. </mousebind>
  420. <mousebind button="A-Up" action="Click">
  421. <action name="DesktopPrevious"/>
  422. </mousebind>
  423. <mousebind button="A-Down" action="Click">
  424. <action name="DesktopNext"/>
  425. </mousebind>
  426. <mousebind button="C-A-Up" action="Click">
  427. <action name="DesktopPrevious"/>
  428. </mousebind>
  429. <mousebind button="C-A-Down" action="Click">
  430. <action name="DesktopNext"/>
  431. </mousebind>
  432. <mousebind button="A-S-Up" action="Click">
  433. <action name="SendToDesktopPrevious"/>
  434. </mousebind>
  435. <mousebind button="A-S-Down" action="Click">
  436. <action name="SendToDesktopNext"/>
  437. </mousebind>
  438. </context>
  439. <context name="Titlebar">
  440. <mousebind button="Left" action="Press">
  441. <action name="Focus"/>
  442. <action name="Raise"/>
  443. </mousebind>
  444. <mousebind button="Left" action="Drag">
  445. <action name="Move"/>
  446. </mousebind>
  447. <mousebind button="Left" action="DoubleClick">
  448. <action name="ToggleMaximizeFull"/>
  449. </mousebind>
  450. <mousebind button="Middle" action="Press">
  451. <action name="Lower"/>
  452. <action name="FocusToBottom"/>
  453. <action name="Unfocus"/>
  454. </mousebind>
  455. <mousebind button="Up" action="Click">
  456. <action name="Shade"/>
  457. <action name="FocusToBottom"/>
  458. <action name="Unfocus"/>
  459. <action name="Lower"/>
  460. </mousebind>
  461. <mousebind button="Down" action="Click">
  462. <action name="Unshade"/>
  463. <action name="Raise"/>
  464. </mousebind>
  465. <mousebind button="Right" action="Press">
  466. <action name="Focus"/>
  467. <action name="Raise"/>
  468. <action name="ShowMenu">
  469. <menu>client-menu</menu>
  470. </action>
  471. </mousebind>
  472. </context>
  473. <context name="Top">
  474. <mousebind button="Left" action="Press">
  475. <action name="Focus"/>
  476. <action name="Raise"/>
  477. <action name="Unshade"/>
  478. </mousebind>
  479. <mousebind button="Left" action="Drag">
  480. <action name="Resize">
  481. <edge>top</edge>
  482. </action>
  483. </mousebind>
  484. </context>
  485. <context name="Left">
  486. <mousebind button="Left" action="Press">
  487. <action name="Focus"/>
  488. <action name="Raise"/>
  489. </mousebind>
  490. <mousebind button="Left" action="Drag">
  491. <action name="Resize">
  492. <edge>left</edge>
  493. </action>
  494. </mousebind>
  495. </context>
  496. <context name="Right">
  497. <mousebind button="Left" action="Press">
  498. <action name="Focus"/>
  499. <action name="Raise"/>
  500. </mousebind>
  501. <mousebind button="Left" action="Drag">
  502. <action name="Resize">
  503. <edge>right</edge>
  504. </action>
  505. </mousebind>
  506. </context>
  507. <context name="Bottom">
  508. <mousebind button="Left" action="Press">
  509. <action name="Focus"/>
  510. <action name="Raise"/>
  511. </mousebind>
  512. <mousebind button="Left" action="Drag">
  513. <action name="Resize">
  514. <edge>bottom</edge>
  515. </action>
  516. </mousebind>
  517. <mousebind button="Middle" action="Press">
  518. <action name="Lower"/>
  519. <action name="FocusToBottom"/>
  520. <action name="Unfocus"/>
  521. </mousebind>
  522. <mousebind button="Right" action="Press">
  523. <action name="Focus"/>
  524. <action name="Raise"/>
  525. <action name="ShowMenu">
  526. <menu>client-menu</menu>
  527. </action>
  528. </mousebind>
  529. </context>
  530. <context name="BLCorner">
  531. <mousebind button="Left" action="Press">
  532. <action name="Focus"/>
  533. <action name="Raise"/>
  534. </mousebind>
  535. <mousebind button="Left" action="Drag">
  536. <action name="Resize"/>
  537. </mousebind>
  538. </context>
  539. <context name="BRCorner">
  540. <mousebind button="Left" action="Press">
  541. <action name="Focus"/>
  542. <action name="Raise"/>
  543. </mousebind>
  544. <mousebind button="Left" action="Drag">
  545. <action name="Resize"/>
  546. </mousebind>
  547. </context>
  548. <context name="TLCorner">
  549. <mousebind button="Left" action="Press">
  550. <action name="Focus"/>
  551. <action name="Raise"/>
  552. <action name="Unshade"/>
  553. </mousebind>
  554. <mousebind button="Left" action="Drag">
  555. <action name="Resize"/>
  556. </mousebind>
  557. </context>
  558. <context name="TRCorner">
  559. <mousebind button="Left" action="Press">
  560. <action name="Focus"/>
  561. <action name="Raise"/>
  562. <action name="Unshade"/>
  563. </mousebind>
  564. <mousebind button="Left" action="Drag">
  565. <action name="Resize"/>
  566. </mousebind>
  567. </context>
  568. <context name="Client">
  569. <mousebind button="Left" action="Press">
  570. <action name="Focus"/>
  571. <action name="Raise"/>
  572. </mousebind>
  573. <mousebind button="Middle" action="Press">
  574. <action name="Focus"/>
  575. <action name="Raise"/>
  576. </mousebind>
  577. <mousebind button="Right" action="Press">
  578. <action name="Focus"/>
  579. <action name="Raise"/>
  580. </mousebind>
  581. </context>
  582. <context name="Icon">
  583. <mousebind button="Left" action="Press">
  584. <action name="Focus"/>
  585. <action name="Raise"/>
  586. <action name="Unshade"/>
  587. <action name="ShowMenu">
  588. <menu>client-menu</menu>
  589. </action>
  590. </mousebind>
  591. <mousebind button="Right" action="Press">
  592. <action name="Focus"/>
  593. <action name="Raise"/>
  594. <action name="ShowMenu">
  595. <menu>client-menu</menu>
  596. </action>
  597. </mousebind>
  598. </context>
  599. <context name="AllDesktops">
  600. <mousebind button="Left" action="Press">
  601. <action name="Focus"/>
  602. <action name="Raise"/>
  603. <action name="Unshade"/>
  604. </mousebind>
  605. <mousebind button="Left" action="Click">
  606. <action name="ToggleOmnipresent"/>
  607. </mousebind>
  608. </context>
  609. <context name="Shade">
  610. <mousebind button="Left" action="Press">
  611. <action name="Focus"/>
  612. <action name="Raise"/>
  613. </mousebind>
  614. <mousebind button="Left" action="Click">
  615. <action name="ToggleShade"/>
  616. </mousebind>
  617. </context>
  618. <context name="Iconify">
  619. <mousebind button="Left" action="Press">
  620. <action name="Focus"/>
  621. <action name="Raise"/>
  622. </mousebind>
  623. <mousebind button="Left" action="Click">
  624. <action name="Iconify"/>
  625. </mousebind>
  626. </context>
  627. <context name="Maximize">
  628. <mousebind button="Left" action="Press">
  629. <action name="Focus"/>
  630. <action name="Raise"/>
  631. <action name="Unshade"/>
  632. </mousebind>
  633. <mousebind button="Middle" action="Press">
  634. <action name="Focus"/>
  635. <action name="Raise"/>
  636. <action name="Unshade"/>
  637. </mousebind>
  638. <mousebind button="Right" action="Press">
  639. <action name="Focus"/>
  640. <action name="Raise"/>
  641. <action name="Unshade"/>
  642. </mousebind>
  643. <mousebind button="Left" action="Click">
  644. <action name="ToggleMaximizeFull"/>
  645. </mousebind>
  646. <mousebind button="Middle" action="Click">
  647. <action name="ToggleMaximizeVert"/>
  648. </mousebind>
  649. <mousebind button="Right" action="Click">
  650. <action name="ToggleMaximizeHorz"/>
  651. </mousebind>
  652. </context>
  653. <context name="Close">
  654. <mousebind button="Left" action="Press">
  655. <action name="Focus"/>
  656. <action name="Raise"/>
  657. <action name="Unshade"/>
  658. </mousebind>
  659. <mousebind button="Left" action="Click">
  660. <action name="Close"/>
  661. </mousebind>
  662. </context>
  663. <context name="Desktop">
  664. <mousebind button="Up" action="Click">
  665. <action name="DesktopPrevious"/>
  666. </mousebind>
  667. <mousebind button="Down" action="Click">
  668. <action name="DesktopNext"/>
  669. </mousebind>
  670. <mousebind button="A-Up" action="Click">
  671. <action name="DesktopPrevious"/>
  672. </mousebind>
  673. <mousebind button="A-Down" action="Click">
  674. <action name="DesktopNext"/>
  675. </mousebind>
  676. <mousebind button="C-A-Up" action="Click">
  677. <action name="DesktopPrevious"/>
  678. </mousebind>
  679. <mousebind button="C-A-Down" action="Click">
  680. <action name="DesktopNext"/>
  681. </mousebind>
  682. <mousebind button="Left" action="Press">
  683. <action name="Focus"/>
  684. <action name="Raise"/>
  685. </mousebind>
  686. <mousebind button="Right" action="Press">
  687. <action name="Focus"/>
  688. <action name="Raise"/>
  689. </mousebind>
  690. </context>
  691. <context name="Root">
  692. <!-- Menus -->
  693. <mousebind button="Middle" action="Press">
  694. <action name="ShowMenu">
  695. <menu>client-list-combined-menu</menu>
  696. </action>
  697. </mousebind>
  698. <mousebind button="Right" action="Press">
  699. <action name="ShowMenu">
  700. <menu>root-menu</menu>
  701. </action>
  702. </mousebind>
  703. </context>
  704. <context name="MoveResize">
  705. <mousebind button="Up" action="Click">
  706. <action name="DesktopPrevious"/>
  707. </mousebind>
  708. <mousebind button="Down" action="Click">
  709. <action name="DesktopNext"/>
  710. </mousebind>
  711. <mousebind button="A-Up" action="Click">
  712. <action name="DesktopPrevious"/>
  713. </mousebind>
  714. <mousebind button="A-Down" action="Click">
  715. <action name="DesktopNext"/>
  716. </mousebind>
  717. </context>
  718. </mouse>
  719. <menu>
  720. <!-- You can specify more than one menu file in here and they are all loaded,
  721. just don't make menu ids clash or, well, it'll be kind of pointless -->
  722. <!-- default menu file (or custom one in $HOME/.config/openbox/) -->
  723. <file>/usr/share/trisquel-mini/openbox/menu.xml</file>
  724. <hideDelay>200</hideDelay>
  725. <!-- if a press-release lasts longer than this setting (in milliseconds), the
  726. menu is hidden again -->
  727. <middle>no</middle>
  728. <!-- center submenus vertically about the parent entry -->
  729. <submenuShowDelay>100</submenuShowDelay>
  730. <!-- this one is easy, time to delay before showing a submenu after hovering
  731. over the parent entry -->
  732. <applicationIcons>yes</applicationIcons>
  733. <!-- controls if icons appear in the client-list-(combined-)menu -->
  734. <manageDesktops>yes</manageDesktops>
  735. <!-- show the manage desktops section in the client-list-(combined-)menu -->
  736. </menu>
  737. <applications>
  738. <!--
  739. # this is an example with comments through out. use these to make your
  740. # own rules, but without the comments of course.
  741. <application name="first element of window's WM_CLASS property (see xprop)"
  742. class="second element of window's WM_CLASS property (see xprop)"
  743. role="the window's WM_WINDOW_ROLE property (see xprop)">
  744. # the name or the class can be set, or both. this is used to match
  745. # windows when they appear. role can optionally be set as well, to
  746. # further restrict your matches.
  747. # the name, class, and role use simple wildcard matching such as those
  748. # used by a shell. you can use * to match any characters and ? to match
  749. # any single character.
  750. # when multiple rules match a window, they will all be applied, in the
  751. # order that they appear in this list
  752. # each element can be left out or set to 'default' to specify to not
  753. # change that attribute of the window
  754. <decor>yes</decor>
  755. # enable or disable window decorations
  756. <shade>no</shade>
  757. # make the window shaded when it appears, or not
  758. <position>
  759. # the position is only used if both an x and y coordinate are provided
  760. # (and not set to 'default')
  761. <x>center</x>
  762. # a number like 50, or 'center' to center on screen. use a negative number
  763. # to start from the right (or bottom for <y>), ie -50 is 50 pixels from the
  764. # right edge (or bottom).
  765. <y>200</y>
  766. <monitor>1</monitor>
  767. # specifies the monitor in a xinerama setup.
  768. # 1 is the first head, or 'mouse' for wherever the mouse is
  769. </position>
  770. <focus>yes</focus>
  771. # if the window should try be given focus when it appears. if this is set
  772. # to yes it doesn't guarantee the window will be given focus. some
  773. # restrictions may apply, but Openbox will try to
  774. <desktop>1</desktop>
  775. # 1 is the first desktop, 'all' for all desktops
  776. <layer>normal</layer>
  777. # 'above', 'normal', or 'below'
  778. <iconic>no</iconic>
  779. # make the window iconified when it appears, or not
  780. <skip_pager>no</skip_pager>
  781. # asks to not be shown in pagers
  782. <skip_taskbar>no</skip_taskbar>
  783. # asks to not be shown in taskbars. window cycling actions will also
  784. # skip past such windows
  785. <fullscreen>yes</fullscreen>
  786. # make the window in fullscreen mode when it appears
  787. <maximized>true</maximized>
  788. # 'Horizontal', 'Vertical' or boolean (yes/no)
  789. </application>
  790. # end of the example
  791. -->
  792. </applications>
  793. </openbox_config>