e4376a4b30ec84113f0328d569e4b352118b35d8
[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   <screenEdgeWarpMouse>false</screenEdgeWarpMouse>
322   <!-- Set this to TRUE to move the mouse pointer across the desktop when
323        switching due to hitting the edge of the screen -->
324
325   <context name="Frame">
326     <mousebind button="A-Left" action="Press">
327       <action name="Focus"/>
328       <action name="Raise"/>
329     </mousebind>
330     <mousebind button="A-Left" action="Click">
331       <action name="Unshade"/>
332     </mousebind>
333     <mousebind button="A-Left" action="Drag">
334       <action name="Move"/>
335     </mousebind>
336
337     <mousebind button="A-Right" action="Press">
338       <action name="Focus"/>
339       <action name="Raise"/>
340       <action name="Unshade"/>
341     </mousebind>
342     <mousebind button="A-Right" action="Drag">
343       <action name="Resize"/>
344     </mousebind> 
345
346     <mousebind button="A-Middle" action="Press">
347       <action name="Lower"/>
348       <action name="FocusToBottom"/>
349       <action name="Unfocus"/>
350     </mousebind>
351
352     <mousebind button="A-Up" action="Click">
353       <action name="GoToDesktop"><to>previous</to></action>
354     </mousebind>
355     <mousebind button="A-Down" action="Click">
356       <action name="GoToDesktop"><to>next</to></action>
357     </mousebind>
358     <mousebind button="C-A-Up" action="Click">
359       <action name="GoToDesktop"><to>previous</to></action>
360     </mousebind>
361     <mousebind button="C-A-Down" action="Click">
362       <action name="GoToDesktop"><to>next</to></action>
363     </mousebind>
364     <mousebind button="A-S-Up" action="Click">
365       <action name="SendToDesktop"><to>previous</to></action>
366     </mousebind>
367     <mousebind button="A-S-Down" action="Click">
368       <action name="SendToDesktop"><to>next</to></action>
369     </mousebind>
370   </context>
371
372   <context name="Titlebar">
373     <mousebind button="Left" action="Press">
374       <action name="Focus"/>
375       <action name="Raise"/>
376     </mousebind>
377     <mousebind button="Left" action="Drag">
378       <action name="Move"/>
379     </mousebind>
380     <mousebind button="Left" action="DoubleClick">
381       <action name="ToggleMaximize"/>
382     </mousebind>
383
384     <mousebind button="Middle" action="Press">
385       <action name="Lower"/>
386       <action name="FocusToBottom"/>
387       <action name="Unfocus"/>
388     </mousebind>
389
390     <mousebind button="Up" action="Click">
391       <action name="if">
392         <shaded>no</shaded>
393         <then>
394           <action name="Shade"/>
395           <action name="FocusToBottom"/>
396           <action name="Unfocus"/>
397           <action name="Lower"/>
398         </then>
399       </action>
400     </mousebind>
401     <mousebind button="Down" action="Click">
402       <action name="if">
403         <shaded>yes</shaded>
404         <then>
405           <action name="Unshade"/>
406           <action name="Raise"/>
407         </then>
408       </action>
409     </mousebind>
410
411     <mousebind button="Right" action="Press">
412       <action name="Focus"/>
413       <action name="Raise"/>
414       <action name="ShowMenu"><menu>client-menu</menu></action>
415     </mousebind>
416   </context>
417
418   <context name="Top">
419     <mousebind button="Left" action="Press">
420       <action name="Focus"/>
421       <action name="Raise"/>
422       <action name="Unshade"/>
423     </mousebind>
424     <mousebind button="Left" action="Drag">
425       <action name="Resize"><edge>top</edge></action>
426     </mousebind>
427   </context>
428
429   <context name="Left">
430     <mousebind button="Left" action="Press">
431       <action name="Focus"/>
432       <action name="Raise"/>
433     </mousebind>
434     <mousebind button="Left" action="Drag">
435       <action name="Resize"><edge>left</edge></action>
436     </mousebind>
437
438     <mousebind button="Right" action="Press">
439       <action name="Focus"/>
440       <action name="Raise"/>
441       <action name="ShowMenu"><menu>client-menu</menu></action>
442     </mousebind>
443   </context>
444
445   <context name="Right">
446     <mousebind button="Left" action="Press">
447       <action name="Focus"/>
448       <action name="Raise"/>
449     </mousebind>
450     <mousebind button="Left" action="Drag">
451       <action name="Resize"><edge>right</edge></action>
452     </mousebind>
453
454     <mousebind button="Right" action="Press">
455       <action name="Focus"/>
456       <action name="Raise"/>
457       <action name="ShowMenu"><menu>client-menu</menu></action>
458     </mousebind>
459   </context>
460
461   <context name="Bottom">
462     <mousebind button="Left" action="Press">
463       <action name="Focus"/>
464       <action name="Raise"/>
465     </mousebind>
466     <mousebind button="Left" action="Drag">
467       <action name="Resize"><edge>bottom</edge></action>
468     </mousebind>
469
470     <mousebind button="Middle" action="Press">
471       <action name="Lower"/>
472       <action name="FocusToBottom"/>
473       <action name="Unfocus"/>
474     </mousebind>
475
476     <mousebind button="Right" action="Press">
477       <action name="Focus"/>
478       <action name="Raise"/>
479       <action name="ShowMenu"><menu>client-menu</menu></action>
480     </mousebind>
481   </context>
482
483   <context name="BLCorner">
484     <mousebind button="Left" action="Press">
485       <action name="Focus"/>
486       <action name="Raise"/>
487     </mousebind>
488     <mousebind button="Left" action="Drag">
489       <action name="Resize"><edge>bottomleft</edge></action>
490     </mousebind>
491   </context>
492
493   <context name="BRCorner">
494     <mousebind button="Left" action="Press">
495       <action name="Focus"/>
496       <action name="Raise"/>
497     </mousebind>
498     <mousebind button="Left" action="Drag">
499       <action name="Resize"><edge>bottomright</edge></action>
500     </mousebind>
501   </context>
502
503   <context name="TLCorner">
504     <mousebind button="Left" action="Press">
505       <action name="Focus"/>
506       <action name="Raise"/>
507       <action name="Unshade"/>
508     </mousebind>
509     <mousebind button="Left" action="Drag">
510       <action name="Resize"><edge>topleft</edge></action>
511     </mousebind>
512   </context>
513
514   <context name="TRCorner">
515     <mousebind button="Left" action="Press">
516       <action name="Focus"/>
517       <action name="Raise"/>
518       <action name="Unshade"/>
519     </mousebind>
520     <mousebind button="Left" action="Drag">
521       <action name="Resize"><edge>topright</edge></action>
522     </mousebind>
523   </context>
524
525   <context name="Client">
526     <mousebind button="Left" action="Press">
527       <action name="Focus"/>
528       <action name="Raise"/>
529     </mousebind>
530     <mousebind button="Middle" action="Press">
531       <action name="Focus"/>
532       <action name="Raise"/>
533     </mousebind>
534     <mousebind button="Right" action="Press">
535       <action name="Focus"/>
536       <action name="Raise"/>
537     </mousebind>
538   </context>
539
540   <context name="Icon">
541     <mousebind button="Left" action="Press">
542       <action name="Focus"/>
543       <action name="Raise"/>
544       <action name="Unshade"/>
545       <action name="ShowMenu"><menu>client-menu</menu></action>
546     </mousebind>
547     <mousebind button="Right" action="Press">
548       <action name="Focus"/>
549       <action name="Raise"/>
550       <action name="ShowMenu"><menu>client-menu</menu></action>
551     </mousebind>
552   </context>
553
554   <context name="AllDesktops">
555     <mousebind button="Left" action="Press">
556       <action name="Focus"/>
557       <action name="Raise"/>
558       <action name="Unshade"/>
559     </mousebind>
560     <mousebind button="Left" action="Click">
561       <action name="ToggleOmnipresent"/>
562     </mousebind>
563   </context>
564
565   <context name="Shade">
566     <mousebind button="Left" action="Press">
567       <action name="Focus"/>
568       <action name="Raise"/>
569     </mousebind>
570     <mousebind button="Left" action="Click">
571       <action name="ToggleShade"/>
572     </mousebind>
573   </context>
574
575   <context name="Iconify">
576     <mousebind button="Left" action="Press">
577       <action name="Focus"/>
578       <action name="Raise"/>
579     </mousebind>
580     <mousebind button="Left" action="Click">
581       <action name="Iconify"/>
582     </mousebind>
583   </context>
584
585   <context name="Maximize">
586     <mousebind button="Left" action="Press">
587       <action name="Focus"/>
588       <action name="Raise"/>
589       <action name="Unshade"/>
590     </mousebind>
591     <mousebind button="Middle" action="Press">
592       <action name="Focus"/>
593       <action name="Raise"/>
594       <action name="Unshade"/>
595     </mousebind>
596     <mousebind button="Right" action="Press">
597       <action name="Focus"/>
598       <action name="Raise"/>
599       <action name="Unshade"/>
600     </mousebind>
601     <mousebind button="Left" action="Click">
602       <action name="ToggleMaximize"/>
603     </mousebind>
604     <mousebind button="Middle" action="Click">
605       <action name="ToggleMaximize"><direction>vertical</direction></action>
606     </mousebind>
607     <mousebind button="Right" action="Click">
608       <action name="ToggleMaximize"><direction>horizontal</direction></action>
609     </mousebind>
610   </context>
611
612   <context name="Close">
613     <mousebind button="Left" action="Press">
614       <action name="Focus"/>
615       <action name="Raise"/>
616       <action name="Unshade"/>
617     </mousebind>
618     <mousebind button="Left" action="Click">
619       <action name="Close"/>
620     </mousebind>
621   </context>
622
623   <context name="Desktop">
624     <mousebind button="Up" action="Click">
625       <action name="GoToDesktop"><to>previous</to></action>
626     </mousebind>
627     <mousebind button="Down" action="Click">
628       <action name="GoToDesktop"><to>next</to></action>
629     </mousebind>
630
631     <mousebind button="A-Up" action="Click">
632       <action name="GoToDesktop"><to>previous</to></action>
633     </mousebind>
634     <mousebind button="A-Down" action="Click">
635       <action name="GoToDesktop"><to>next</to></action>
636     </mousebind>
637     <mousebind button="C-A-Up" action="Click">
638       <action name="GoToDesktop"><to>previous</to></action>
639     </mousebind>
640     <mousebind button="C-A-Down" action="Click">
641       <action name="GoToDesktop"><to>next</to></action>
642     </mousebind>
643
644     <mousebind button="Left" action="Press">
645       <action name="Focus"/>
646       <action name="Raise"/>
647     </mousebind>
648     <mousebind button="Right" action="Press">
649       <action name="Focus"/>
650       <action name="Raise"/>
651     </mousebind>
652   </context>
653
654   <context name="Root">
655     <!-- Menus -->
656     <mousebind button="Middle" action="Press">
657       <action name="ShowMenu"><menu>client-list-combined-menu</menu></action>
658     </mousebind> 
659     <mousebind button="Right" action="Press">
660       <action name="ShowMenu"><menu>root-menu</menu></action>
661     </mousebind>
662   </context>
663
664   <context name="MoveResize">
665     <mousebind button="Up" action="Click">
666       <action name="GoToDesktop"><to>previous</to></action>
667     </mousebind>
668     <mousebind button="Down" action="Click">
669       <action name="GoToDesktop"><to>next</to></action>
670     </mousebind>
671     <mousebind button="A-Up" action="Click">
672       <action name="GoToDesktop"><to>previous</to></action>
673     </mousebind>
674     <mousebind button="A-Down" action="Click">
675       <action name="GoToDesktop"><to>next</to></action>
676     </mousebind>
677   </context>
678 </mouse>
679
680 <menu>
681   <!-- You can specify more than one menu file in here and they are all loaded,
682        just don't make menu ids clash or, well, it'll be kind of pointless -->
683
684   <!-- default menu file (or custom one in $HOME/.config/openbox/) -->
685   <file>menu.xml</file>
686   <hideDelay>200</hideDelay>
687   <!-- if a press-release lasts longer than this setting (in milliseconds), the
688        menu is hidden again -->
689   <middle>no</middle>
690   <!-- center submenus vertically about the parent entry -->
691   <submenuShowDelay>100</submenuShowDelay>
692   <!-- time to delay before showing a submenu after hovering over the parent
693        entry.
694        if this is a negative value, then the delay is infinite and the
695        submenu will not be shown until it is clicked on -->
696   <submenuHideDelay>400</submenuHideDelay>
697   <!-- time to delay before hiding a submenu when selecting another
698        entry in parent menu -->
699        if this is a negative value, then the delay is infinite and the
700        submenu will not be hidden until a different submenu is opened -->
701   <applicationIcons>yes</applicationIcons>
702   <!-- controls if icons appear in the client-list-(combined-)menu -->
703   <manageDesktops>yes</manageDesktops>
704   <!-- show the manage desktops section in the client-list-(combined-)menu -->
705 </menu>
706
707 <applications>
708 <!--
709   # this is an example with comments through out. use these to make your
710   # own rules, but without the comments of course.
711   # you may use one or more of the name/class/role/title/type rules to specify
712   # windows to match
713
714   <application name="the window's _OB_APP_NAME property (see obxprop)"
715               class="the window's _OB_APP_CLASS property (see obxprop)"
716                role="the window's _OB_APP_ROLE property (see obxprop)"
717               title="the window's _OB_APP_TITLE property (see obxprop)"
718                type="the window's _OB_APP_TYPE property (see obxprob)..
719                       (if unspecified, then it is 'dialog' for child windows)">
720   # you may set only one of name/class/role/title/type, or you may use more
721   # than one together to restrict your matches.
722
723   # the name, class, role, and title use simple wildcard matching such as those
724   # used by a shell. you can use * to match any characters and ? to match
725   # any single character.
726
727   # the type is one of: normal, dialog, splash, utility, menu, toolbar, dock,
728   #    or desktop
729
730   # when multiple rules match a window, they will all be applied, in the
731   # order that they appear in this list
732
733
734     # each rule element can be left out or set to 'default' to specify to not 
735     # change that attribute of the window
736
737     <decor>yes</decor>
738     # enable or disable window decorations
739
740     <shade>no</shade>
741     # make the window shaded when it appears, or not
742
743     <position force="no">
744       # the position is only used if both an x and y coordinate are provided
745       # (and not set to 'default')
746       # when force is "yes", then the window will be placed here even if it
747       # says you want it placed elsewhere.  this is to override buggy
748       # applications who refuse to behave
749       <x>center</x>
750       # a number like 50, or 'center' to center on screen. use a negative number
751       # to start from the right (or bottom for <y>), ie -50 is 50 pixels from the
752       # right edge (or bottom).
753       <y>200</y>
754       <monitor>1</monitor>
755       # specifies the monitor in a xinerama setup.
756       # 1 is the first head, or 'mouse' for wherever the mouse is
757     </position>
758
759     <focus>yes</focus>
760     # if the window should try be given focus when it appears. if this is set
761     # to yes it doesn't guarantee the window will be given focus. some
762     # restrictions may apply, but Openbox will try to
763
764     <desktop>1</desktop>
765     # 1 is the first desktop, 'all' for all desktops
766
767     <layer>normal</layer>
768     # 'above', 'normal', or 'below'
769
770     <iconic>no</iconic>
771     # make the window iconified when it appears, or not
772
773     <skip_pager>no</skip_pager>
774     # asks to not be shown in pagers
775
776     <skip_taskbar>no</skip_taskbar>
777     # asks to not be shown in taskbars. window cycling actions will also
778     # skip past such windows
779
780     <fullscreen>yes</fullscreen>
781     # make the window in fullscreen mode when it appears
782
783     <maximized>true</maximized>
784     # 'Horizontal', 'Vertical' or boolean (yes/no)
785   </application>
786
787   # end of the example
788 -->
789 </applications>
790
791 </openbox_config>