remove the scrolling on root without alt since that fucks up with the dialog since...
[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 </desktops>
39
40 <resize>
41   <drawContents>yes</drawContents>
42 </resize>
43
44 <dock>
45   <position>topleft</position>
46   <stacking>top</stacking>
47   <direction>vertical</direction>
48   <floatingX>0</floatingX>
49   <floatingY>0</floatingY>
50   <autoHide>no</autoHide>
51   <hideTimeout>300</hideTimeout>
52 </dock>
53
54 <keyboard>
55   <keybind key="A-F10">
56     <action name="MaximizeFull"></action>
57   </keybind>
58   <keybind key="A-F5">
59     <action name="UnmaximizeFull"></action>
60   </keybind>
61   <keybind key="A-F12">
62     <action name="ToggleShade"></action>
63   </keybind>
64   <keybind key="C-A-Left">
65     <action name="DesktopLeft"></action>
66   </keybind>
67   <keybind key="C-A-Right">
68     <action name="DesktopRight"></action>
69   </keybind>
70   <keybind key="C-A-Up">
71     <action name="DesktopUp"></action>
72   </keybind>
73   <keybind key="C-A-Down">
74     <action name="DesktopDown"></action>
75   </keybind>
76   <keybind key="S-A-Left">
77     <action name="SendToDesktopLeft"></action>
78   </keybind>
79   <keybind key="S-A-Right">
80     <action name="SendToDesktopRight"></action>
81   </keybind>
82   <keybind key="S-A-Up">
83     <action name="SendToDesktopUp"></action>
84   </keybind>
85   <keybind key="S-A-Down">
86     <action name="SendToDesktopDown"></action>
87   </keybind>
88   <keybind key="C-A-d">
89     <action name="ToggleShowDesktop"></action>
90   </keybind>
91   <keybind key="A-F4">
92     <action name="Close"></action>
93   </keybind>
94   <keybind key="A-Tab">
95     <action name="NextWindow"></action>
96   </keybind>
97   <keybind key="A-S-Tab">
98     <action name="PreviousWindow"></action>
99   </keybind>
100   <keybind key="A-F7">
101     <action name="KeyboardMove"></action>
102   </keybind>
103   <keybind key="A-F8">
104     <action name="KeyboardResize"></action>
105   </keybind>
106   <keybind key="A-F9">
107     <action name="Iconify"></action>
108   </keybind>
109 </keyboard>
110
111 <mouse>
112   <dragThreshold>3</dragThreshold>
113   <doubleClickTime>200</doubleClickTime>
114
115   <context name="frame">
116     <mousebind button="A-Left" action="drag">
117       <action name="move"/>
118     </mousebind>
119     <mousebind button="A-Left" action="click">
120       <action name="raise"/>
121     </mousebind>
122     <mousebind button="A-Left" action="press">
123       <action name="focus"/>
124     </mousebind>
125     <mousebind button="A-Middle" action="drag">
126       <action name="resize"/>
127     </mousebind> 
128     <mousebind button="A-Middle" action="click">
129       <action name="lower"/>
130     </mousebind>
131     <mousebind button="A-Right" action="press">
132       <action name="showmenu"><menu>client-menu</menu></action>
133     </mousebind>
134     <mousebind button="A-Up" action="click">
135       <action name="desktopright"/>
136     </mousebind>
137     <mousebind button="A-Down" action="click">
138       <action name="desktopleft"/>
139     </mousebind>
140     <mousebind button="C-A-Up" action="click">
141       <action name="sendtodesktopright"/>
142     </mousebind>
143     <mousebind button="C-A-Down" action="click">
144       <action name="sendtodesktopleft"/>
145     </mousebind>
146   </context>
147   <context name="titlebar">
148     <mousebind button="Left" action="drag">
149       <action name="move"/>
150     </mousebind>
151     <mousebind button="Left" action="click">
152       <action name="raise"/>
153     </mousebind>
154     <mousebind button="Left" action="press">
155       <action name="focus"/>
156     </mousebind>
157     <mousebind button="Left" action="doubleclick">
158       <action name="toggleshade"/>
159     </mousebind>
160     <mousebind button="Middle" action="press">
161       <action name="lower"/>
162     </mousebind>
163     <mousebind button="Up" action="click">
164       <action name="shade"/>
165     </mousebind>
166     <mousebind button="Down" action="click">
167       <action name="unshade"/>
168     </mousebind>
169     <mousebind button="Right" action="press">
170       <action name="showmenu"><menu>client-menu</menu></action>
171     </mousebind>
172   </context>
173   <context name="handle">
174     <mousebind button="Left" action="drag">
175       <action name="move"/>
176     </mousebind>
177     <mousebind button="Left" action="click">
178       <action name="raise"/>
179     </mousebind>
180     <mousebind button="Left" action="press">
181       <action name="focus"/>
182     </mousebind>
183     <mousebind button="Middle" action="press">
184       <action name="lower"/>
185     </mousebind>
186   </context>
187   <context name="blcorner">
188     <mousebind button="Left" action="drag">
189       <action name="resize"/>
190     </mousebind>
191     <mousebind button="Left" action="press">
192       <action name="focus"/>
193     </mousebind>
194   </context>
195   <context name="brcorner">
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="tlcorner">
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="trcorner">
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="client">
220     <mousebind button="Left" action="press">
221       <action name="focus"/>
222       <action name="raise"/>
223     </mousebind>
224     <mousebind button="Middle" action="press">
225       <action name="focus"/>
226     </mousebind>
227     <mousebind button="Right" action="press">
228       <action name="focus"/>
229     </mousebind>
230   </context>
231   <context name="icon">
232     <mousebind button="Left" action="press">
233       <action name="focus"/>
234     </mousebind>
235     <mousebind button="Right" action="press">
236       <action name="showmenu"><menu>client-menu</menu></action>
237     </mousebind>
238     <mousebind button="Left" action="click">
239       <action name="showmenu"><menu>client-menu</menu></action>
240     </mousebind>
241     <mousebind button="Left" action="doubleclick">
242       <action name="close"/>
243     </mousebind>
244   </context>
245   <context name="alldesktops">
246     <mousebind button="Left" action="press">
247       <action name="focus"/>
248     </mousebind>
249     <mousebind button="Left" action="click">
250       <action name="toggleomnipresent"/>
251     </mousebind>
252   </context>
253   <context name="shade">
254     <mousebind button="Left" action="press">
255       <action name="focus"/>
256     </mousebind>
257     <mousebind button="Left" action="click">
258       <action name="toggleshade"/>
259     </mousebind>
260   </context>
261   <context name="iconify">
262     <mousebind button="Left" action="press">
263       <action name="focus"/>
264     </mousebind>
265     <mousebind button="Left" action="click">
266       <action name="iconify"/>
267     </mousebind>
268   </context>
269   <context name="maximize">
270     <mousebind button="Left" action="press">
271       <action name="focus"/>
272     </mousebind>
273     <mousebind button="Middle" action="press">
274       <action name="focus"/>
275     </mousebind>
276     <mousebind button="Right" action="press">
277       <action name="focus"/>
278     </mousebind>
279     <mousebind button="Left" action="click">
280       <action name="togglemaximizefull"/>
281     </mousebind>
282     <mousebind button="Middle" action="click">
283       <action name="togglemaximizevert"/>
284     </mousebind>
285     <mousebind button="Right" action="click">
286       <action name="togglemaximizehorz"/>
287     </mousebind>
288   </context>
289   <context name="close">
290     <mousebind button="Left" action="press">
291       <action name="focus"/>
292     </mousebind>
293     <mousebind button="Left" action="click">
294       <action name="close"/>
295     </mousebind>
296   </context>
297   <context name="root">
298     <mousebind button="A-Up" action="click">
299       <action name="desktopright"/>
300     </mousebind>
301     <mousebind button="A-Down" action="click">
302       <action name="desktopleft"/>
303     </mousebind>
304     <mousebind button="Right" action="press">
305       <action name="showmenu"><menu>root</menu></action>
306     </mousebind>
307   </context>
308 </mouse>
309
310 <menu id="root" label="Openbox 3">
311   <menu id="apps" label="Applications">
312     <item label="Xterm">
313       <action name="execute"><execute>xterm</execute></action>
314     </item>
315     <item label="Mozilla">
316       <action name="execute"><execute>mozilla</execute></action>
317     </item>
318     <item label="Gaim">
319       <action name="execute"><execute>gaim</execute></action>
320     </item>
321     <item label="Quark">
322       <action name="execute"><execute>strange-quark</execute></action>
323     </item>
324   </menu>
325   <menu id="games" label="Games">
326     <item label="Crack-Attack">
327       <action name="execute"><execute>crack-attack</execute></action>
328     </item>
329     <item label="XFRisk">
330       <action name="execute"><execute>xfrisk</execute></action>
331     </item>
332     <item label="Quake III">
333       <action name="execute"><execute>quake3</execute></action>
334     </item>
335   </menu>
336   <item label="--" /> <!-- separator -->
337   <item label="Restart">
338     <action name="restart" />
339   </item>
340   <item label="Exit">
341     <action name="exit" />
342   </item>
343 </menu>
344
345 </openbox_config>