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