]> icculus.org git repositories - dana/openbox.git/blob - data/rc.xml.in
add option titleNumber in theme section to disable the little [x] that you get after...
[dana/openbox.git] / data / rc.xml.in
1 <?xml version="1.0" encoding="UTF-8"?>
2
3 <!-- Do not edit this file, it will be overwritten on install.
4         Copy the file to $HOME/.config/openbox/ instead. -->
5
6 <openbox_config xmlns="http://openbox.org/"
7         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
8         xsi:schemaLocation="http://openbox.org/
9                 file://@xsddir@/rc.xsd">
10
11 <resistance>
12   <strength>10</strength>
13   <screen_edge_strength>20</screen_edge_strength>
14   <edges_hit_layers_below>no</edges_hit_layers_below>
15 </resistance>
16
17 <focus>
18   <focusNew>yes</focusNew>
19   <focusLast>no</focusLast>
20   <followMouse>no</followMouse>
21   <focusDelay>0</focusDelay>
22   <raiseOnFocus>no</raiseOnFocus>
23 </focus>
24
25 <placement>
26   <policy>Smart</policy>
27   <!-- 'Smart' or 'UnderMouse' -->
28 </placement>
29
30 <theme>
31   <name>TheBear</name>
32   <titleLayout>NLIMC</titlelayout>
33   <titleNumber>yes</titlenumber>
34   <!--
35       avaible characters are NDSLIMC, each can occur at most once.
36       N: client menu
37       L: window label (AKA title).
38       I: iconify
39       M: maximize
40       C: close
41       S: shade
42       D: omnipresent (on all desktops).
43   -->
44   <keepBorder>yes</keepBorder>
45   <hideDisabled>no</hideDisabled>
46 </theme>
47
48 <desktops>
49   <number>4</number>
50   <firstdesk>1</firstdesk>
51   <names>
52     <name>one</name>
53     <name>two</name>
54     <name>three</name>
55     <name>four</name>
56   </names>
57 </desktops>
58
59 <resize>
60   <drawContents>yes</drawContents>
61   <fourCorners>no</fourCorners>
62   <popupShow>Nonpixel</popupShow>
63   <!-- 'Always', 'Never', or 'Nonpixel' (xterms and such) -->
64   <popupPosition>Center</popupPosition>
65   <!-- 'Center' or 'Top' -->
66 </resize>
67
68 <dock>
69   <position>TopLeft</position>
70   <!-- (Top|Bottom)(Left|Right|)|Left|Right|Floating -->
71   <floatingX>0</floatingX>
72   <floatingY>0</floatingY>
73   <noStrut>no</noStrut>
74   <stacking>Top</stacking>
75   <direction>Vertical</direction>
76   <!-- 'Vertical' or 'Horizontal' -->
77   <autoHide>no</autoHide>
78   <hideDelay>300</hideDelay>
79   <showDelay>300</showDelay>
80   <moveButton>Middle</moveButton>
81 </dock>
82
83 <keyboard>
84   <chainQuitKey>C-g</chainQuitKey>
85
86   <keybind key="A-F10">
87     <action name="MaximizeFull"/>
88   </keybind>
89   <keybind key="A-F5">
90     <action name="UnmaximizeFull"/>
91   </keybind>
92   <keybind key="A-F12">
93     <action name="ToggleShade"/>
94   </keybind>
95   <keybind key="C-A-Left">
96     <action name="DesktopLeft"><wrap>no</wrap></action>
97   </keybind>
98   <keybind key="C-A-Right">
99     <action name="DesktopRight"><wrap>no</wrap></action>
100   </keybind>
101   <keybind key="C-A-Up">
102     <action name="DesktopUp"><wrap>no</wrap></action>
103   </keybind>
104   <keybind key="C-A-Down">
105     <action name="DesktopDown"><wrap>no</wrap></action>
106   </keybind>
107   <keybind key="S-A-Left">
108     <action name="SendToDesktopLeft"><wrap>no</wrap></action>
109   </keybind>
110   <keybind key="S-A-Right">
111     <action name="SendToDesktopRight"><wrap>no</wrap></action>
112   </keybind>
113   <keybind key="S-A-Up">
114     <action name="SendToDesktopUp"><wrap>no</wrap></action>
115   </keybind>
116   <keybind key="S-A-Down">
117     <action name="SendToDesktopDown"><wrap>no</wrap></action>
118   </keybind>
119   <keybind key="C-A-d">
120     <action name="ToggleShowDesktop"/>
121   </keybind>
122   <keybind key="A-F4">
123     <action name="Close"/>
124   </keybind>
125   <keybind key="A-Tab">
126     <action name="NextWindow"/>
127   </keybind>
128   <keybind key="A-S-Tab">
129     <action name="PreviousWindow"/>
130   </keybind>
131   <keybind key="A-F7">
132     <action name="Move"/>
133   </keybind>
134   <keybind key="A-F8">
135     <action name="Resize"/>
136   </keybind>
137   <keybind key="A-F9">
138     <action name="Iconify"/>
139   </keybind>
140   <keybind key="A-space">
141     <action name="ShowMenu"><menu>client-menu</menu></action>
142   </keybind>
143 </keyboard>
144
145 <mouse>
146   <dragThreshold>3</dragThreshold>
147   <doubleClickTime>200</doubleClickTime>
148
149   <context name="Frame">
150     <mousebind button="A-Left" action="Drag">
151       <action name="Move"/>
152     </mousebind>
153     <mousebind button="A-Left" action="Click">
154       <action name="Raise"/>
155     </mousebind>
156     <mousebind button="A-Left" action="Press">
157       <action name="Focus"/>
158     </mousebind>
159     <mousebind button="A-Middle" action="Drag">
160       <action name="Resize"/>
161     </mousebind> 
162     <mousebind button="A-Middle" action="Click">
163       <action name="Lower"/>
164     </mousebind>
165     <mousebind button="A-Right" action="Press">
166       <action name="ShowMenu"><menu>client-menu</menu></action>
167     </mousebind>
168     <mousebind button="A-Up" action="Click">
169       <action name="DesktopPrevious"/>
170     </mousebind>
171     <mousebind button="A-Down" action="Click">
172       <action name="DesktopNext"/>
173     </mousebind>
174     <mousebind button="C-A-Up" action="Click">
175       <action name="SendToDesktopPrevious"/>
176     </mousebind>
177     <mousebind button="C-A-Down" action="Click">
178       <action name="SendToDesktopNext"/>
179     </mousebind>
180   </context>
181   <context name="Titlebar">
182     <mousebind button="Left" action="Drag">
183       <action name="Move"/>
184     </mousebind>
185     <mousebind button="Left" action="Click">
186       <action name="Raise"/>
187     </mousebind>
188     <mousebind button="Left" action="Press">
189       <action name="Focus"/>
190     </mousebind>
191     <mousebind button="Left" action="DoubleClick">
192       <action name="ToggleShade"/>
193     </mousebind>
194     <mousebind button="Middle" action="Press">
195       <action name="Lower"/>
196     </mousebind>
197     <mousebind button="Up" action="Click">
198       <action name="Shade"/>
199     </mousebind>
200     <mousebind button="Down" action="Click">
201       <action name="Unshade"/>
202     </mousebind>
203     <mousebind button="Right" action="Press">
204       <action name="ShowMenu"><menu>client-menu</menu></action>
205     </mousebind>
206   </context>
207   <context name="Handle">
208     <mousebind button="Left" action="Drag">
209       <action name="Move"/>
210     </mousebind>
211     <mousebind button="Left" action="Click">
212       <action name="Raise"/>
213     </mousebind>
214     <mousebind button="Left" action="Press">
215       <action name="Focus"/>
216     </mousebind>
217     <mousebind button="Middle" action="Press">
218       <action name="Lower"/>
219     </mousebind>
220   </context>
221   <context name="BLCorner">
222     <mousebind button="Left" action="Drag">
223       <action name="Resize"/>
224     </mousebind>
225     <mousebind button="Left" action="Press">
226       <action name="Focus"/>
227     </mousebind>
228   </context>
229   <context name="BRCorner">
230     <mousebind button="Left" action="Drag">
231       <action name="Resize"/>
232     </mousebind>
233     <mousebind button="Left" action="Press">
234       <action name="Focus"/>
235     </mousebind>
236   </context>
237   <context name="TLCorner">
238     <mousebind button="Left" action="Drag">
239       <action name="Resize"/>
240     </mousebind>
241     <mousebind button="Left" action="Press">
242       <action name="Focus"/>
243     </mousebind>
244   </context>
245   <context name="TRCorner">
246     <mousebind button="Left" action="Drag">
247       <action name="Resize"/>
248     </mousebind>
249     <mousebind button="Left" action="Press">
250       <action name="Focus"/>
251     </mousebind>
252   </context>
253   <context name="Client">
254     <mousebind button="Left" action="Press">
255       <action name="Focus"/>
256       <action name="Raise"/>
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   </context>
265   <context name="Icon">
266     <mousebind button="Left" action="Press">
267       <action name="Focus"/>
268     </mousebind>
269     <mousebind button="Right" action="Press">
270       <action name="ShowMenu"><menu>client-menu</menu></action>
271     </mousebind>
272     <mousebind button="Left" action="Press">
273       <action name="ShowMenu"><menu>client-menu</menu></action>
274     </mousebind>
275   </context>
276   <context name="AllDesktops">
277     <mousebind button="Left" action="Press">
278       <action name="Focus"/>
279     </mousebind>
280     <mousebind button="Left" action="Click">
281       <action name="ToggleOmnipresent"/>
282     </mousebind>
283   </context>
284   <context name="Shade">
285     <mousebind button="Left" action="Press">
286       <action name="Focus"/>
287     </mousebind>
288     <mousebind button="Left" action="Click">
289       <action name="ToggleShade"/>
290     </mousebind>
291   </context>
292   <context name="Iconify">
293     <mousebind button="Left" action="Press">
294       <action name="Focus"/>
295     </mousebind>
296     <mousebind button="Left" action="Click">
297       <action name="Iconify"/>
298     </mousebind>
299   </context>
300   <context name="Maximize">
301     <mousebind button="Left" action="Press">
302       <action name="Focus"/>
303     </mousebind>
304     <mousebind button="Middle" action="Press">
305       <action name="Focus"/>
306     </mousebind>
307     <mousebind button="Right" action="Press">
308       <action name="Focus"/>
309     </mousebind>
310     <mousebind button="Left" action="Click">
311       <action name="ToggleMaximizeFull"/>
312     </mousebind>
313     <mousebind button="Middle" action="Click">
314       <action name="ToggleMaximizeVert"/>
315     </mousebind>
316     <mousebind button="Right" action="Click">
317       <action name="ToggleMaximizeHorz"/>
318     </mousebind>
319   </context>
320   <context name="Close">
321     <mousebind button="Left" action="Press">
322       <action name="Focus"/>
323     </mousebind>
324     <mousebind button="Left" action="Click">
325       <action name="Close"/>
326     </mousebind>
327   </context>
328   <context name="Desktop">
329     <mousebind button="Up" action="Press">
330       <action name="DesktopPrevious"/>
331     </mousebind>
332     <mousebind button="Down" action="Press">
333       <action name="DesktopNext"/>
334     </mousebind>
335     <mousebind button="A-Up" action="Press">
336       <action name="DesktopPrevious"/>
337     </mousebind>
338     <mousebind button="A-Down" action="Press">
339       <action name="DesktopNext"/>
340     </mousebind>
341     <mousebind button="Left" action="Press">
342       <action name="Focus"/>
343       <action name="Raise"/>
344     </mousebind> 
345     <mousebind button="Middle" action="Press">
346       <action name="ShowMenu"><menu>client-list-menu</menu></action>
347     </mousebind> 
348     <mousebind button="Right" action="Press">
349       <action name="ShowMenu"><menu>root-menu</menu></action>
350     </mousebind>
351   </context>
352   <context name="MoveResize">
353     <mousebind button="Up" action="Press">
354       <action name="DesktopPrevious"/>
355     </mousebind>
356     <mousebind button="Down" action="Press">
357       <action name="DesktopNext"/>
358     </mousebind>
359     <mousebind button="A-Up" action="Press">
360       <action name="DesktopPrevious"/>
361     </mousebind>
362     <mousebind button="A-Down" action="Press">
363       <action name="DesktopNext"/>
364     </mousebind>
365   </context>
366 </mouse>
367
368 <menu>
369   <!-- You can specify more than one menu file in here and they are all loaded,
370        just don't make menu ids clash or, well, it'll be kind of pointless -->
371
372   <!-- default menu file (or custom one in $HOME/.config/openbox/) -->
373   <file>menu.xml</file>
374   <warpPointer>yes</warpPointer>
375   <xorStyle>yes</xorStyle>
376   <hideDelay>250</hideDelay>
377   <middle>yes</middle>
378   <submenuShowDelay>0</submenuShowDelay>
379   <desktopMenuIcons>yes</desktopMenuIcons>
380   <!-- -->
381 </menu>
382
383 <applications>
384 <!--
385   <application name="this application does not exist">
386     <decor>yes</decor>
387     <shade>no</shade>
388     <position>
389       <x>center</x>
390       <y>200</y>
391     </position>
392     <focus>yes</focus>
393     <desktop>1</desktop>
394     <head>0</head>
395     # specifies xinerama head
396     <layer>normal</layer>
397     # 'above', 'normal', or 'below'
398     <iconic>no</iconic>
399     <skip_pager>no</skip_pager>
400     <skip_taskbar>no</skip_taskbar>
401     <fullscreen>yes</fullscreen>
402     <maximized>true</maximized>
403     # 'Horizontal', 'Vertical' or boolean (yes/no/on/off/true/false)
404   </application>
405  -->
406 </applications>
407
408 </openbox_config>