]> icculus.org git repositories - dana/openbox.git/blob - data/rc.xml
ignore generated autostart script
[dana/openbox.git] / data / rc.xml
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/3.4/rc">
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   <!-- always try to focus new windows when they appear. other rules do
16        apply -->
17   <followMouse>no</followMouse>
18   <!-- move focus to a window when you move the mouse into it -->
19   <focusLast>yes</focusLast>
20   <!-- focus the last used window when changing desktops, instead of the one
21        under the mouse pointer. when followMouse is enabled -->
22   <underMouse>no</underMouse>
23   <!-- move focus under the mouse, even when the mouse is not moving -->
24   <focusDelay>200</focusDelay>
25   <!-- when followMouse is enabled, the mouse must be inside the window for
26        this many milliseconds (1000 = 1 sec) before moving focus to it -->
27   <raiseOnFocus>no</raiseOnFocus>
28   <!-- when followMouse is enabled, and a window is given focus by moving the
29        mouse into it, also raise the window -->
30 </focus>
31
32 <placement>
33   <policy>Smart</policy>
34   <!-- 'Smart' or 'UnderMouse' -->
35   <center>yes</center>
36   <!-- whether to place windows in the center of the free area found or
37        the top left corner -->
38   <monitor>Active</monitor>
39   <!-- with Smart placement on a multi-monitor system, try to place new windows
40        on: 'Any' - any monitor, 'Mouse' - where the mouse is, 'Active' - where
41        the active window is -->
42   <primaryMonitor>1</primaryMonitor>
43   <!-- The monitor where Openbox should place popup dialogs such as the
44        focus cycling popup, or the desktop switch popup.  It can be an index
45        from 1, specifying a particular monitor.  Or it can be one of the
46        following: 'Mouse' - where the mouse is, or
47                   'Active' - where the active window is -->
48 </placement>
49
50 <theme>
51   <name>Clearlooks</name>
52   <titleLayout>NLIMC</titleLayout>
53   <!--
54       available characters are NDSLIMC, each can occur at most once.
55       N: window icon
56       L: window label (AKA title).
57       I: iconify
58       M: maximize
59       C: close
60       S: shade (roll up/down)
61       D: omnipresent (on all desktops).
62   -->
63   <keepBorder>yes</keepBorder>
64   <animateIconify>yes</animateIconify>
65   <font place="ActiveWindow">
66     <name>sans</name>
67     <size>8</size>
68     <!-- font size in points -->
69     <weight>bold</weight>
70     <!-- 'bold' or 'normal' -->
71     <slant>normal</slant>
72     <!-- 'italic' or 'normal' -->
73   </font>
74   <font place="InactiveWindow">
75     <name>sans</name>
76     <size>8</size>
77     <!-- font size in points -->
78     <weight>bold</weight>
79     <!-- 'bold' or 'normal' -->
80     <slant>normal</slant>
81     <!-- 'italic' or 'normal' -->
82   </font>
83   <font place="MenuHeader">
84     <name>sans</name>
85     <size>9</size>
86     <!-- font size in points -->
87     <weight>normal</weight>
88     <!-- 'bold' or 'normal' -->
89     <slant>normal</slant>
90     <!-- 'italic' or 'normal' -->
91   </font>
92   <font place="MenuItem">
93     <name>sans</name>
94     <size>9</size>
95     <!-- font size in points -->
96     <weight>normal</weight>
97     <!-- 'bold' or 'normal' -->
98     <slant>normal</slant>
99     <!-- 'italic' or 'normal' -->
100   </font>
101   <font place="ActiveOnScreenDisplay">
102     <name>sans</name>
103     <size>9</size>
104     <!-- font size in points -->
105     <weight>bold</weight>
106     <!-- 'bold' or 'normal' -->
107     <slant>normal</slant>
108     <!-- 'italic' or 'normal' -->
109   </font>
110   <font place="InactiveOnScreenDisplay">
111     <name>sans</name>
112     <size>9</size>
113     <!-- font size in points -->
114     <weight>bold</weight>
115     <!-- 'bold' or 'normal' -->
116     <slant>normal</slant>
117     <!-- 'italic' or 'normal' -->
118   </font>
119 </theme>
120
121 <desktops>
122   <!-- this stuff is only used at startup, pagers allow you to change them
123        during a session
124
125        these are default values to use when other ones are not already set
126        by other applications, or saved in your session
127
128        use obconf if you want to change these without having to log out
129        and back in -->
130   <number>4</number>
131   <firstdesk>1</firstdesk>
132   <names>
133     <!-- set names up here if you want to, like this:
134     <name>desktop 1</name>
135     <name>desktop 2</name>
136     -->
137   </names>
138   <popupTime>875</popupTime>
139   <!-- The number of milliseconds to show the popup for when switching
140        desktops.  Set this to 0 to disable the popup. -->
141 </desktops>
142
143 <resize>
144   <drawContents>yes</drawContents>
145   <popupShow>Nonpixel</popupShow>
146   <!-- 'Always', 'Never', or 'Nonpixel' (xterms and such) -->
147   <popupPosition>Center</popupPosition>
148   <!-- 'Center', 'Top', or 'Fixed' -->
149   <popupFixedPosition>
150     <!-- these are used if popupPosition is set to 'Fixed' -->
151
152     <x>10</x>
153     <!-- positive number for distance from left edge, negative number for
154          distance from right edge, or 'Center' -->
155     <y>10</y>
156     <!-- positive number for distance from top edge, negative number for
157          distance from bottom edge, or 'Center' -->
158   </popupFixedPosition>
159 </resize>
160
161 <!-- You can reserve a portion of your screen where windows will not cover when
162      they are maximized, or when they are initially placed.
163      Many programs reserve space automatically, but you can use this in other
164      cases. -->
165 <margins>
166   <top>0</top>
167   <bottom>0</bottom>
168   <left>0</left>
169   <right>0</right>
170 </margins>
171
172 <dock>
173   <position>TopLeft</position>
174   <!-- (Top|Bottom)(Left|Right|)|Top|Bottom|Left|Right|Floating -->
175   <floatingX>0</floatingX>
176   <floatingY>0</floatingY>
177   <noStrut>no</noStrut>
178   <stacking>Above</stacking>
179   <!-- 'Above', 'Normal', or 'Below' -->
180   <direction>Vertical</direction>
181   <!-- 'Vertical' or 'Horizontal' -->
182   <autoHide>no</autoHide>
183   <hideDelay>300</hideDelay>
184   <!-- in milliseconds (1000 = 1 second) -->
185   <showDelay>300</showDelay>
186   <!-- in milliseconds (1000 = 1 second) -->
187   <moveButton>Middle</moveButton>
188   <!-- 'Left', 'Middle', 'Right' -->
189 </dock>
190
191 <keyboard>
192   <chainQuitKey>C-g</chainQuitKey>
193
194   <!-- Keybindings for desktop switching -->
195   <keybind key="C-A-Left">
196     <action name="GoToDesktop"><to>left</to><wrap>no</wrap></action>
197   </keybind>
198   <keybind key="C-A-Right">
199     <action name="GoToDesktop"><to>right</to><wrap>no</wrap></action>
200   </keybind>
201   <keybind key="C-A-Up">
202     <action name="GoToDesktop"><to>up</to><wrap>no</wrap></action>
203   </keybind>
204   <keybind key="C-A-Down">
205     <action name="GoToDesktop"><to>down</to><wrap>no</wrap></action>
206   </keybind>
207   <keybind key="S-A-Left">
208     <action name="SendToDesktop"><to>left</to><wrap>no</wrap></action>
209   </keybind>
210   <keybind key="S-A-Right">
211     <action name="SendToDesktop"><to>right</to><wrap>no</wrap></action>
212   </keybind>
213   <keybind key="S-A-Up">
214     <action name="SendToDesktop"><to>up</to><wrap>no</wrap></action>
215   </keybind>
216   <keybind key="S-A-Down">
217     <action name="SendToDesktop"><to>down</to><wrap>no</wrap></action>
218   </keybind>
219   <keybind key="W-F1">
220     <action name="GoToDesktop"><to>1</to></action>
221   </keybind>
222   <keybind key="W-F2">
223     <action name="GoToDesktop"><to>2</to></action>
224   </keybind>
225   <keybind key="W-F3">
226     <action name="GoToDesktop"><to>3</to></action>
227   </keybind>
228   <keybind key="W-F4">
229     <action name="GoToDesktop"><to>4</to></action>
230   </keybind>
231   <keybind key="W-d">
232     <action name="ToggleShowDesktop"/>
233   </keybind>
234
235   <!-- Keybindings for windows -->
236   <keybind key="A-F4">
237     <action name="Close"/>
238   </keybind>
239   <keybind key="A-Escape">
240     <action name="Lower"/>
241     <action name="FocusToBottom"/>
242     <action name="Unfocus"/>
243   </keybind>
244   <keybind key="A-space">
245     <action name="ShowMenu"><menu>client-menu</menu></action>
246   </keybind>
247
248   <!-- Keybindings for window switching -->
249   <keybind key="A-Tab">
250     <action name="NextWindow">
251       <finalactions>
252         <action name="Focus"/>
253         <action name="Raise"/>
254         <action name="Unshade"/>
255       </finalactions>
256     </action>
257   </keybind>
258   <keybind key="A-S-Tab">
259     <action name="PreviousWindow">
260       <finalactions>
261         <action name="Focus"/>
262         <action name="Raise"/>
263         <action name="Unshade"/>
264       </finalactions>
265     </action>
266   </keybind>
267   <keybind key="C-A-Tab">
268     <action name="NextWindow">
269       <panels>yes</panels><desktop>yes</desktop>
270       <finalactions>
271         <action name="Focus"/>
272         <action name="Raise"/>
273         <action name="Unshade"/>
274       </finalactions>
275     </action>
276   </keybind>
277
278   <!-- Keybindings for window switching with the arrow keys -->
279   <keybind key="W-S-Right">
280     <action name="DirectionalCycleWindows">
281       <direction>right</direction>
282     </action>
283   </keybind>
284   <keybind key="W-S-Left">
285     <action name="DirectionalCycleWindows">
286       <direction>left</direction>
287     </action>
288   </keybind>
289   <keybind key="W-S-Up">
290     <action name="DirectionalCycleWindows">
291       <direction>up</direction>
292     </action>
293   </keybind>
294   <keybind key="W-S-Down">
295     <action name="DirectionalCycleWindows">
296       <direction>down</direction>
297     </action>
298   </keybind>
299
300   <!-- Keybindings for running applications -->
301   <keybind key="W-e">
302     <action name="Execute">
303       <startupnotify>
304         <enabled>true</enabled>
305         <name>Konqueror</name>
306       </startupnotify>
307       <command>kfmclient openProfile filemanagement</command>
308     </action>
309   </keybind>
310 </keyboard>
311
312 <mouse>
313   <dragThreshold>8</dragThreshold>
314   <!-- number of pixels the mouse must move before a drag begins -->
315   <doubleClickTime>200</doubleClickTime>
316   <!-- in milliseconds (1000 = 1 second) -->
317   <screenEdgeWarpTime>400</screenEdgeWarpTime>
318   <!-- Time before changing desktops when the pointer touches the edge of the
319        screen while moving a window, in milliseconds (1000 = 1 second).
320        Set this to 0 to disable warping -->
321
322   <context name="Frame">
323     <mousebind button="A-Left" action="Press">
324       <action name="Focus"/>
325       <action name="Raise"/>
326     </mousebind>
327     <mousebind button="A-Left" action="Click">
328       <action name="Unshade"/>
329     </mousebind>
330     <mousebind button="A-Left" action="Drag">
331       <action name="Move"/>
332     </mousebind>
333
334     <mousebind button="A-Right" action="Press">
335       <action name="Focus"/>
336       <action name="Raise"/>
337       <action name="Unshade"/>
338     </mousebind>
339     <mousebind button="A-Right" action="Drag">
340       <action name="Resize"/>
341     </mousebind> 
342
343     <mousebind button="A-Middle" action="Press">
344       <action name="Lower"/>
345       <action name="FocusToBottom"/>
346       <action name="Unfocus"/>
347     </mousebind>
348
349     <mousebind button="A-Up" action="Click">
350       <action name="GoToDesktop"><to>previous</to></action>
351     </mousebind>
352     <mousebind button="A-Down" action="Click">
353       <action name="GoToDesktop"><to>next</to></action>
354     </mousebind>
355     <mousebind button="C-A-Up" action="Click">
356       <action name="GoToDesktop"><to>previous</to></action>
357     </mousebind>
358     <mousebind button="C-A-Down" action="Click">
359       <action name="GoToDesktop"><to>next</to></action>
360     </mousebind>
361     <mousebind button="A-S-Up" action="Click">
362       <action name="SendToDesktop"><to>previous</to></action>
363     </mousebind>
364     <mousebind button="A-S-Down" action="Click">
365       <action name="SendToDesktop"><to>next</to></action>
366     </mousebind>
367   </context>
368
369   <context name="Titlebar">
370     <mousebind button="Left" action="Press">
371       <action name="Focus"/>
372       <action name="Raise"/>
373     </mousebind>
374     <mousebind button="Left" action="Drag">
375       <action name="Move"/>
376     </mousebind>
377     <mousebind button="Left" action="DoubleClick">
378       <action name="ToggleMaximize"/>
379     </mousebind>
380
381     <mousebind button="Middle" action="Press">
382       <action name="Lower"/>
383       <action name="FocusToBottom"/>
384       <action name="Unfocus"/>
385     </mousebind>
386
387     <mousebind button="Up" action="Click">
388       <action name="if">
389         <shaded>no</shaded>
390         <then>
391           <action name="Shade"/>
392           <action name="FocusToBottom"/>
393           <action name="Unfocus"/>
394           <action name="Lower"/>
395         </then>
396       </action>
397     </mousebind>
398     <mousebind button="Down" action="Click">
399       <action name="if">
400         <shaded>yes</shaded>
401         <then>
402           <action name="Unshade"/>
403           <action name="Raise"/>
404         </then>
405       </action>
406     </mousebind>
407
408     <mousebind button="Right" action="Press">
409       <action name="Focus"/>
410       <action name="Raise"/>
411       <action name="ShowMenu"><menu>client-menu</menu></action>
412     </mousebind>
413   </context>
414
415   <context name="Top">
416     <mousebind button="Left" action="Press">
417       <action name="Focus"/>
418       <action name="Raise"/>
419       <action name="Unshade"/>
420     </mousebind>
421     <mousebind button="Left" action="Drag">
422       <action name="Resize"><edge>top</edge></action>
423     </mousebind>
424   </context>
425
426   <context name="Left">
427     <mousebind button="Left" action="Press">
428       <action name="Focus"/>
429       <action name="Raise"/>
430     </mousebind>
431     <mousebind button="Left" action="Drag">
432       <action name="Resize"><edge>left</edge></action>
433     </mousebind>
434
435     <mousebind button="Right" action="Press">
436       <action name="Focus"/>
437       <action name="Raise"/>
438       <action name="ShowMenu"><menu>client-menu</menu></action>
439     </mousebind>
440   </context>
441
442   <context name="Right">
443     <mousebind button="Left" action="Press">
444       <action name="Focus"/>
445       <action name="Raise"/>
446     </mousebind>
447     <mousebind button="Left" action="Drag">
448       <action name="Resize"><edge>right</edge></action>
449     </mousebind>
450
451     <mousebind button="Right" action="Press">
452       <action name="Focus"/>
453       <action name="Raise"/>
454       <action name="ShowMenu"><menu>client-menu</menu></action>
455     </mousebind>
456   </context>
457
458   <context name="Bottom">
459     <mousebind button="Left" action="Press">
460       <action name="Focus"/>
461       <action name="Raise"/>
462     </mousebind>
463     <mousebind button="Left" action="Drag">
464       <action name="Resize"><edge>bottom</edge></action>
465     </mousebind>
466
467     <mousebind button="Middle" action="Press">
468       <action name="Lower"/>
469       <action name="FocusToBottom"/>
470       <action name="Unfocus"/>
471     </mousebind>
472
473     <mousebind button="Right" action="Press">
474       <action name="Focus"/>
475       <action name="Raise"/>
476       <action name="ShowMenu"><menu>client-menu</menu></action>
477     </mousebind>
478   </context>
479
480   <context name="BLCorner">
481     <mousebind button="Left" action="Press">
482       <action name="Focus"/>
483       <action name="Raise"/>
484     </mousebind>
485     <mousebind button="Left" action="Drag">
486       <action name="Resize"><edge>bottomleft</edge></action>
487     </mousebind>
488   </context>
489
490   <context name="BRCorner">
491     <mousebind button="Left" action="Press">
492       <action name="Focus"/>
493       <action name="Raise"/>
494     </mousebind>
495     <mousebind button="Left" action="Drag">
496       <action name="Resize"><edge>bottomright</edge></action>
497     </mousebind>
498   </context>
499
500   <context name="TLCorner">
501     <mousebind button="Left" action="Press">
502       <action name="Focus"/>
503       <action name="Raise"/>
504       <action name="Unshade"/>
505     </mousebind>
506     <mousebind button="Left" action="Drag">
507       <action name="Resize"><edge>topleft</edge></action>
508     </mousebind>
509   </context>
510
511   <context name="TRCorner">
512     <mousebind button="Left" action="Press">
513       <action name="Focus"/>
514       <action name="Raise"/>
515       <action name="Unshade"/>
516     </mousebind>
517     <mousebind button="Left" action="Drag">
518       <action name="Resize"><edge>topright</edge></action>
519     </mousebind>
520   </context>
521
522   <context name="Client">
523     <mousebind button="Left" action="Press">
524       <action name="Focus"/>
525       <action name="Raise"/>
526     </mousebind>
527     <mousebind button="Middle" action="Press">
528       <action name="Focus"/>
529       <action name="Raise"/>
530     </mousebind>
531     <mousebind button="Right" action="Press">
532       <action name="Focus"/>
533       <action name="Raise"/>
534     </mousebind>
535   </context>
536
537   <context name="Icon">
538     <mousebind button="Left" action="Press">
539       <action name="Focus"/>
540       <action name="Raise"/>
541       <action name="Unshade"/>
542       <action name="ShowMenu"><menu>client-menu</menu></action>
543     </mousebind>
544     <mousebind button="Right" action="Press">
545       <action name="Focus"/>
546       <action name="Raise"/>
547       <action name="ShowMenu"><menu>client-menu</menu></action>
548     </mousebind>
549   </context>
550
551   <context name="AllDesktops">
552     <mousebind button="Left" action="Press">
553       <action name="Focus"/>
554       <action name="Raise"/>
555       <action name="Unshade"/>
556     </mousebind>
557     <mousebind button="Left" action="Click">
558       <action name="ToggleOmnipresent"/>
559     </mousebind>
560   </context>
561
562   <context name="Shade">
563     <mousebind button="Left" action="Press">
564       <action name="Focus"/>
565       <action name="Raise"/>
566     </mousebind>
567     <mousebind button="Left" action="Click">
568       <action name="ToggleShade"/>
569     </mousebind>
570   </context>
571
572   <context name="Iconify">
573     <mousebind button="Left" action="Press">
574       <action name="Focus"/>
575       <action name="Raise"/>
576     </mousebind>
577     <mousebind button="Left" action="Click">
578       <action name="Iconify"/>
579     </mousebind>
580   </context>
581
582   <context name="Maximize">
583     <mousebind button="Left" action="Press">
584       <action name="Focus"/>
585       <action name="Raise"/>
586       <action name="Unshade"/>
587     </mousebind>
588     <mousebind button="Middle" action="Press">
589       <action name="Focus"/>
590       <action name="Raise"/>
591       <action name="Unshade"/>
592     </mousebind>
593     <mousebind button="Right" action="Press">
594       <action name="Focus"/>
595       <action name="Raise"/>
596       <action name="Unshade"/>
597     </mousebind>
598     <mousebind button="Left" action="Click">
599       <action name="ToggleMaximize"/>
600     </mousebind>
601     <mousebind button="Middle" action="Click">
602       <action name="ToggleMaximize"><direction>vertical</direction></action>
603     </mousebind>
604     <mousebind button="Right" action="Click">
605       <action name="ToggleMaximize"><direction>horizontal</direction></action>
606     </mousebind>
607   </context>
608
609   <context name="Close">
610     <mousebind button="Left" action="Press">
611       <action name="Focus"/>
612       <action name="Raise"/>
613       <action name="Unshade"/>
614     </mousebind>
615     <mousebind button="Left" action="Click">
616       <action name="Close"/>
617     </mousebind>
618   </context>
619
620   <context name="Desktop">
621     <mousebind button="Up" action="Click">
622       <action name="GoToDesktop"><to>previous</to></action>
623     </mousebind>
624     <mousebind button="Down" action="Click">
625       <action name="GoToDesktop"><to>next</to></action>
626     </mousebind>
627
628     <mousebind button="A-Up" action="Click">
629       <action name="GoToDesktop"><to>previous</to></action>
630     </mousebind>
631     <mousebind button="A-Down" action="Click">
632       <action name="GoToDesktop"><to>next</to></action>
633     </mousebind>
634     <mousebind button="C-A-Up" action="Click">
635       <action name="GoToDesktop"><to>previous</to></action>
636     </mousebind>
637     <mousebind button="C-A-Down" action="Click">
638       <action name="GoToDesktop"><to>next</to></action>
639     </mousebind>
640
641     <mousebind button="Left" action="Press">
642       <action name="Focus"/>
643       <action name="Raise"/>
644     </mousebind>
645     <mousebind button="Right" action="Press">
646       <action name="Focus"/>
647       <action name="Raise"/>
648     </mousebind>
649   </context>
650
651   <context name="Root">
652     <!-- Menus -->
653     <mousebind button="Middle" action="Press">
654       <action name="ShowMenu"><menu>client-list-combined-menu</menu></action>
655     </mousebind> 
656     <mousebind button="Right" action="Press">
657       <action name="ShowMenu"><menu>root-menu</menu></action>
658     </mousebind>
659   </context>
660
661   <context name="MoveResize">
662     <mousebind button="Up" action="Click">
663       <action name="GoToDesktop"><to>previous</to></action>
664     </mousebind>
665     <mousebind button="Down" action="Click">
666       <action name="GoToDesktop"><to>next</to></action>
667     </mousebind>
668     <mousebind button="A-Up" action="Click">
669       <action name="GoToDesktop"><to>previous</to></action>
670     </mousebind>
671     <mousebind button="A-Down" action="Click">
672       <action name="GoToDesktop"><to>next</to></action>
673     </mousebind>
674   </context>
675 </mouse>
676
677 <menu>
678   <!-- You can specify more than one menu file in here and they are all loaded,
679        just don't make menu ids clash or, well, it'll be kind of pointless -->
680
681   <!-- default menu file (or custom one in $HOME/.config/openbox/) -->
682   <file>menu.xml</file>
683   <hideDelay>200</hideDelay>
684   <!-- if a press-release lasts longer than this setting (in milliseconds), the
685        menu is hidden again -->
686   <middle>no</middle>
687   <!-- center submenus vertically about the parent entry -->
688   <submenuShowDelay>100</submenuShowDelay>
689   <!-- time to delay before showing a submenu after hovering over the parent
690        entry.
691        if this is a negative value, then the delay is infinite and the
692        submenu will not be shown until it is clicked on -->
693   <submenuHideDelay>400</submenuHideDelay>
694   <!-- time to delay before hiding a submenu when selecting another
695        entry in parent menu -->
696        if this is a negative value, then the delay is infinite and the
697        submenu will not be hidden until a different submenu is opened -->
698   <applicationIcons>yes</applicationIcons>
699   <!-- controls if icons appear in the client-list-(combined-)menu -->
700   <manageDesktops>yes</manageDesktops>
701   <!-- show the manage desktops section in the client-list-(combined-)menu -->
702 </menu>
703
704 <applications>
705 <!--
706   # this is an example with comments through out. use these to make your
707   # own rules, but without the comments of course.
708   # you may use one or more of the name/class/role/title/type rules to specify
709   # windows to match
710
711   <application name="the window's _OB_APP_NAME property (see obxprop)"
712               class="the window's _OB_APP_CLASS property (see obxprop)"
713                role="the window's _OB_APP_ROLE property (see obxprop)"
714               title="the window's _OB_APP_TITLE property (see obxprop)"
715                type="the window's _OB_APP_TYPE property (see obxprob)..
716                       (if unspecified, then it is 'dialog' for child windows)">
717   # you may set only one of name/class/role/title/type, or you may use more
718   # than one together to restrict your matches.
719
720   # the name, class, role, and title use simple wildcard matching such as those
721   # used by a shell. you can use * to match any characters and ? to match
722   # any single character.
723
724   # the type is one of: normal, dialog, splash, utility, menu, toolbar, dock,
725   #    or desktop
726
727   # when multiple rules match a window, they will all be applied, in the
728   # order that they appear in this list
729
730
731     # each rule element can be left out or set to 'default' to specify to not 
732     # change that attribute of the window
733
734     <decor>yes</decor>
735     # enable or disable window decorations
736
737     <shade>no</shade>
738     # make the window shaded when it appears, or not
739
740     <position force="no">
741       # the position is only used if both an x and y coordinate are provided
742       # (and not set to 'default')
743       # when force is "yes", then the window will be placed here even if it
744       # says you want it placed elsewhere.  this is to override buggy
745       # applications who refuse to behave
746       <x>center</x>
747       # a number like 50, or 'center' to center on screen. use a negative number
748       # to start from the right (or bottom for <y>), ie -50 is 50 pixels from the
749       # right edge (or bottom).
750       <y>200</y>
751       <monitor>1</monitor>
752       # specifies the monitor in a xinerama setup.
753       # 1 is the first head, or 'mouse' for wherever the mouse is
754     </position>
755
756     <focus>yes</focus>
757     # if the window should try be given focus when it appears. if this is set
758     # to yes it doesn't guarantee the window will be given focus. some
759     # restrictions may apply, but Openbox will try to
760
761     <desktop>1</desktop>
762     # 1 is the first desktop, 'all' for all desktops
763
764     <layer>normal</layer>
765     # 'above', 'normal', or 'below'
766
767     <iconic>no</iconic>
768     # make the window iconified when it appears, or not
769
770     <skip_pager>no</skip_pager>
771     # asks to not be shown in pagers
772
773     <skip_taskbar>no</skip_taskbar>
774     # asks to not be shown in taskbars. window cycling actions will also
775     # skip past such windows
776
777     <fullscreen>yes</fullscreen>
778     # make the window in fullscreen mode when it appears
779
780     <maximized>true</maximized>
781     # 'Horizontal', 'Vertical' or boolean (yes/no)
782   </application>
783
784   # end of the example
785 -->
786 </applications>
787
788 </openbox_config>