add the schemas to the distribution
[mikachu/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/.openbox/ instead. -->
5
6 <openbox_config xmlns="http://openbox/.org"
7         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
8         xsi:schemaLocation="
9                 http://openbox.org/schema.php?type=rc&amp;version=@version@
10                 file://@xsddir@/rc.xsd">
11
12 <resistance>
13   <strength>10</strength>
14   <screen_edge_strength>20</screen_edge_strength>
15 </resistance>
16
17 <focus>
18   <focusNew>yes</focusNew>
19   <followMouse>no</followMouse>
20   <focusDelay>0</focusDelay>
21 </focus>
22
23 <theme>
24   <name>TheBear</name>
25   <titlelayout>NLIMC</titlelayout>
26 </theme>
27
28 <desktops>
29   <number>4</number>
30   <names>
31     <name>one</name>
32     <name>two</name>
33     <name>three</name>
34     <name>four</name>
35   </names>
36 </desktops>
37
38 <resize>
39   <drawContents>yes</drawContents>
40 </resize>
41
42 <dock>
43   <position>topleft</position>
44   <stacking>top</stacking>
45   <direction>vertical</direction>
46   <floatingX>0</floatingX>
47   <floatingY>0</floatingY>
48   <autoHide>no</autoHide>
49   <hideTimeout>300</hideTimeout>
50 </dock>
51
52 <keyboard>
53   <chainQuitKey>C-g</chainQuitKey>
54
55   <keybind key="A-F10">
56     <action name="MaximizeFull"/>
57   </keybind>
58   <keybind key="A-F5">
59     <action name="UnmaximizeFull"/>
60   </keybind>
61   <keybind key="A-F12">
62     <action name="ToggleShade"/>
63   </keybind>
64   <keybind key="C-A-Left">
65     <action name="DesktopLeft"/>
66   </keybind>
67   <keybind key="C-A-Right">
68     <action name="DesktopRight"/>
69   </keybind>
70   <keybind key="C-A-Up">
71     <action name="DesktopUp"/>
72   </keybind>
73   <keybind key="C-A-Down">
74     <action name="DesktopDown"/>
75   </keybind>
76   <keybind key="S-A-Left">
77     <action name="SendToDesktopLeft"/>
78   </keybind>
79   <keybind key="S-A-Right">
80     <action name="SendToDesktopRight"/>
81   </keybind>
82   <keybind key="S-A-Up">
83     <action name="SendToDesktopUp"/>
84   </keybind>
85   <keybind key="S-A-Down">
86     <action name="SendToDesktopDown"/>
87   </keybind>
88   <keybind key="C-A-d">
89     <action name="ToggleShowDesktop"/>
90   </keybind>
91   <keybind key="A-F4">
92     <action name="Close"/>
93   </keybind>
94   <keybind key="A-Tab">
95     <action name="NextWindow"/>
96   </keybind>
97   <keybind key="A-S-Tab">
98     <action name="PreviousWindow"/>
99   </keybind>
100   <keybind key="A-F7">
101     <action name="Move"/>
102   </keybind>
103   <keybind key="A-F8">
104     <action name="Resize"/>
105   </keybind>
106   <keybind key="A-F9">
107     <action name="Iconify"/>
108   </keybind>
109   <keybind key="A-space">
110     <action name="ShowMenu"><menu>client-menu</menu></action>
111   </keybind>
112 </keyboard>
113
114 <mouse>
115   <dragThreshold>3</dragThreshold>
116   <doubleClickTime>200</doubleClickTime>
117
118   <context name="Frame">
119     <mousebind button="A-Left" action="Drag">
120       <action name="Move"/>
121     </mousebind>
122     <mousebind button="A-Left" action="Click">
123       <action name="Raise"/>
124     </mousebind>
125     <mousebind button="A-Left" action="Press">
126       <action name="Focus"/>
127     </mousebind>
128     <mousebind button="A-Middle" action="Drag">
129       <action name="Resize"/>
130     </mousebind> 
131     <mousebind button="A-Middle" action="Click">
132       <action name="Lower"/>
133     </mousebind>
134     <mousebind button="A-Right" action="Press">
135       <action name="ShowMenu"><menu>client-menu</menu></action>
136     </mousebind>
137     <mousebind button="A-Up" action="Click">
138       <action name="DesktopNext"/>
139     </mousebind>
140     <mousebind button="A-Down" action="Click">
141       <action name="DesktopPrevious"/>
142     </mousebind>
143     <mousebind button="C-A-Up" action="Click">
144       <action name="SendToDesktopNext"/>
145     </mousebind>
146     <mousebind button="C-A-Down" action="Click">
147       <action name="SendToDesktopPrevious"/>
148     </mousebind>
149   </context>
150   <context name="Titlebar">
151     <mousebind button="Left" action="Drag">
152       <action name="Move"/>
153     </mousebind>
154     <mousebind button="Left" action="Click">
155       <action name="Raise"/>
156     </mousebind>
157     <mousebind button="Left" action="Press">
158       <action name="Focus"/>
159     </mousebind>
160     <mousebind button="Left" action="DoubleClick">
161       <action name="ToggleShade"/>
162     </mousebind>
163     <mousebind button="Middle" action="Press">
164       <action name="Lower"/>
165     </mousebind>
166     <mousebind button="Up" action="Click">
167       <action name="Shade"/>
168     </mousebind>
169     <mousebind button="Down" action="Click">
170       <action name="Unshade"/>
171     </mousebind>
172     <mousebind button="Right" action="Press">
173       <action name="ShowMenu"><menu>client-menu</menu></action>
174     </mousebind>
175   </context>
176   <context name="Handle">
177     <mousebind button="Left" action="Drag">
178       <action name="Move"/>
179     </mousebind>
180     <mousebind button="Left" action="Click">
181       <action name="Raise"/>
182     </mousebind>
183     <mousebind button="Left" action="Press">
184       <action name="Focus"/>
185     </mousebind>
186     <mousebind button="Middle" action="Press">
187       <action name="Lower"/>
188     </mousebind>
189   </context>
190   <context name="BLCorner">
191     <mousebind button="Left" action="Drag">
192       <action name="Resize"/>
193     </mousebind>
194     <mousebind button="Left" action="Press">
195       <action name="Focus"/>
196     </mousebind>
197   </context>
198   <context name="BRCorner">
199     <mousebind button="Left" action="Drag">
200       <action name="Resize"/>
201     </mousebind>
202     <mousebind button="Left" action="Press">
203       <action name="Focus"/>
204     </mousebind>
205   </context>
206   <context name="TLCorner">
207     <mousebind button="Left" action="Drag">
208       <action name="Resize"/>
209     </mousebind>
210     <mousebind button="Left" action="Press">
211       <action name="Focus"/>
212     </mousebind>
213   </context>
214   <context name="TRCorner">
215     <mousebind button="Left" action="Drag">
216       <action name="Resize"/>
217     </mousebind>
218     <mousebind button="Left" action="Press">
219       <action name="Focus"/>
220     </mousebind>
221   </context>
222   <context name="Client">
223     <mousebind button="Left" action="Press">
224       <action name="Focus"/>
225       <action name="Raise"/>
226     </mousebind>
227     <mousebind button="Middle" action="Press">
228       <action name="Focus"/>
229     </mousebind>
230     <mousebind button="Right" action="Press">
231       <action name="Focus"/>
232     </mousebind>
233   </context>
234   <context name="Icon">
235     <mousebind button="Left" action="Press">
236       <action name="Focus"/>
237     </mousebind>
238     <mousebind button="Right" action="Press">
239       <action name="ShowMenu"><menu>client-menu</menu></action>
240     </mousebind>
241     <mousebind button="Left" action="Click">
242       <action name="ShowMenu"><menu>client-menu</menu></action>
243     </mousebind>
244     <mousebind button="Left" action="DoubleClick">
245       <action name="Close"/>
246     </mousebind>
247   </context>
248   <context name="AllDesktops">
249     <mousebind button="Left" action="Press">
250       <action name="Focus"/>
251     </mousebind>
252     <mousebind button="Left" action="Click">
253       <action name="ToggleOmnipresent"/>
254     </mousebind>
255   </context>
256   <context name="Shade">
257     <mousebind button="Left" action="Press">
258       <action name="Focus"/>
259     </mousebind>
260     <mousebind button="Left" action="Click">
261       <action name="ToggleShade"/>
262     </mousebind>
263   </context>
264   <context name="Iconify">
265     <mousebind button="Left" action="Press">
266       <action name="Focus"/>
267     </mousebind>
268     <mousebind button="Left" action="Click">
269       <action name="Iconify"/>
270     </mousebind>
271   </context>
272   <context name="Maximize">
273     <mousebind button="Left" action="Press">
274       <action name="Focus"/>
275     </mousebind>
276     <mousebind button="Middle" action="Press">
277       <action name="Focus"/>
278     </mousebind>
279     <mousebind button="Right" action="Press">
280       <action name="Focus"/>
281     </mousebind>
282     <mousebind button="Left" action="Click">
283       <action name="ToggleMaximizeFull"/>
284     </mousebind>
285     <mousebind button="Middle" action="Click">
286       <action name="ToggleMaximizeVert"/>
287     </mousebind>
288     <mousebind button="Right" action="Click">
289       <action name="ToggleMaximizeHorz"/>
290     </mousebind>
291   </context>
292   <context name="Close">
293     <mousebind button="Left" action="Press">
294       <action name="Focus"/>
295     </mousebind>
296     <mousebind button="Left" action="Click">
297       <action name="Close"/>
298     </mousebind>
299   </context>
300   <context name="Desktop">
301     <mousebind button="Up" action="Press">
302       <action name="DesktopNext"/>
303     </mousebind>
304     <mousebind button="Down" action="Press">
305       <action name="DesktopPrevious"/>
306     </mousebind>
307     <mousebind button="A-Up" action="Press">
308       <action name="DesktopNext"/>
309     </mousebind>
310     <mousebind button="A-Down" action="Press">
311       <action name="DesktopPrevious"/>
312     </mousebind>
313     <mousebind button="Left" action="Press">
314       <action name="Focus"/>
315     </mousebind> 
316     <mousebind button="Middle" action="Press">
317       <action name="ShowMenu"><menu>client-list-menu</menu></action>
318     </mousebind> 
319     <mousebind button="Right" action="Press">
320       <action name="ShowMenu"><menu>root-menu</menu></action>
321     </mousebind>
322   </context>
323   <context name="MoveResize">
324     <mousebind button="Up" action="Press">
325       <action name="DesktopNext"/>
326     </mousebind>
327     <mousebind button="Down" action="Press">
328       <action name="DesktopPrevious"/>
329     </mousebind>
330     <mousebind button="A-Up" action="Press">
331       <action name="DesktopNext"/>
332     </mousebind>
333     <mousebind button="A-Down" action="Press">
334       <action name="DesktopPrevious"/>
335     </mousebind>
336   </context>
337 </mouse>
338
339 <menu>
340   <!-- You can specify more than one menu file in here and they are all loaded,
341        just don't make menu ids clash or, well, it'll be kind of pointless -->
342
343   <!-- debian menu file -->
344   <file>/etc/X11/openbox/openbox-menu.xml</file>
345
346   <!-- default menu file (or custom one in $HOME/.openbox/) -->
347   <file>menu.xml</file>
348 </menu>
349
350 </openbox_config>