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