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