]> icculus.org git repositories - mikachu/openbox.git/blob - data/rc3
make the new placement restrictions not affect !normal windows like panels
[mikachu/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 </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 <moveresize>
41   <opaqueMove>yes</opaqueMove>
42   <opaqueResize>yes</opaqueResize>
43 </moveresize>
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   <keybind key="A-F10">
57     <action name="MaximizeFull"></action>
58   </keybind>
59   <keybind key="A-F5">
60     <action name="UnmaximizeFull"></action>
61   </keybind>
62   <keybind key="A-F12">
63     <action name="ToggleShade"></action>
64   </keybind>
65   <keybind key="C-A-Left">
66     <action name="DesktopLeft"></action>
67   </keybind>
68   <keybind key="C-A-Right">
69     <action name="DesktopRight"></action>
70   </keybind>
71   <keybind key="C-A-Up">
72     <action name="DesktopUp"></action>
73   </keybind>
74   <keybind key="C-A-Down">
75     <action name="DesktopDown"></action>
76   </keybind>
77   <keybind key="S-A-Left">
78     <action name="SendToDesktopLeft"></action>
79   </keybind>
80   <keybind key="S-A-Right">
81     <action name="SendToDesktopRight"></action>
82   </keybind>
83   <keybind key="S-A-Up">
84     <action name="SendToDesktopUp"></action>
85   </keybind>
86   <keybind key="S-A-Down">
87     <action name="SendToDesktopDown"></action>
88   </keybind>
89   <keybind key="C-A-d">
90     <action name="ToggleShowDesktop"></action>
91   </keybind>
92   <keybind key="A-F4">
93     <action name="Close"></action>
94   </keybind>
95   <keybind key="A-Tab">
96     <action name="NextWindow"></action>
97   </keybind>
98   <keybind key="A-S-Tab">
99     <action name="PreviousWindow"></action>
100   </keybind>
101   <keybind key="A-F7">
102     <action name="KeyboardMove"></action>
103   </keybind>
104   <keybind key="A-F8">
105     <action name="KeyboardResize"></action>
106   </keybind>
107   <keybind key="A-F9">
108     <action name="Iconify"></action>
109   </keybind>
110 </keyboard>
111
112 <mouse>
113   <dragThreshold>3</dragThreshold>
114   <doubleClickTime>200</doubleClickTime>
115
116   <context name="frame">
117     <mousebind button="A-Left" action="drag">
118       <action name="move"/>
119     </mousebind>
120     <mousebind button="A-Left" action="click">
121       <action name="raise"/>
122     </mousebind>
123     <mousebind button="A-Left" action="press">
124       <action name="focus"/>
125     </mousebind>
126     <mousebind button="A-Middle" action="drag">
127       <action name="resize"/>
128     </mousebind> 
129     <mousebind button="A-Middle" action="click">
130       <action name="lower"/>
131     </mousebind>
132     <mousebind button="A-Right" action="press">
133       <action name="showmenu"><menu>client-menu</menu></action>
134     </mousebind>
135     <mousebind button="A-Up" action="click">
136       <action name="desktopright"/>
137     </mousebind>
138     <mousebind button="A-Down" action="click">
139       <action name="desktopleft"/>
140     </mousebind>
141     <mousebind button="C-A-Up" action="click">
142       <action name="sendtodesktopright"/>
143     </mousebind>
144     <mousebind button="C-A-Down" action="click">
145       <action name="sendtodesktopleft"/>
146     </mousebind>
147   </context>
148   <context name="titlebar">
149     <mousebind button="Left" action="drag">
150       <action name="move"/>
151     </mousebind>
152     <mousebind button="Left" action="click">
153       <action name="raise"/>
154     </mousebind>
155     <mousebind button="Left" action="press">
156       <action name="focus"/>
157     </mousebind>
158     <mousebind button="Left" action="doubleclick">
159       <action name="toggleshade"/>
160     </mousebind>
161     <mousebind button="Middle" action="press">
162       <action name="lower"/>
163     </mousebind>
164     <mousebind button="Up" action="click">
165       <action name="shade"/>
166     </mousebind>
167     <mousebind button="Down" action="click">
168       <action name="unshade"/>
169     </mousebind>
170     <mousebind button="Right" action="press">
171       <action name="showmenu"><menu>client-menu</menu></action>
172     </mousebind>
173   </context>
174   <context name="handle">
175     <mousebind button="Left" action="drag">
176       <action name="move"/>
177     </mousebind>
178     <mousebind button="Left" action="click">
179       <action name="raise"/>
180     </mousebind>
181     <mousebind button="Left" action="press">
182       <action name="focus"/>
183     </mousebind>
184     <mousebind button="Middle" action="press">
185       <action name="lower"/>
186     </mousebind>
187   </context>
188   <context name="blcorner">
189     <mousebind button="Left" action="drag">
190       <action name="resize"/>
191     </mousebind>
192     <mousebind button="Left" action="press">
193       <action name="focus"/>
194     </mousebind>
195   </context>
196   <context name="brcorner">
197     <mousebind button="Left" action="drag">
198       <action name="resize"/>
199     </mousebind>
200     <mousebind button="Left" action="press">
201       <action name="focus"/>
202     </mousebind>
203   </context>
204   <context name="client">
205     <mousebind button="Left" action="press">
206       <action name="focus"/>
207       <action name="raise"/>
208     </mousebind>
209     <mousebind button="Middle" action="press">
210       <action name="focus"/>
211     </mousebind>
212     <mousebind button="Right" action="press">
213       <action name="focus"/>
214     </mousebind>
215   </context>
216   <context name="icon">
217     <mousebind button="Left" action="press">
218       <action name="focus"/>
219     </mousebind>
220     <mousebind button="Right" action="press">
221       <action name="showmenu"><menu>client-menu</menu></action>
222     </mousebind>
223     <mousebind button="Left" action="click">
224       <action name="showmenu"><menu>client-menu</menu></action>
225     </mousebind>
226     <mousebind button="Left" action="doubleclick">
227       <action name="close"/>
228     </mousebind>
229   </context>
230   <context name="alldesktops">
231     <mousebind button="Left" action="press">
232       <action name="focus"/>
233     </mousebind>
234     <mousebind button="Left" action="click">
235       <action name="toggleomnipresent"/>
236     </mousebind>
237   </context>
238   <context name="shade">
239     <mousebind button="Left" action="press">
240       <action name="focus"/>
241     </mousebind>
242     <mousebind button="Left" action="click">
243       <action name="toggleshade"/>
244     </mousebind>
245   </context>
246   <context name="iconify">
247     <mousebind button="Left" action="press">
248       <action name="focus"/>
249     </mousebind>
250     <mousebind button="Left" action="click">
251       <action name="iconify"/>
252     </mousebind>
253   </context>
254   <context name="maximize">
255     <mousebind button="Left" action="press">
256       <action name="focus"/>
257     </mousebind>
258     <mousebind button="Middle" action="press">
259       <action name="focus"/>
260     </mousebind>
261     <mousebind button="Right" action="press">
262       <action name="focus"/>
263     </mousebind>
264     <mousebind button="Left" action="click">
265       <action name="togglemaximizefull"/>
266     </mousebind>
267     <mousebind button="Middle" action="click">
268       <action name="togglemaximizevert"/>
269     </mousebind>
270     <mousebind button="Right" action="click">
271       <action name="togglemaximizehorz"/>
272     </mousebind>
273   </context>
274   <context name="close">
275     <mousebind button="Left" action="press">
276       <action name="focus"/>
277     </mousebind>
278     <mousebind button="Left" action="click">
279       <action name="close"/>
280     </mousebind>
281   </context>
282   <context name="root">
283     <mousebind button="Up" action="click">
284       <action name="desktopright"/>
285     </mousebind>
286     <mousebind button="Down" action="click">
287       <action name="desktopleft"/>
288     </mousebind>
289     <mousebind button="A-Up" action="click">
290       <action name="desktopright"/>
291     </mousebind>
292     <mousebind button="A-Down" action="click">
293       <action name="desktopleft"/>
294     </mousebind>
295     <mousebind button="Right" action="press">
296       <action name="showmenu"><menu>root</menu></action>
297     </mousebind>
298   </context>
299 </mouse>
300
301 <menu id="root" label="Openbox 3">
302   <menu id="apps" label="Applications">
303     <item label="Xterm">
304       <action name="execute"><execute>xterm</execute></action>
305     </item>
306     <item label="Mozilla">
307       <action name="execute"><execute>mozilla</execute></action>
308     </item>
309     <item label="Gaim">
310       <action name="execute"><execute>gaim</execute></action>
311     </item>
312     <item label="Quark">
313       <action name="execute"><execute>strange-quark</execute></action>
314     </item>
315   </menu>
316   <menu id="games" label="Games">
317     <item label="Crack-Attack">
318       <action name="execute"><execute>crack-attack</execute></action>
319     </item>
320     <item label="XFRisk">
321       <action name="execute"><execute>xfrisk</execute></action>
322     </item>
323     <item label="Quake III">
324       <action name="execute"><execute>quake3</execute></action>
325     </item>
326   </menu>
327   <item label="--" /> <!-- separator -->
328   <item label="Restart">
329     <action name="restart" />
330   </item>
331   <item label="Exit">
332     <action name="exit" />
333   </item>
334 </menu>
335
336 </openbox_config>