]> Dogcows Code - chaz/openbox/blob - data/rc.xml.in
69b2484bb6ff326b39eeba3553fbc285a0867b0e
[chaz/openbox] / data / rc.xml.in
1 <?xml version="1.0" encoding="UTF-8"?>
2
3 <!-- Do not edit this file, it will be overwritten on install.
4 Copy the file to $HOME/.config/openbox/ instead. -->
5
6 <openbox_config xmlns="http://openbox.org/"
7 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
8 xsi:schemaLocation="http://openbox.org/
9 file://@xsddir@/rc.xsd">
10
11 <resistance>
12 <strength>10</strength>
13 <screen_edge_strength>20</screen_edge_strength>
14 <edges_hit_layers_below>no</edges_hit_layers_below>
15 </resistance>
16
17 <focus>
18 <focusNew>yes</focusNew>
19 <focusLast>no</focusLast>
20 <followMouse>no</followMouse>
21 <focusDelay>0</focusDelay>
22 <raiseOnFocus>no</raiseOnFocus>
23 </focus>
24
25 <placement>
26 <policy>Smart</policy>
27 <!-- 'Smart' or 'UnderMouse' -->
28 </placement>
29
30 <theme>
31 <name>Clearlooks</name>
32 <titleLayout>NLIMC</titleLayout>
33 <titleNumber>yes</titleNumber>
34 <!--
35 avaible characters are NDSLIMC, each can occur at most once.
36 N: client menu
37 L: window label (AKA title).
38 I: iconify
39 M: maximize
40 C: close
41 S: shade
42 D: omnipresent (on all desktops).
43 -->
44 <keepBorder>yes</keepBorder>
45 <hideDisabled>no</hideDisabled>
46 <font place="ActiveWindow">
47 <name>sans</name>
48 <size>7</size>
49 <weight>bold</weight>
50 <slant>normal</slant>
51 </font>
52 <font place="InactiveWindow">
53 <name>sans</name>
54 <size>7</size>
55 <weight>bold</weight>
56 <slant>normal</slant>
57 </font>
58 <font place="MenuHeader">
59 <name>sans</name>
60 <size>8</size>
61 <weight>bold</weight>
62 <slant>normal</slant>
63 </font>
64 <font place="MenuItem">
65 <name>sans</name>
66 <size>9</size>
67 <weight>bold</weight>
68 <slant>normal</slant>
69 </font>
70 <font place="OnScreenDisplay">
71 <name>sans</name>
72 <size>9</size>
73 <weight>bold</weight>
74 <slant>normal</slant>
75 </font>
76 </theme>
77
78 <desktops>
79 <number>4</number>
80 <firstdesk>1</firstdesk>
81 <names>
82 <name>one</name>
83 <name>two</name>
84 <name>three</name>
85 <name>four</name>
86 </names>
87 </desktops>
88
89 <resize>
90 <drawContents>yes</drawContents>
91 <popupShow>Nonpixel</popupShow>
92 <!-- 'Always', 'Never', or 'Nonpixel' (xterms and such) -->
93 <popupPosition>Center</popupPosition>
94 <!-- 'Center' or 'Top' -->
95 </resize>
96
97 <dock>
98 <position>TopLeft</position>
99 <!-- (Top|Bottom)(Left|Right|)|Left|Right|Floating -->
100 <floatingX>0</floatingX>
101 <floatingY>0</floatingY>
102 <noStrut>no</noStrut>
103 <stacking>Above</stacking>
104 <direction>Vertical</direction>
105 <!-- 'Vertical' or 'Horizontal' -->
106 <autoHide>no</autoHide>
107 <hideDelay>300</hideDelay>
108 <showDelay>300</showDelay>
109 <moveButton>Middle</moveButton>
110 </dock>
111
112 <keyboard>
113 <chainQuitKey>C-g</chainQuitKey>
114
115 <keybind key="A-F10">
116 <action name="MaximizeFull"/>
117 </keybind>
118 <keybind key="A-F5">
119 <action name="UnmaximizeFull"/>
120 </keybind>
121 <keybind key="A-F12">
122 <action name="ToggleShade"/>
123 </keybind>
124 <keybind key="C-A-Left">
125 <action name="DesktopLeft"><wrap>no</wrap></action>
126 </keybind>
127 <keybind key="C-A-Right">
128 <action name="DesktopRight"><wrap>no</wrap></action>
129 </keybind>
130 <keybind key="C-A-Up">
131 <action name="DesktopUp"><wrap>no</wrap></action>
132 </keybind>
133 <keybind key="C-A-Down">
134 <action name="DesktopDown"><wrap>no</wrap></action>
135 </keybind>
136 <keybind key="S-A-Left">
137 <action name="SendToDesktopLeft"><wrap>no</wrap></action>
138 </keybind>
139 <keybind key="S-A-Right">
140 <action name="SendToDesktopRight"><wrap>no</wrap></action>
141 </keybind>
142 <keybind key="S-A-Up">
143 <action name="SendToDesktopUp"><wrap>no</wrap></action>
144 </keybind>
145 <keybind key="S-A-Down">
146 <action name="SendToDesktopDown"><wrap>no</wrap></action>
147 </keybind>
148 <keybind key="C-A-d">
149 <action name="ToggleShowDesktop"/>
150 </keybind>
151 <keybind key="A-F4">
152 <action name="Close"/>
153 </keybind>
154 <keybind key="A-Tab">
155 <action name="NextWindow"/>
156 </keybind>
157 <keybind key="A-S-Tab">
158 <action name="PreviousWindow"/>
159 </keybind>
160 <keybind key="C-A-Tab">
161 <action name="NextWindow"><panels>yes</panels></action>
162 </keybind>
163 <keybind key="C-A-S-Tab">
164 <action name="PreviousWindow"><panels>yes</panels></action>
165 </keybind>
166 <keybind key="A-F7">
167 <action name="Move"/>
168 </keybind>
169 <keybind key="A-F8">
170 <action name="Resize"/>
171 </keybind>
172 <keybind key="A-F9">
173 <action name="Iconify"/>
174 </keybind>
175 <keybind key="A-space">
176 <action name="ShowMenu"><menu>client-menu</menu></action>
177 </keybind>
178 </keyboard>
179
180 <mouse>
181 <dragThreshold>3</dragThreshold>
182 <doubleClickTime>200</doubleClickTime>
183
184 <context name="Frame">
185 <mousebind button="A-Left" action="Drag">
186 <action name="Move"/>
187 </mousebind>
188 <mousebind button="A-Left" action="Click">
189 <action name="Raise"/>
190 </mousebind>
191 <mousebind button="A-Left" action="Press">
192 <action name="Focus"/>
193 </mousebind>
194 <mousebind button="A-Middle" action="Drag">
195 <action name="Resize"/>
196 </mousebind>
197 <mousebind button="A-Middle" action="Click">
198 <action name="Lower"/>
199 </mousebind>
200 <mousebind button="A-Right" action="Press">
201 <action name="ShowMenu"><menu>client-menu</menu></action>
202 </mousebind>
203 <mousebind button="A-Up" action="Click">
204 <action name="DesktopPrevious"/>
205 </mousebind>
206 <mousebind button="A-Down" action="Click">
207 <action name="DesktopNext"/>
208 </mousebind>
209 <mousebind button="C-A-Up" action="Click">
210 <action name="SendToDesktopPrevious"/>
211 </mousebind>
212 <mousebind button="C-A-Down" action="Click">
213 <action name="SendToDesktopNext"/>
214 </mousebind>
215 </context>
216 <context name="Titlebar">
217 <mousebind button="Left" action="Drag">
218 <action name="Move"/>
219 </mousebind>
220 <mousebind button="Left" action="Click">
221 <action name="Raise"/>
222 </mousebind>
223 <mousebind button="Left" action="Press">
224 <action name="Focus"/>
225 </mousebind>
226 <mousebind button="Left" action="DoubleClick">
227 <action name="ToggleShade"/>
228 </mousebind>
229 <mousebind button="Middle" action="Press">
230 <action name="Lower"/>
231 </mousebind>
232 <mousebind button="Up" action="Click">
233 <action name="Shade"/>
234 </mousebind>
235 <mousebind button="Down" action="Click">
236 <action name="Unshade"/>
237 </mousebind>
238 <mousebind button="Right" action="Press">
239 <action name="ShowMenu"><menu>client-menu</menu></action>
240 </mousebind>
241 </context>
242 <context name="Handle">
243 <mousebind button="Left" action="Drag">
244 <action name="Move"/>
245 </mousebind>
246 <mousebind button="Left" action="Click">
247 <action name="Raise"/>
248 </mousebind>
249 <mousebind button="Left" action="Press">
250 <action name="Focus"/>
251 </mousebind>
252 <mousebind button="Middle" action="Press">
253 <action name="Lower"/>
254 </mousebind>
255 </context>
256 <context name="BLCorner">
257 <mousebind button="Left" action="Drag">
258 <action name="Resize"/>
259 </mousebind>
260 <mousebind button="Left" action="Press">
261 <action name="Focus"/>
262 </mousebind>
263 </context>
264 <context name="BRCorner">
265 <mousebind button="Left" action="Drag">
266 <action name="Resize"/>
267 </mousebind>
268 <mousebind button="Left" action="Press">
269 <action name="Focus"/>
270 </mousebind>
271 </context>
272 <context name="TLCorner">
273 <mousebind button="Left" action="Drag">
274 <action name="Resize"/>
275 </mousebind>
276 <mousebind button="Left" action="Press">
277 <action name="Focus"/>
278 </mousebind>
279 </context>
280 <context name="TRCorner">
281 <mousebind button="Left" action="Drag">
282 <action name="Resize"/>
283 </mousebind>
284 <mousebind button="Left" action="Press">
285 <action name="Focus"/>
286 </mousebind>
287 </context>
288 <context name="Client">
289 <mousebind button="Left" action="Press">
290 <action name="Focus"/>
291 <action name="Raise"/>
292 </mousebind>
293 <mousebind button="Middle" action="Press">
294 <action name="Focus"/>
295 </mousebind>
296 <mousebind button="Right" action="Press">
297 <action name="Focus"/>
298 </mousebind>
299 </context>
300 <context name="Icon">
301 <mousebind button="Left" action="Press">
302 <action name="Focus"/>
303 </mousebind>
304 <mousebind button="Right" action="Press">
305 <action name="ShowMenu"><menu>client-menu</menu></action>
306 </mousebind>
307 <mousebind button="Left" action="Press">
308 <action name="ShowMenu"><menu>client-menu</menu></action>
309 </mousebind>
310 </context>
311 <context name="AllDesktops">
312 <mousebind button="Left" action="Press">
313 <action name="Focus"/>
314 </mousebind>
315 <mousebind button="Left" action="Click">
316 <action name="ToggleOmnipresent"/>
317 </mousebind>
318 </context>
319 <context name="Shade">
320 <mousebind button="Left" action="Press">
321 <action name="Focus"/>
322 </mousebind>
323 <mousebind button="Left" action="Click">
324 <action name="ToggleShade"/>
325 </mousebind>
326 </context>
327 <context name="Iconify">
328 <mousebind button="Left" action="Press">
329 <action name="Focus"/>
330 </mousebind>
331 <mousebind button="Left" action="Click">
332 <action name="Iconify"/>
333 </mousebind>
334 </context>
335 <context name="Maximize">
336 <mousebind button="Left" action="Press">
337 <action name="Focus"/>
338 </mousebind>
339 <mousebind button="Middle" action="Press">
340 <action name="Focus"/>
341 </mousebind>
342 <mousebind button="Right" action="Press">
343 <action name="Focus"/>
344 </mousebind>
345 <mousebind button="Left" action="Click">
346 <action name="ToggleMaximizeFull"/>
347 </mousebind>
348 <mousebind button="Middle" action="Click">
349 <action name="ToggleMaximizeVert"/>
350 </mousebind>
351 <mousebind button="Right" action="Click">
352 <action name="ToggleMaximizeHorz"/>
353 </mousebind>
354 </context>
355 <context name="Close">
356 <mousebind button="Left" action="Press">
357 <action name="Focus"/>
358 </mousebind>
359 <mousebind button="Left" action="Click">
360 <action name="Close"/>
361 </mousebind>
362 </context>
363 <context name="Desktop">
364 <mousebind button="Up" action="Press">
365 <action name="DesktopPrevious"/>
366 </mousebind>
367 <mousebind button="Down" action="Press">
368 <action name="DesktopNext"/>
369 </mousebind>
370 <mousebind button="A-Up" action="Press">
371 <action name="DesktopPrevious"/>
372 </mousebind>
373 <mousebind button="A-Down" action="Press">
374 <action name="DesktopNext"/>
375 </mousebind>
376 <mousebind button="Left" action="Press">
377 <action name="Focus"/>
378 <action name="Raise"/>
379 </mousebind>
380 <mousebind button="Middle" action="Press">
381 <action name="ShowMenu"><menu>client-list-menu</menu></action>
382 </mousebind>
383 <mousebind button="Right" action="Press">
384 <action name="ShowMenu"><menu>root-menu</menu></action>
385 </mousebind>
386 </context>
387 <context name="MoveResize">
388 <mousebind button="Up" action="Press">
389 <action name="DesktopPrevious"/>
390 </mousebind>
391 <mousebind button="Down" action="Press">
392 <action name="DesktopNext"/>
393 </mousebind>
394 <mousebind button="A-Up" action="Press">
395 <action name="DesktopPrevious"/>
396 </mousebind>
397 <mousebind button="A-Down" action="Press">
398 <action name="DesktopNext"/>
399 </mousebind>
400 </context>
401 </mouse>
402
403 <menu>
404 <!-- You can specify more than one menu file in here and they are all loaded,
405 just don't make menu ids clash or, well, it'll be kind of pointless -->
406
407 <!-- default menu file (or custom one in $HOME/.config/openbox/) -->
408 <file>menu.xml</file>
409 <warpPointer>yes</warpPointer>
410 <xorStyle>yes</xorStyle>
411 <hideDelay>250</hideDelay>
412 <middle>no</middle>
413 <submenuShowDelay>0</submenuShowDelay>
414 <desktopMenuIcons>yes</desktopMenuIcons>
415 <!-- -->
416 </menu>
417
418 <applications>
419 <!--
420 <application name="this application does not exist">
421 <decor>yes</decor>
422 <shade>no</shade>
423 <position>
424 <x>center</x>
425 <y>200</y>
426 </position>
427 <focus>yes</focus>
428 <desktop>1</desktop>
429 <head>0</head>
430 # specifies xinerama head
431 <layer>normal</layer>
432 # 'above', 'normal', or 'below'
433 <iconic>no</iconic>
434 <skip_pager>no</skip_pager>
435 <skip_taskbar>no</skip_taskbar>
436 <fullscreen>yes</fullscreen>
437 <maximized>true</maximized>
438 # 'Horizontal', 'Vertical' or boolean (yes/no/on/off/true/false)
439 </application>
440 -->
441 </applications>
442
443 </openbox_config>
This page took 0.048351 seconds and 3 git commands to generate.