move the client and client-list menus into the 'kernel'
[mikachu/openbox.git] / data / rc3
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>10</screen_edge_strength>
11 </resistance>
12
13 <placement>
14   <remember>yes</remember>
15 </placement>
16
17 <focus>
18   <focusNew>yes</focusNew>
19   <followMouse>no</followMouse>
20   <focusLast>yes</focusLast>
21   <focusLastOnDesktop>yes</focusLastOnDesktop>
22   <cyclingDialog>yes</cyclingDialog>
23 </focus>
24
25 <theme>
26   <theme>operation</theme>
27   <titlelayout>NLIMC</titlelayout>
28 </theme>
29
30 <desktops>
31   <number>4</number>
32   <names>
33     <name>one</name>
34     <name>two</name>
35     <name>three</name>
36     <name>four</name>
37   </names>
38   <cyclingDialog>yes</cyclingDialog>
39 </desktops>
40
41 <resize>
42   <drawContents>yes</drawContents>
43 </resize>
44
45 <dock>
46   <position>topleft</position>
47   <stacking>top</stacking>
48   <direction>vertical</direction>
49   <floatingX>0</floatingX>
50   <floatingY>0</floatingY>
51   <autoHide>no</autoHide>
52   <hideTimeout>300</hideTimeout>
53 </dock>
54
55 <keyboard>
56   <chainQuitKey>C-g</chainQuitKey>
57
58   <keybind key="A-F10">
59     <action name="MaximizeFull"></action>
60   </keybind>
61   <keybind key="A-F5">
62     <action name="UnmaximizeFull"></action>
63   </keybind>
64   <keybind key="A-F12">
65     <action name="ToggleShade"></action>
66   </keybind>
67   <keybind key="C-A-Left">
68     <action name="DesktopLeft"></action>
69   </keybind>
70   <keybind key="C-A-Right">
71     <action name="DesktopRight"></action>
72   </keybind>
73   <keybind key="C-A-Up">
74     <action name="DesktopUp"></action>
75   </keybind>
76   <keybind key="C-A-Down">
77     <action name="DesktopDown"></action>
78   </keybind>
79   <keybind key="S-A-Left">
80     <action name="SendToDesktopLeft"></action>
81   </keybind>
82   <keybind key="S-A-Right">
83     <action name="SendToDesktopRight"></action>
84   </keybind>
85   <keybind key="S-A-Up">
86     <action name="SendToDesktopUp"></action>
87   </keybind>
88   <keybind key="S-A-Down">
89     <action name="SendToDesktopDown"></action>
90   </keybind>
91   <keybind key="C-A-d">
92     <action name="ToggleShowDesktop"></action>
93   </keybind>
94   <keybind key="A-F4">
95     <action name="Close"></action>
96   </keybind>
97   <keybind key="A-Tab">
98     <action name="NextWindow"></action>
99   </keybind>
100   <keybind key="A-S-Tab">
101     <action name="PreviousWindow"></action>
102   </keybind>
103   <keybind key="A-F7">
104     <action name="KeyboardMove"></action>
105   </keybind>
106   <keybind key="A-F8">
107     <action name="KeyboardResize"></action>
108   </keybind>
109   <keybind key="A-F9">
110     <action name="Iconify"></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="desktopright"/>
139     </mousebind>
140     <mousebind button="A-Down" action="click">
141       <action name="desktopleft"/>
142     </mousebind>
143     <mousebind button="C-A-Up" action="click">
144       <action name="sendtodesktopright"/>
145     </mousebind>
146     <mousebind button="C-A-Down" action="click">
147       <action name="sendtodesktopleft"/>
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="A-Up" action="click">
302       <action name="desktopright"/>
303     </mousebind>
304     <mousebind button="A-Down" action="click">
305       <action name="desktopleft"/>
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">
312         <menu>root-menu</menu>
313       </action>
314     </mousebind>
315   </context>
316 </mouse>
317
318 <menu>
319   <!-- You can specify more than one menu file in here and they are all loaded,
320        just don't make menu ids clash or, well, it'll be kind of pointless -->
321
322   <!-- default menu file (or custom one in $HOME/.openbox/) -->
323   <file>menu</file>
324
325   <!-- debian menu file -->
326   <file>/etc/X11/openbox/openbox-menu</file>
327 </menu>
328
329 </openbox_config>