move the dekstop file to data/
[dana/openbox.git] / data / rc3
1 <?xml version="1.0"?>
2
3 <!-- Do not edit this file, it will be overwritten on install. Edit the file
4      in $HOME/.openbox/ instead. -->
5
6 <openbox_config>
7
8 <resistance>
9   <strength>10</strength>
10   <screen_edge_strength>10</screen_edge_strength>
11   <windows>yes</windows>
12 </resistance>
13
14 <placement>
15   <remember>yes</remember>
16 </placement>
17
18 <focus>
19   <focusNew>yes</focusNew>
20   <followMouse>no</followMouse>
21   <focusLast>yes</focusLast>
22   <focusLastOnDesktop>yes</focusLastOnDesktop>
23   <cyclingDialog>yes</cyclingDialog>
24 </focus>
25
26 <theme>
27   <theme>operation</theme>
28   <titlelayout>NLIMC</titlelayout>
29 </theme>
30
31 <desktops>
32   <number>4</number>
33   <names>
34     <name>one</name>
35     <name>two</name>
36     <name>three</name>
37     <name>four</name>
38   </names>
39 </desktops>
40
41 <moveresize>
42   <opaqueMove>yes</opaqueMove>
43   <opaqueResize>yes</opaqueResize>
44 </moveresize>
45
46 <dock>
47   <position>topleft</position>
48   <stacking>top</stacking>
49   <direction>vertical</direction>
50   <floatingX>0</floatingX>
51   <floatingY>0</floatingY>
52   <autoHide>no</autoHide>
53   <hideTimeout>300</hideTimeout>
54 </dock>
55
56 <keyboard>
57   <keybind key="A-F10">
58     <action name="MaximizeFull"></action>
59   </keybind>
60   <keybind key="A-F5">
61     <action name="UnmaximizeFull"></action>
62   </keybind>
63   <keybind key="A-F12">
64     <action name="ToggleShade"></action>
65   </keybind>
66   <keybind key="C-A-Left">
67     <action name="DesktopLeft"></action>
68   </keybind>
69   <keybind key="C-A-Right">
70     <action name="DesktopRight"></action>
71   </keybind>
72   <keybind key="C-A-Up">
73     <action name="DesktopUp"></action>
74   </keybind>
75   <keybind key="C-A-Down">
76     <action name="DesktopDown"></action>
77   </keybind>
78   <keybind key="S-A-Left">
79     <action name="SendToDesktopLeft"></action>
80   </keybind>
81   <keybind key="S-A-Right">
82     <action name="SendToDesktopRight"></action>
83   </keybind>
84   <keybind key="S-A-Up">
85     <action name="SendToDesktopUp"></action>
86   </keybind>
87   <keybind key="S-A-Down">
88     <action name="SendToDesktopDown"></action>
89   </keybind>
90   <keybind key="C-A-d">
91     <action name="ToggleShowDesktop"></action>
92   </keybind>
93   <keybind key="A-F4">
94     <action name="Close"></action>
95   </keybind>
96   <keybind key="A-Tab">
97     <action name="NextWindow"></action>
98   </keybind>
99   <keybind key="A-S-Tab">
100     <action name="PreviousWindow"></action>
101   </keybind>
102   <keybind key="A-F7">
103     <action name="KeyboardMove"></action>
104   </keybind>
105   <keybind key="A-F8">
106     <action name="KeyboardResize"></action>
107   </keybind>
108   <keybind key="A-F9">
109     <action name="Iconify"></action>
110   </keybind>
111 </keyboard>
112
113 <mouse>
114   <dragThreshold>3</dragThreshold>
115   <doubleClickTime>200</doubleClickTime>
116
117   <context name="frame">
118     <mousebind button="A-Left" action="drag">
119       <action name="move"/>
120     </mousebind>
121     <mousebind button="A-Left" action="click">
122       <action name="raise"/>
123     </mousebind>
124     <mousebind button="A-Left" action="press">
125       <action name="focus"/>
126     </mousebind>
127     <mousebind button="A-Middle" action="drag">
128       <action name="resize"/>
129     </mousebind> 
130     <mousebind button="A-Middle" action="click">
131       <action name="lower"/>
132     </mousebind>
133     <mousebind button="A-Right" action="press">
134       <action name="showmenu"><menu>client-menu</menu></action>
135     </mousebind>
136     <mousebind button="A-Up" action="click">
137       <action name="desktopright"/>
138     </mousebind>
139     <mousebind button="A-Down" action="click">
140       <action name="desktopleft"/>
141     </mousebind>
142     <mousebind button="C-A-Up" action="click">
143       <action name="sendtodesktopright"/>
144     </mousebind>
145     <mousebind button="C-A-Down" action="click">
146       <action name="sendtodesktopleft"/>
147     </mousebind>
148   </context>
149   <context name="titlebar">
150     <mousebind button="Left" action="drag">
151       <action name="move"/>
152     </mousebind>
153     <mousebind button="Left" action="click">
154       <action name="raise"/>
155     </mousebind>
156     <mousebind button="Left" action="press">
157       <action name="focus"/>
158     </mousebind>
159     <mousebind button="Left" action="doubleclick">
160       <action name="toggleshade"/>
161     </mousebind>
162     <mousebind button="Middle" action="press">
163       <action name="lower"/>
164     </mousebind>
165     <mousebind button="Up" action="click">
166       <action name="shade"/>
167     </mousebind>
168     <mousebind button="Down" action="click">
169       <action name="unshade"/>
170     </mousebind>
171     <mousebind button="Right" action="press">
172       <action name="showmenu"><menu>client-menu</menu></action>
173     </mousebind>
174   </context>
175   <context name="handle">
176     <mousebind button="Left" action="drag">
177       <action name="move"/>
178     </mousebind>
179     <mousebind button="Left" action="click">
180       <action name="raise"/>
181     </mousebind>
182     <mousebind button="Left" action="press">
183       <action name="focus"/>
184     </mousebind>
185     <mousebind button="Middle" action="press">
186       <action name="lower"/>
187     </mousebind>
188   </context>
189   <context name="blcorner">
190     <mousebind button="Left" action="drag">
191       <action name="resize"/>
192     </mousebind>
193     <mousebind button="Left" action="press">
194       <action name="focus"/>
195     </mousebind>
196   </context>
197   <context name="brcorner">
198     <mousebind button="Left" action="drag">
199       <action name="resize"/>
200     </mousebind>
201     <mousebind button="Left" action="press">
202       <action name="focus"/>
203     </mousebind>
204   </context>
205   <context name="client">
206     <mousebind button="Left" action="press">
207       <action name="focus"/>
208       <action name="raise"/>
209     </mousebind>
210     <mousebind button="Middle" action="press">
211       <action name="focus"/>
212     </mousebind>
213     <mousebind button="Right" action="press">
214       <action name="focus"/>
215     </mousebind>
216   </context>
217   <context name="icon">
218     <mousebind button="Left" action="press">
219       <action name="focus"/>
220     </mousebind>
221     <mousebind button="Right" action="press">
222       <action name="showmenu"><menu>client-menu</menu></action>
223     </mousebind>
224     <mousebind button="Left" action="click">
225       <action name="showmenu"><menu>client-menu</menu></action>
226     </mousebind>
227     <mousebind button="Left" action="doubleclick">
228       <action name="close"/>
229     </mousebind>
230   </context>
231   <context name="alldesktops">
232     <mousebind button="Left" action="press">
233       <action name="focus"/>
234     </mousebind>
235     <mousebind button="Left" action="click">
236       <action name="toggleomnipresent"/>
237     </mousebind>
238   </context>
239   <context name="shade">
240     <mousebind button="Left" action="press">
241       <action name="focus"/>
242     </mousebind>
243     <mousebind button="Left" action="click">
244       <action name="toggleshade"/>
245     </mousebind>
246   </context>
247   <context name="iconify">
248     <mousebind button="Left" action="press">
249       <action name="focus"/>
250     </mousebind>
251     <mousebind button="Left" action="click">
252       <action name="iconify"/>
253     </mousebind>
254   </context>
255   <context name="maximize">
256     <mousebind button="Left" action="press">
257       <action name="focus"/>
258     </mousebind>
259     <mousebind button="Middle" action="press">
260       <action name="focus"/>
261     </mousebind>
262     <mousebind button="Right" action="press">
263       <action name="focus"/>
264     </mousebind>
265     <mousebind button="Left" action="click">
266       <action name="togglemaximizefull"/>
267     </mousebind>
268     <mousebind button="Middle" action="click">
269       <action name="togglemaximizevert"/>
270     </mousebind>
271     <mousebind button="Right" action="click">
272       <action name="togglemaximizehorz"/>
273     </mousebind>
274   </context>
275   <context name="close">
276     <mousebind button="Left" action="press">
277       <action name="focus"/>
278     </mousebind>
279     <mousebind button="Left" action="click">
280       <action name="close"/>
281     </mousebind>
282   </context>
283   <context name="root">
284     <mousebind button="Up" action="click">
285       <action name="desktopright"/>
286     </mousebind>
287     <mousebind button="Down" action="click">
288       <action name="desktopleft"/>
289     </mousebind>
290     <mousebind button="A-Up" action="click">
291       <action name="desktopright"/>
292     </mousebind>
293     <mousebind button="A-Down" action="click">
294       <action name="desktopleft"/>
295     </mousebind>
296     <mousebind button="Right" action="press">
297       <action name="showmenu"><menu>root</menu></action>
298     </mousebind>
299   </context>
300 </mouse>
301
302 <menu id="root" label="Openbox 3">
303   <menu id="apps" label="Applications">
304     <item label="Xterm">
305       <action name="execute"><execute>xterm</execute></action>
306     </item>
307     <item label="Mozilla">
308       <action name="execute"><execute>mozilla</execute></action>
309     </item>
310     <item label="Gaim">
311       <action name="execute"><execute>gaim</execute></action>
312     </item>
313     <item label="Quark">
314       <action name="execute"><execute>strange-quark</execute></action>
315     </item>
316   </menu>
317   <menu id="games" label="Games">
318     <item label="Crack-Attack">
319       <action name="execute"><execute>crack-attack</execute></action>
320     </item>
321     <item label="XFRisk">
322       <action name="execute"><execute>xfrisk</execute></action>
323     </item>
324     <item label="Quake III">
325       <action name="execute"><execute>quake3</execute></action>
326     </item>
327   </menu>
328   <item label="--" /> <!-- separator -->
329   <item label="Restart">
330     <action name="restart" />
331   </item>
332   <item label="Exit">
333     <action name="exit" />
334   </item>
335 </menu>
336
337 </openbox_config>