]> icculus.org git repositories - dana/openbox.git/blob - data/rc3
add flashing urgent windows
[dana/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 </focus>
23
24 <theme>
25   <theme>operation</theme>
26   <titlelayout>NLIMC</titlelayout>
27 </theme>
28
29 <desktops>
30   <number>4</number>
31   <names>
32     <name>one</name>
33     <name>two</name>
34     <name>three</name>
35     <name>four</name>
36   </names>
37 </desktops>
38
39 <resize>
40   <drawContents>yes</drawContents>
41 </resize>
42
43 <dock>
44   <position>topleft</position>
45   <stacking>top</stacking>
46   <direction>vertical</direction>
47   <floatingX>0</floatingX>
48   <floatingY>0</floatingY>
49   <autoHide>no</autoHide>
50   <hideTimeout>300</hideTimeout>
51 </dock>
52
53 <urgent>
54   <action name="flash" />
55 </urgent>
56
57 <keyboard>
58   <chainQuitKey>C-g</chainQuitKey>
59
60   <keybind key="A-F10">
61     <action name="MaximizeFull"></action>
62   </keybind>
63   <keybind key="A-F5">
64     <action name="UnmaximizeFull"></action>
65   </keybind>
66   <keybind key="A-F12">
67     <action name="ToggleShade"></action>
68   </keybind>
69   <keybind key="C-A-Left">
70     <action name="DesktopLeft"></action>
71   </keybind>
72   <keybind key="C-A-Right">
73     <action name="DesktopRight"></action>
74   </keybind>
75   <keybind key="C-A-Up">
76     <action name="DesktopUp"></action>
77   </keybind>
78   <keybind key="C-A-Down">
79     <action name="DesktopDown"></action>
80   </keybind>
81   <keybind key="S-A-Left">
82     <action name="SendToDesktopLeft"></action>
83   </keybind>
84   <keybind key="S-A-Right">
85     <action name="SendToDesktopRight"></action>
86   </keybind>
87   <keybind key="S-A-Up">
88     <action name="SendToDesktopUp"></action>
89   </keybind>
90   <keybind key="S-A-Down">
91     <action name="SendToDesktopDown"></action>
92   </keybind>
93   <keybind key="C-A-d">
94     <action name="ToggleShowDesktop"></action>
95   </keybind>
96   <keybind key="A-F4">
97     <action name="Close"></action>
98   </keybind>
99   <keybind key="A-Tab">
100     <action name="NextWindow"></action>
101   </keybind>
102   <keybind key="A-S-Tab">
103     <action name="PreviousWindow"></action>
104   </keybind>
105   <keybind key="A-F7">
106     <action name="KeyboardMove"></action>
107   </keybind>
108   <keybind key="A-F8">
109     <action name="KeyboardResize"></action>
110   </keybind>
111   <keybind key="A-F9">
112     <action name="Iconify"></action>
113   </keybind>
114 </keyboard>
115
116 <mouse>
117   <dragThreshold>3</dragThreshold>
118   <doubleClickTime>200</doubleClickTime>
119
120   <context name="frame">
121     <mousebind button="A-Left" action="drag">
122       <action name="move"/>
123     </mousebind>
124     <mousebind button="A-Left" action="click">
125       <action name="raise"/>
126     </mousebind>
127     <mousebind button="A-Left" action="press">
128       <action name="focus"/>
129     </mousebind>
130     <mousebind button="A-Middle" action="drag">
131       <action name="resize"/>
132     </mousebind> 
133     <mousebind button="A-Middle" action="click">
134       <action name="lower"/>
135     </mousebind>
136     <mousebind button="A-Right" action="press">
137       <action name="showmenu"><menu>client-menu</menu></action>
138     </mousebind>
139     <mousebind button="A-Up" action="click">
140       <action name="desktopnext"/>
141     </mousebind>
142     <mousebind button="A-Down" action="click">
143       <action name="desktopprevious"/>
144     </mousebind>
145     <mousebind button="C-A-Up" action="click">
146       <action name="sendtodesktopnext"/>
147     </mousebind>
148     <mousebind button="C-A-Down" action="click">
149       <action name="sendtodesktopprevious"/>
150     </mousebind>
151   </context>
152   <context name="titlebar">
153     <mousebind button="Left" action="drag">
154       <action name="move"/>
155     </mousebind>
156     <mousebind button="Left" action="click">
157       <action name="raise"/>
158     </mousebind>
159     <mousebind button="Left" action="press">
160       <action name="focus"/>
161     </mousebind>
162     <mousebind button="Left" action="doubleclick">
163       <action name="toggleshade"/>
164     </mousebind>
165     <mousebind button="Middle" action="press">
166       <action name="lower"/>
167     </mousebind>
168     <mousebind button="Up" action="click">
169       <action name="shade"/>
170     </mousebind>
171     <mousebind button="Down" action="click">
172       <action name="unshade"/>
173     </mousebind>
174     <mousebind button="Right" action="press">
175       <action name="showmenu"><menu>client-menu</menu></action>
176     </mousebind>
177   </context>
178   <context name="handle">
179     <mousebind button="Left" action="drag">
180       <action name="move"/>
181     </mousebind>
182     <mousebind button="Left" action="click">
183       <action name="raise"/>
184     </mousebind>
185     <mousebind button="Left" action="press">
186       <action name="focus"/>
187     </mousebind>
188     <mousebind button="Middle" action="press">
189       <action name="lower"/>
190     </mousebind>
191   </context>
192   <context name="blcorner">
193     <mousebind button="Left" action="drag">
194       <action name="resize"/>
195     </mousebind>
196     <mousebind button="Left" action="press">
197       <action name="focus"/>
198     </mousebind>
199   </context>
200   <context name="brcorner">
201     <mousebind button="Left" action="drag">
202       <action name="resize"/>
203     </mousebind>
204     <mousebind button="Left" action="press">
205       <action name="focus"/>
206     </mousebind>
207   </context>
208   <context name="tlcorner">
209     <mousebind button="Left" action="drag">
210       <action name="resize"/>
211     </mousebind>
212     <mousebind button="Left" action="press">
213       <action name="focus"/>
214     </mousebind>
215   </context>
216   <context name="trcorner">
217     <mousebind button="Left" action="drag">
218       <action name="resize"/>
219     </mousebind>
220     <mousebind button="Left" action="press">
221       <action name="focus"/>
222     </mousebind>
223   </context>
224   <context name="client">
225     <mousebind button="Left" action="press">
226       <action name="focus"/>
227       <action name="raise"/>
228     </mousebind>
229     <mousebind button="Middle" action="press">
230       <action name="focus"/>
231     </mousebind>
232     <mousebind button="Right" action="press">
233       <action name="focus"/>
234     </mousebind>
235   </context>
236   <context name="icon">
237     <mousebind button="Left" action="press">
238       <action name="focus"/>
239     </mousebind>
240     <mousebind button="Right" action="press">
241       <action name="showmenu"><menu>client-menu</menu></action>
242     </mousebind>
243     <mousebind button="Left" action="click">
244       <action name="showmenu"><menu>client-menu</menu></action>
245     </mousebind>
246     <mousebind button="Left" action="doubleclick">
247       <action name="close"/>
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="click">
304       <action name="desktopnext"></action>
305     </mousebind>
306     <mousebind button="Down" action="click">
307       <action name="desktopprevious"></action>
308     </mousebind>
309     <mousebind button="A-Up" action="click">
310       <action name="desktopnext"/>
311     </mousebind>
312     <mousebind button="A-Down" action="click">
313       <action name="desktopprevious"/>
314     </mousebind>
315     <mousebind button="Middle" action="press">
316       <action name="showmenu"><menu>client-list-menu</menu></action>
317     </mousebind> 
318     <mousebind button="Right" action="press">
319       <action name="showmenu">
320         <menu>root-menu</menu>
321       </action>
322     </mousebind>
323   </context>
324 </mouse>
325
326 <menu>
327   <!-- You can specify more than one menu file in here and they are all loaded,
328        just don't make menu ids clash or, well, it'll be kind of pointless -->
329
330   <!-- debian menu file -->
331   <file>/etc/X11/openbox/openbox-menu</file>
332
333   <!-- default menu file (or custom one in $HOME/.openbox/) -->
334   <file>menu</file>
335 </menu>
336
337 </openbox_config>