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