Betriebssystem mit deprimierender Wirkung (REUPLOAD der Repo von 2018)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

rc.xml 11KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348
  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>no</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>250</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>no</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>Clearlooks</name>
  46. <titleLayout>CS</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>no</keepBorder>
  58. <animateIconify>no</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>bold</weight>
  100. <!-- 'bold' or 'normal' -->
  101. <slant>normal</slant>
  102. <!-- 'italic' or 'normal' -->
  103. </font>
  104. <font place="InactiveOnScreenDisplay">
  105. <name>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>2</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>yes</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. <mouse>
  178. <dragThreshold>1</dragThreshold>
  179. <!-- number of pixels the mouse must move before a drag begins -->
  180. <doubleClickTime>200</doubleClickTime>
  181. <!-- in milliseconds (1000 = 1 second) -->
  182. <screenEdgeWarpTime>400</screenEdgeWarpTime>
  183. <!-- Time before changing desktops when the pointer touches the edge of the
  184. screen while moving a window, in milliseconds (1000 = 1 second).
  185. Set this to 0 to disable warping -->
  186. <screenEdgeWarpMouse>false</screenEdgeWarpMouse>
  187. <!-- Set this to TRUE to move the mouse pointer across the desktop when
  188. switching due to hitting the edge of the screen -->
  189. <context name="Titlebar">
  190. <mousebind button="Left" action="Drag">
  191. <action name="Move"/>
  192. </mousebind>
  193. <mousebind button="Left" action="DoubleClick">
  194. <action name="ToggleMaximize"/>
  195. </mousebind>
  196. <mousebind button="Up" action="Click">
  197. <action name="if">
  198. <shaded>no</shaded>
  199. <then>
  200. <action name="Shade"/>
  201. <action name="FocusToBottom"/>
  202. <action name="Unfocus"/>
  203. <action name="Lower"/>
  204. </then>
  205. </action>
  206. </mousebind>
  207. <mousebind button="Down" action="Click">
  208. <action name="if">
  209. <shaded>yes</shaded>
  210. <then>
  211. <action name="Unshade"/>
  212. <action name="Raise"/>
  213. </then>
  214. </action>
  215. </mousebind>
  216. </context>
  217. <context name="Titlebar Top Right Bottom Left TLCorner TRCorner BRCorner BLCorner">
  218. <mousebind button="Left" action="Press">
  219. <action name="Focus"/>
  220. <action name="Raise"/>
  221. <action name="Unshade"/>
  222. </mousebind>
  223. </context>
  224. <context name="Client">
  225. <mousebind button="Left" action="Press">
  226. <action name="Focus"/>
  227. <action name="Raise"/>
  228. </mousebind>
  229. </context>
  230. <!-- <context name="Icon">
  231. <mousebind button="Left" action="Press">
  232. <action name="Focus"/>
  233. <action name="Raise"/>
  234. <action name="Unshade"/>
  235. <action name="ShowMenu">
  236. <menu>client-menu</menu>
  237. </action>
  238. </mousebind>
  239. <mousebind button="Right" action="Press">
  240. <action name="Focus"/>
  241. <action name="Raise"/>
  242. <action name="ShowMenu">
  243. <menu>client-menu</menu>
  244. </action>
  245. </mousebind>
  246. </context> -->
  247. <context name="AllDesktops">
  248. <mousebind button="Left" action="Press">
  249. <action name="Focus"/>
  250. <action name="Raise"/>
  251. <action name="Unshade"/>
  252. </mousebind>
  253. <mousebind button="Left" action="Click">
  254. <action name="ToggleOmnipresent"/>
  255. </mousebind>
  256. </context>
  257. <context name="Shade">
  258. <mousebind button="Left" action="Press">
  259. <action name="Focus"/>
  260. <action name="Raise"/>
  261. </mousebind>
  262. <mousebind button="Left" action="Click">
  263. <action name="ToggleShade"/>
  264. </mousebind>
  265. </context>
  266. <context name="Iconify">
  267. <mousebind button="Left" action="Press">
  268. <action name="Focus"/>
  269. <action name="Raise"/>
  270. </mousebind>
  271. <mousebind button="Left" action="Click">
  272. <action name="Iconify"/>
  273. </mousebind>
  274. </context>
  275. <context name="Maximize">
  276. <mousebind button="Left" action="Press">
  277. <action name="Focus"/>
  278. <action name="Raise"/>
  279. <action name="Unshade"/>
  280. </mousebind>
  281. </context>
  282. <context name="Close">
  283. <mousebind button="Left" action="Press">
  284. <action name="Focus"/>
  285. <action name="Raise"/>
  286. <action name="Unshade"/>
  287. </mousebind>
  288. <mousebind button="Left" action="Click">
  289. <action name="Close"/>
  290. </mousebind>
  291. </context>
  292. <context name="Desktop">
  293. <mousebind button="Up" action="Click">
  294. <action name="GoToDesktop">
  295. <to>previous</to>
  296. </action>
  297. </mousebind>
  298. <mousebind button="Down" action="Click">
  299. <action name="GoToDesktop">
  300. <to>next</to>
  301. </action>
  302. </mousebind>
  303. <mousebind button="Left" action="Press">
  304. <action name="Focus"/>
  305. <action name="Raise"/>
  306. </mousebind>
  307. </context>
  308. <context name="MoveResize">
  309. <mousebind button="Up" action="Click">
  310. <action name="GoToDesktop">
  311. <to>previous</to>
  312. </action>
  313. </mousebind>
  314. <mousebind button="Down" action="Click">
  315. <action name="GoToDesktop">
  316. <to>next</to>
  317. </action>
  318. </mousebind>
  319. </context>
  320. </mouse>
  321. <menu>
  322. <!--
  323. <file>menu.xml</file>
  324. <hideDelay>200</hideDelay>
  325. <middle>no</middle>
  326. <submenuShowDelay>100</submenuShowDelay>
  327. <submenuHideDelay>400</submenuHideDelay>
  328. <applicationIcons>no</applicationIcons>
  329. <manageDesktops>no</manageDesktops>
  330. -->
  331. </menu>
  332. <applications>
  333. <application class="*">
  334. <decor>no</decor>
  335. <maximized>yes</maximized>
  336. <fullscreen>no</fullscreen>
  337. <position force="yes">
  338. <x>0</x>
  339. <y>0</y>
  340. </position>
  341. </application>
  342. </applications>
  343. </openbox_config>