]> icculus.org git repositories - dana/openbox.git/blob - data/rc.xml
add the focusDelay option
[dana/openbox.git] / data / rc.xml
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>20</screen_edge_strength>
11 </resistance>
12
13 <focus>
14   <focusNew>yes</focusNew>
15   <followMouse>no</followMouse>
16   <focusLast>yes</focusLast>
17   <focusLastOnDesktop>yes</focusLastOnDesktop>
18   <focusDelay>150000</focusDelay>
19 </focus>
20
21 <theme>
22   <name>thebear</name>
23   <titlelayout>NLIMC</titlelayout>
24 </theme>
25
26 <desktops>
27   <number>4</number>
28   <names>
29     <name>one</name>
30     <name>two</name>
31     <name>three</name>
32     <name>four</name>
33   </names>
34 </desktops>
35
36 <resize>
37   <drawContents>yes</drawContents>
38 </resize>
39
40 <dock>
41   <position>topleft</position>
42   <stacking>top</stacking>
43   <direction>vertical</direction>
44   <floatingX>0</floatingX>
45   <floatingY>0</floatingY>
46   <autoHide>no</autoHide>
47   <hideTimeout>300</hideTimeout>
48 </dock>
49
50 <keyboard>
51   <chainQuitKey>C-g</chainQuitKey>
52
53   <keybind key="A-F10">
54     <action name="MaximizeFull"/>
55   </keybind>
56   <keybind key="A-F5">
57     <action name="UnmaximizeFull"/>
58   </keybind>
59   <keybind key="A-F12">
60     <action name="ToggleShade"/>
61   </keybind>
62   <keybind key="C-A-Left">
63     <action name="DesktopLeft"/>
64   </keybind>
65   <keybind key="C-A-Right">
66     <action name="DesktopRight"/>
67   </keybind>
68   <keybind key="C-A-Up">
69     <action name="DesktopUp"/>
70   </keybind>
71   <keybind key="C-A-Down">
72     <action name="DesktopDown"/>
73   </keybind>
74   <keybind key="S-A-Left">
75     <action name="SendToDesktopLeft"/>
76   </keybind>
77   <keybind key="S-A-Right">
78     <action name="SendToDesktopRight"/>
79   </keybind>
80   <keybind key="S-A-Up">
81     <action name="SendToDesktopUp"/>
82   </keybind>
83   <keybind key="S-A-Down">
84     <action name="SendToDesktopDown"/>
85   </keybind>
86   <keybind key="C-A-d">
87     <action name="ToggleShowDesktop"/>
88   </keybind>
89   <keybind key="A-F4">
90     <action name="Close"/>
91   </keybind>
92   <keybind key="A-Tab">
93     <action name="NextWindow"/>
94   </keybind>
95   <keybind key="A-S-Tab">
96     <action name="PreviousWindow"/>
97   </keybind>
98   <keybind key="A-F7">
99     <action name="KeyboardMove"/>
100   </keybind>
101   <keybind key="A-F8">
102     <action name="KeyboardResize"/>
103   </keybind>
104   <keybind key="A-F9">
105     <action name="Iconify"/>
106   </keybind>
107 </keyboard>
108
109 <mouse>
110   <dragThreshold>3</dragThreshold>
111   <doubleClickTime>200</doubleClickTime>
112
113   <context name="frame">
114     <mousebind button="A-Left" action="drag">
115       <action name="Move"/>
116     </mousebind>
117     <mousebind button="A-Left" action="click">
118       <action name="Raise"/>
119     </mousebind>
120     <mousebind button="A-Left" action="press">
121       <action name="Focus"/>
122     </mousebind>
123     <mousebind button="A-Middle" action="drag">
124       <action name="Resize"/>
125     </mousebind> 
126     <mousebind button="A-Middle" action="click">
127       <action name="Lower"/>
128     </mousebind>
129     <mousebind button="A-Right" action="press">
130       <action name="ShowMenu"><menu>client-menu</menu></action>
131     </mousebind>
132     <mousebind button="A-Up" action="click">
133       <action name="DesktopNext"/>
134     </mousebind>
135     <mousebind button="A-Down" action="click">
136       <action name="DesktopPrevious"/>
137     </mousebind>
138     <mousebind button="C-A-Up" action="click">
139       <action name="SendToDesktopNext"/>
140     </mousebind>
141     <mousebind button="C-A-Down" action="click">
142       <action name="SendToDesktopPrevious"/>
143     </mousebind>
144   </context>
145   <context name="titlebar">
146     <mousebind button="Left" action="drag">
147       <action name="Move"/>
148     </mousebind>
149     <mousebind button="Left" action="click">
150       <action name="Raise"/>
151     </mousebind>
152     <mousebind button="Left" action="press">
153       <action name="Focus"/>
154     </mousebind>
155     <mousebind button="Left" action="doubleclick">
156       <action name="ToggleShade"/>
157     </mousebind>
158     <mousebind button="Middle" action="press">
159       <action name="Lower"/>
160     </mousebind>
161     <mousebind button="Up" action="click">
162       <action name="Shade"/>
163     </mousebind>
164     <mousebind button="Down" action="click">
165       <action name="Unshade"/>
166     </mousebind>
167     <mousebind button="Right" action="press">
168       <action name="ShowMenu"><menu>client-menu</menu></action>
169     </mousebind>
170   </context>
171   <context name="handle">
172     <mousebind button="Left" action="drag">
173       <action name="Move"/>
174     </mousebind>
175     <mousebind button="Left" action="click">
176       <action name="Raise"/>
177     </mousebind>
178     <mousebind button="Left" action="press">
179       <action name="Focus"/>
180     </mousebind>
181     <mousebind button="Middle" action="press">
182       <action name="Lower"/>
183     </mousebind>
184   </context>
185   <context name="blcorner">
186     <mousebind button="Left" action="drag">
187       <action name="Resize"/>
188     </mousebind>
189     <mousebind button="Left" action="press">
190       <action name="Focus"/>
191     </mousebind>
192   </context>
193   <context name="brcorner">
194     <mousebind button="Left" action="drag">
195       <action name="Resize"/>
196     </mousebind>
197     <mousebind button="Left" action="press">
198       <action name="Focus"/>
199     </mousebind>
200   </context>
201   <context name="tlcorner">
202     <mousebind button="Left" action="drag">
203       <action name="Resize"/>
204     </mousebind>
205     <mousebind button="Left" action="press">
206       <action name="Focus"/>
207     </mousebind>
208   </context>
209   <context name="trcorner">
210     <mousebind button="Left" action="drag">
211       <action name="Resize"/>
212     </mousebind>
213     <mousebind button="Left" action="press">
214       <action name="Focus"/>
215     </mousebind>
216   </context>
217   <context name="client">
218     <mousebind button="Left" action="press">
219       <action name="Focus"/>
220       <action name="Raise"/>
221     </mousebind>
222     <mousebind button="Middle" action="press">
223       <action name="Focus"/>
224     </mousebind>
225     <mousebind button="Right" action="press">
226       <action name="Focus"/>
227     </mousebind>
228   </context>
229   <context name="icon">
230     <mousebind button="Left" action="press">
231       <action name="Focus"/>
232     </mousebind>
233     <mousebind button="Right" action="press">
234       <action name="ShowMenu"><menu>client-menu</menu></action>
235     </mousebind>
236     <mousebind button="Left" action="click">
237       <action name="ShowMenu"><menu>client-menu</menu></action>
238     </mousebind>
239     <mousebind button="Left" action="doubleclick">
240       <action name="Close"/>
241     </mousebind>
242   </context>
243   <context name="alldesktops">
244     <mousebind button="Left" action="press">
245       <action name="Focus"/>
246     </mousebind>
247     <mousebind button="Left" action="click">
248       <action name="ToggleOmnipresent"/>
249     </mousebind>
250   </context>
251   <context name="shade">
252     <mousebind button="Left" action="press">
253       <action name="Focus"/>
254     </mousebind>
255     <mousebind button="Left" action="click">
256       <action name="ToggleShade"/>
257     </mousebind>
258   </context>
259   <context name="iconify">
260     <mousebind button="Left" action="press">
261       <action name="Focus"/>
262     </mousebind>
263     <mousebind button="Left" action="click">
264       <action name="Iconify"/>
265     </mousebind>
266   </context>
267   <context name="maximize">
268     <mousebind button="Left" action="press">
269       <action name="Focus"/>
270     </mousebind>
271     <mousebind button="Middle" action="press">
272       <action name="Focus"/>
273     </mousebind>
274     <mousebind button="Right" action="press">
275       <action name="Focus"/>
276     </mousebind>
277     <mousebind button="Left" action="click">
278       <action name="ToggleMaximizeFull"/>
279     </mousebind>
280     <mousebind button="Middle" action="click">
281       <action name="ToggleMaximizeVert"/>
282     </mousebind>
283     <mousebind button="Right" action="click">
284       <action name="ToggleMaximizeHorz"/>
285     </mousebind>
286   </context>
287   <context name="close">
288     <mousebind button="Left" action="press">
289       <action name="Focus"/>
290     </mousebind>
291     <mousebind button="Left" action="click">
292       <action name="Close"/>
293     </mousebind>
294   </context>
295   <context name="desktop">
296     <mousebind button="Up" action="click">
297       <action name="DesktopNext"/>
298     </mousebind>
299     <mousebind button="Down" action="click">
300       <action name="DesktopPrevious"/>
301     </mousebind>
302     <mousebind button="A-Up" action="click">
303       <action name="DesktopNext"/>
304     </mousebind>
305     <mousebind button="A-Down" action="click">
306       <action name="DesktopPrevious"/>
307     </mousebind>
308     <mousebind button="Left" action="press">
309       <action name="focus"/>
310     </mousebind> 
311     <mousebind button="Middle" action="press">
312       <action name="ShowMenu"><menu>client-list-menu</menu></action>
313     </mousebind> 
314     <mousebind button="Right" action="press">
315       <action name="ShowMenu"><menu>root-menu</menu></action>
316     </mousebind>
317   </context>
318 </mouse>
319
320 <menu>
321   <!-- You can specify more than one menu file in here and they are all loaded,
322        just don't make menu ids clash or, well, it'll be kind of pointless -->
323
324   <!-- debian menu file -->
325   <file>/etc/X11/openbox/openbox-menu.xml</file>
326
327   <!-- default menu file (or custom one in $HOME/.openbox/) -->
328   <file>menu.xml</file>
329 </menu>
330
331 </openbox_config>