]> icculus.org git repositories - dana/openbox.git/blob - data/rc.xml.in
kill the hideDisabled option
[dana/openbox.git] / 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   <animateIconify>yes</animateIconify>
46   <font place="ActiveWindow">
47     <name>sans</name>
48     <size>7</size>
49     <!-- font size in points -->
50     <weight>bold</weight>
51     <!-- 'bold' or 'normal' -->
52     <slant>normal</slant>
53     <!-- 'italic' or 'normal' -->
54   </font>
55   <font place="InactiveWindow">
56     <name>sans</name>
57     <size>7</size>
58     <!-- font size in points -->
59     <weight>bold</weight>
60     <!-- 'bold' or 'normal' -->
61     <slant>normal</slant>
62     <!-- 'italic' or 'normal' -->
63   </font>
64   <font place="MenuHeader">
65     <name>sans</name>
66     <size>8</size>
67     <!-- font size in points -->
68     <weight>bold</weight>
69     <!-- 'bold' or 'normal' -->
70     <slant>normal</slant>
71     <!-- 'italic' or 'normal' -->
72   </font>
73   <font place="MenuItem">
74     <name>sans</name>
75     <size>9</size>
76     <!-- font size in points -->
77     <weight>bold</weight>
78     <!-- 'bold' or 'normal' -->
79     <slant>normal</slant>
80     <!-- 'italic' or 'normal' -->
81   </font>
82   <font place="OnScreenDisplay">
83     <name>sans</name>
84     <size>9</size>
85     <!-- font size in points -->
86     <weight>bold</weight>
87     <!-- 'bold' or 'normal' -->
88     <slant>normal</slant>
89     <!-- 'italic' or 'normal' -->
90   </font>
91 </theme>
92
93 <desktops>
94   <!-- this stuff is only used at startup, pagers allow you to change them
95        during a session -->
96   <number>4</number>
97   <firstdesk>1</firstdesk>
98   <names>
99     <name>desktop one</name>
100     <name>desktop two</name>
101     <name>desktop three</name>
102     <name>desktop four</name>
103   </names>
104 </desktops>
105
106 <resize>
107   <drawContents>yes</drawContents>
108   <popupShow>Nonpixel</popupShow>
109   <!-- 'Always', 'Never', or 'Nonpixel' (xterms and such) -->
110   <popupPosition>Center</popupPosition>
111   <!-- 'Center' or 'Top' -->
112 </resize>
113
114 <dock>
115   <position>TopLeft</position>
116   <!-- (Top|Bottom)(Left|Right|)|Top|Bottom|Left|Right|Floating -->
117   <floatingX>0</floatingX>
118   <floatingY>0</floatingY>
119   <noStrut>no</noStrut>
120   <stacking>Above</stacking>
121   <!-- 'Above', 'Normal', or 'Below' -->
122   <direction>Vertical</direction>
123   <!-- 'Vertical' or 'Horizontal' -->
124   <autoHide>no</autoHide>
125   <hideDelay>300</hideDelay>
126   <showDelay>300</showDelay>
127   <moveButton>Middle</moveButton>
128 </dock>
129
130 <keyboard>
131   <chainQuitKey>C-g</chainQuitKey>
132
133   <keybind key="A-F10">
134     <action name="MaximizeFull"/>
135   </keybind>
136   <keybind key="A-F5">
137     <action name="UnmaximizeFull"/>
138   </keybind>
139   <keybind key="A-F12">
140     <action name="ToggleShade"/>
141   </keybind>
142   <keybind key="C-A-Left">
143     <action name="DesktopLeft"><wrap>no</wrap></action>
144   </keybind>
145   <keybind key="C-A-Right">
146     <action name="DesktopRight"><wrap>no</wrap></action>
147   </keybind>
148   <keybind key="C-A-Up">
149     <action name="DesktopUp"><wrap>no</wrap></action>
150   </keybind>
151   <keybind key="C-A-Down">
152     <action name="DesktopDown"><wrap>no</wrap></action>
153   </keybind>
154   <keybind key="S-A-Left">
155     <action name="SendToDesktopLeft"><wrap>no</wrap></action>
156   </keybind>
157   <keybind key="S-A-Right">
158     <action name="SendToDesktopRight"><wrap>no</wrap></action>
159   </keybind>
160   <keybind key="S-A-Up">
161     <action name="SendToDesktopUp"><wrap>no</wrap></action>
162   </keybind>
163   <keybind key="S-A-Down">
164     <action name="SendToDesktopDown"><wrap>no</wrap></action>
165   </keybind>
166   <keybind key="C-A-d">
167     <action name="ToggleShowDesktop"/>
168   </keybind>
169   <keybind key="A-F4">
170     <action name="Close"/>
171   </keybind>
172   <keybind key="A-Tab">
173     <action name="NextWindow"/>
174   </keybind>
175   <keybind key="A-S-Tab">
176     <action name="PreviousWindow"/>
177   </keybind>
178   <keybind key="C-A-Tab">
179     <action name="NextWindow"><panels>yes</panels></action>
180   </keybind>
181   <keybind key="C-A-S-Tab">
182     <action name="PreviousWindow"><panels>yes</panels></action>
183   </keybind>
184   <keybind key="A-F7">
185     <action name="Move"/>
186   </keybind>
187   <keybind key="A-F8">
188     <action name="Resize"/>
189   </keybind>
190   <keybind key="A-F9">
191     <action name="Iconify"/>
192   </keybind>
193   <keybind key="A-space">
194     <action name="ShowMenu"><menu>client-menu</menu></action>
195   </keybind>
196 </keyboard>
197
198 <mouse>
199   <dragThreshold>3</dragThreshold>
200   <doubleClickTime>200</doubleClickTime>
201
202   <context name="Frame">
203     <mousebind button="A-Left" action="Drag">
204       <action name="Move"/>
205     </mousebind>
206     <mousebind button="A-Left" action="Click">
207       <action name="Raise"/>
208     </mousebind>
209     <mousebind button="A-Left" action="Press">
210       <action name="Focus"/>
211     </mousebind>
212     <mousebind button="A-Middle" action="Drag">
213       <action name="Resize"/>
214     </mousebind> 
215     <mousebind button="A-Middle" action="Click">
216       <action name="Lower"/>
217     </mousebind>
218     <mousebind button="A-Right" action="Press">
219       <action name="ShowMenu"><menu>client-menu</menu></action>
220     </mousebind>
221     <mousebind button="A-Up" action="Click">
222       <action name="DesktopPrevious"/>
223     </mousebind>
224     <mousebind button="A-Down" action="Click">
225       <action name="DesktopNext"/>
226     </mousebind>
227     <mousebind button="C-A-Up" action="Click">
228       <action name="SendToDesktopPrevious"/>
229     </mousebind>
230     <mousebind button="C-A-Down" action="Click">
231       <action name="SendToDesktopNext"/>
232     </mousebind>
233   </context>
234   <context name="Titlebar">
235     <mousebind button="Left" action="Drag">
236       <action name="Move"/>
237     </mousebind>
238     <mousebind button="Left" action="Click">
239       <action name="Raise"/>
240     </mousebind>
241     <mousebind button="Left" action="Press">
242       <action name="Focus"/>
243     </mousebind>
244     <mousebind button="Left" action="DoubleClick">
245       <action name="ToggleShade"/>
246     </mousebind>
247     <mousebind button="Middle" action="Press">
248       <action name="Lower"/>
249     </mousebind>
250     <mousebind button="Up" action="Click">
251       <action name="Shade"/>
252     </mousebind>
253     <mousebind button="Down" action="Click">
254       <action name="Unshade"/>
255     </mousebind>
256     <mousebind button="Right" action="Press">
257       <action name="ShowMenu"><menu>client-menu</menu></action>
258     </mousebind>
259   </context>
260   <context name="Handle">
261     <mousebind button="Left" action="Drag">
262       <action name="Move"/>
263     </mousebind>
264     <mousebind button="Left" action="Click">
265       <action name="Raise"/>
266     </mousebind>
267     <mousebind button="Left" action="Press">
268       <action name="Focus"/>
269     </mousebind>
270     <mousebind button="Middle" action="Press">
271       <action name="Lower"/>
272     </mousebind>
273   </context>
274   <context name="BLCorner">
275     <mousebind button="Left" action="Drag">
276       <action name="Resize"/>
277     </mousebind>
278     <mousebind button="Left" action="Press">
279       <action name="Focus"/>
280     </mousebind>
281   </context>
282   <context name="BRCorner">
283     <mousebind button="Left" action="Drag">
284       <action name="Resize"/>
285     </mousebind>
286     <mousebind button="Left" action="Press">
287       <action name="Focus"/>
288     </mousebind>
289   </context>
290   <context name="TLCorner">
291     <mousebind button="Left" action="Drag">
292       <action name="Resize"/>
293     </mousebind>
294     <mousebind button="Left" action="Press">
295       <action name="Focus"/>
296     </mousebind>
297   </context>
298   <context name="TRCorner">
299     <mousebind button="Left" action="Drag">
300       <action name="Resize"/>
301     </mousebind>
302     <mousebind button="Left" action="Press">
303       <action name="Focus"/>
304     </mousebind>
305   </context>
306   <context name="Client">
307     <mousebind button="Left" action="Press">
308       <action name="Focus"/>
309       <action name="Raise"/>
310     </mousebind>
311     <mousebind button="Middle" action="Press">
312       <action name="Focus"/>
313     </mousebind>
314     <mousebind button="Right" action="Press">
315       <action name="Focus"/>
316     </mousebind>
317   </context>
318   <context name="Icon">
319     <mousebind button="Left" action="Press">
320       <action name="Focus"/>
321     </mousebind>
322     <mousebind button="Right" action="Press">
323       <action name="ShowMenu"><menu>client-menu</menu></action>
324     </mousebind>
325     <mousebind button="Left" action="Press">
326       <action name="ShowMenu"><menu>client-menu</menu></action>
327     </mousebind>
328   </context>
329   <context name="AllDesktops">
330     <mousebind button="Left" action="Press">
331       <action name="Focus"/>
332     </mousebind>
333     <mousebind button="Left" action="Click">
334       <action name="ToggleOmnipresent"/>
335     </mousebind>
336   </context>
337   <context name="Shade">
338     <mousebind button="Left" action="Press">
339       <action name="Focus"/>
340     </mousebind>
341     <mousebind button="Left" action="Click">
342       <action name="ToggleShade"/>
343     </mousebind>
344   </context>
345   <context name="Iconify">
346     <mousebind button="Left" action="Press">
347       <action name="Focus"/>
348     </mousebind>
349     <mousebind button="Left" action="Click">
350       <action name="Iconify"/>
351     </mousebind>
352   </context>
353   <context name="Maximize">
354     <mousebind button="Left" action="Press">
355       <action name="Focus"/>
356     </mousebind>
357     <mousebind button="Middle" action="Press">
358       <action name="Focus"/>
359     </mousebind>
360     <mousebind button="Right" action="Press">
361       <action name="Focus"/>
362     </mousebind>
363     <mousebind button="Left" action="Click">
364       <action name="ToggleMaximizeFull"/>
365     </mousebind>
366     <mousebind button="Middle" action="Click">
367       <action name="ToggleMaximizeVert"/>
368     </mousebind>
369     <mousebind button="Right" action="Click">
370       <action name="ToggleMaximizeHorz"/>
371     </mousebind>
372   </context>
373   <context name="Close">
374     <mousebind button="Left" action="Press">
375       <action name="Focus"/>
376     </mousebind>
377     <mousebind button="Left" action="Click">
378       <action name="Close"/>
379     </mousebind>
380   </context>
381   <context name="Desktop">
382     <mousebind button="Up" action="Press">
383       <action name="DesktopPrevious"/>
384     </mousebind>
385     <mousebind button="Down" action="Press">
386       <action name="DesktopNext"/>
387     </mousebind>
388     <mousebind button="A-Up" action="Press">
389       <action name="DesktopPrevious"/>
390     </mousebind>
391     <mousebind button="A-Down" action="Press">
392       <action name="DesktopNext"/>
393     </mousebind>
394     <mousebind button="Left" action="Press">
395       <action name="Focus"/>
396       <action name="Raise"/>
397     </mousebind> 
398     <mousebind button="Middle" action="Press">
399       <action name="ShowMenu"><menu>client-list-menu</menu></action>
400     </mousebind> 
401     <mousebind button="Right" action="Press">
402       <action name="ShowMenu"><menu>root-menu</menu></action>
403     </mousebind>
404   </context>
405   <context name="MoveResize">
406     <mousebind button="Up" action="Press">
407       <action name="DesktopPrevious"/>
408     </mousebind>
409     <mousebind button="Down" action="Press">
410       <action name="DesktopNext"/>
411     </mousebind>
412     <mousebind button="A-Up" action="Press">
413       <action name="DesktopPrevious"/>
414     </mousebind>
415     <mousebind button="A-Down" action="Press">
416       <action name="DesktopNext"/>
417     </mousebind>
418   </context>
419 </mouse>
420
421 <menu>
422   <!-- You can specify more than one menu file in here and they are all loaded,
423        just don't make menu ids clash or, well, it'll be kind of pointless -->
424
425   <!-- default menu file (or custom one in $HOME/.config/openbox/) -->
426   <file>menu.xml</file>
427   <hideDelay>250</hideDelay>
428   <middle>no</middle>
429   <submenuShowDelay>0</submenuShowDelay>
430   <applicationIcons>yes</applicationIcons>
431 </menu>
432
433 <!-- this section is commented out.. remove this and the ending comment if you
434      want to use it -->
435 <applications>
436   <!-- the name or the class can be set, or both. this is used to match
437        windows when they appear
438
439        role can optionally be set, and only as much as you provide will be 
440        checked to see if it matches, eg. if you set role="abc" and the window's
441        role is actually "abcde" it would match.
442  -->
443   <application name="first element of window's WM_CLASS property (see xprop)"
444               class="second element of window's WM_CLASS property (see xprop)"
445                role="the window's WM_WINDOW_ROLE property (see xprop)">
446
447     <!-- each element can be left out or set to 'default' to specify to not 
448          change that attribute of the window -->
449
450     <decor>yes</decor>
451
452     <shade>no</shade>
453
454     <position>
455       <!-- the position is only used if both an x and y coordinate are provided
456            (and not set to 'default') -->
457       <x>center</x>
458       <!-- a number or 'center' to center on screen -->
459       <y>200</y>
460       <!-- a number or 'center' to center on screen -->
461       <monitor>1</monitor>
462       <!-- specifies the monitor in a xinerama setup.
463            1 is the first head, or 'mouse' for wherever the mouse is -->
464     </position>
465
466     <focus>yes</focus>
467     <!-- if the window should try be given focus when it appears -->
468
469     <desktop>1</desktop>
470     <!-- 1 is the first desktop, 'all' for all desktops -->
471
472     <layer>normal</layer>
473     <!-- 'above', 'normal', or 'below' -->
474
475     <iconic>no</iconic>
476
477     <skip_pager>no</skip_pager>
478     <!-- asks to not be shown in pagers -->
479
480     <skip_taskbar>no</skip_taskbar>
481     <!-- asks to not be shown in taskbars. window cycling actions will also
482          skip past such windows -->
483
484     <fullscreen>yes</fullscreen>
485
486     <maximized>true</maximized>
487     <!-- 'Horizontal', 'Vertical' or boolean (yes/no/on/off/true/false) -->
488   </application>
489 </applications>
490  -->
491
492 </openbox_config>