Switch to gnome-screensaver ... again
[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="A-F5">
243       <action name="Iconify" />
244     </keybind>
245     <keybind key="Print">
246       <action name="Execute">
247         <execute>scrot '%Y-%m-%d--%s_$wx$h_scrot.png' -e 'mv $f ~/Images/ &amp; eog ~/Images/$f'</execute>
248       </action>
249     </keybind>
250     <keybind key="A-Print">
251       <action name="Execute">
252         <execute>scrot -d 10 '%Y-%m-%d--%s_$wx$h_scrot.png' -e 'mv $f ~/Images/ &amp; eog ~/Images/$f'</execute>
253       </action>
254     </keybind>
255     <!-- Keybindings for window switching -->
256     <keybind key="A-Tab">
257       <action name="NextWindow"/>
258     </keybind>
259     <keybind key="A-S-Tab">
260       <action name="PreviousWindow"/>
261     </keybind>
262     <keybind key="C-A-Tab">
263       <action name="NextWindow">
264         <allDesktops>yes</allDesktops>
265       </action>
266     </keybind>
267     <keybind key="C-A-S-Tab">
268       <action name="PreviousWindow">
269         <allDesktops>yes</allDesktops>
270       </action>
271     </keybind>
272     <!-- Keybindings for running applications -->
273     <keybind key="A-F2">
274       <action name="Execute">
275         <startupnotify>
276           <enabled>true</enabled>
277           <name>Run Program</name>
278         </startupnotify>
279         <command>gmrun</command>
280       </action>
281     </keybind>
282     <keybind key="A-F3">
283       <action name="Execute">
284         <startupnotify>
285           <enabled>true</enabled>
286           <name>dmenu-bind</name>
287         </startupnotify>
288         <command>~/.config/dmenu/dmenu-bind.sh</command>
289       </action>
290     </keybind>
291     <keybind key="W-f">
292       <action name="Execute">
293         <startupnotify>
294           <enabled>true</enabled>
295           <name>thunar</name>
296         </startupnotify>
297         <command>thunar</command>
298       </action>
299     </keybind>
300     <keybind key="W-t">
301       <action name="Execute">
302         <startupnotify>
303           <enabled>true</enabled>
304           <name>Terminal</name>
305         </startupnotify>
306         <command>x-terminal-emulator</command>
307       </action>
308     </keybind>
309     <keybind key="W-w">
310       <action name="Execute">
311         <startupnotify>
312           <enabled>true</enabled>
313           <name>Web Browser</name>
314         </startupnotify>
315         <command>x-www-browser</command>
316       </action>
317     </keybind>
318     <keybind key="W-l">
319       <action name="Execute">
320         <startupnotify>
321           <enabled>true</enabled>
322           <name>Lock screen</name>
323         </startupnotify>
324         <command>cb-lock</command>
325       </action>
326     </keybind>
327     <keybind key="W-e">
328       <action name="Execute">
329         <startupnotify>
330           <enabled>true</enabled>
331           <name>Editor</name>
332         </startupnotify>
333         <command>gvim</command>
334       </action>
335     </keybind>
336     <keybind key="W-m">
337       <action name="Execute">
338         <startupnotify>
339           <enabled>true</enabled>
340           <name>Mediaplayer</name>
341         </startupnotify>
342         <command>vlc</command>
343       </action>
344     </keybind>
345     <keybind key="W-v">
346       <action name="Execute">
347         <startupnotify>
348           <enabled>true</enabled>
349           <name>Volume</name>
350         </startupnotify>
351         <command>gnome-volume-control</command>
352       </action>
353     </keybind>
354     <keybind key="W-x">
355       <action name="Execute">
356         <startupnotify>
357           <enabled>true</enabled>
358           <name>Logout</name>
359         </startupnotify>
360         <command>openbox-logout</command>
361       </action>
362     </keybind>
363     <keybind key="W-Tab">
364       <action name="ShowMenu">
365         <menu>client-list-combined-menu</menu>
366       </action>
367     </keybind>
368     <keybind key="W-space">
369       <action name="ShowMenu">
370         <menu>root-menu</menu>
371       </action>
372     </keybind>
373     <keybind key="A-C-q">
374       <action name="ShowMenu">
375         <menu>root-menu</menu>
376       </action>
377     </keybind>
378     <keybind key="XF86AudioRaiseVolume">
379       <action name="Execute">
380         <command>amixer set Master 5%+ unmute</command>
381       </action>
382     </keybind>
383     <keybind key="XF86AudioLowerVolume">
384       <action name="Execute">
385         <command>amixer set Master 5%- unmute</command>
386       </action>
387     </keybind>
388     <keybind key="XF86AudioMute">
389       <action name="Execute">
390         <command>amixer set Master toggle</command>
391       </action>
392     </keybind>
393     <keybind key="C-A-L">
394         <action name="Execute">
395             <execute>gnome-screensaver-command -\-lock</execute>
396         </action>
397     </keybind>
398   </keyboard>
399   <mouse>
400     <dragThreshold>8</dragThreshold>
401     <!-- number of pixels the mouse must move before a drag begins -->
402     <doubleClickTime>200</doubleClickTime>
403     <!-- in milliseconds (1000 = 1 second) -->
404     <screenEdgeWarpTime>400</screenEdgeWarpTime>
405     <!-- Time before changing desktops when the pointer touches the edge of the
406        screen while moving a window, in milliseconds (1000 = 1 second).
407        Set this to 0 to disable warping -->
408     <context name="Frame">
409       <mousebind button="A-Left" action="Press">
410         <action name="Focus"/>
411         <action name="Raise"/>
412       </mousebind>
413       <mousebind button="A-Left" action="Click">
414         <action name="Unshade"/>
415       </mousebind>
416       <mousebind button="A-Left" action="Drag">
417         <action name="Move"/>
418       </mousebind>
419       <mousebind button="A-Right" action="Press">
420         <action name="Focus"/>
421         <action name="Raise"/>
422         <action name="Unshade"/>
423       </mousebind>
424       <mousebind button="A-Right" action="Drag">
425         <action name="Resize"/>
426       </mousebind>
427       <mousebind button="A-Middle" action="Press">
428         <action name="Lower"/>
429         <action name="FocusToBottom"/>
430         <action name="Unfocus"/>
431       </mousebind>
432       <mousebind button="A-Up" action="Click">
433         <action name="DesktopPrevious"/>
434       </mousebind>
435       <mousebind button="A-Down" action="Click">
436         <action name="DesktopNext"/>
437       </mousebind>
438       <mousebind button="C-A-Up" action="Click">
439         <action name="DesktopPrevious"/>
440       </mousebind>
441       <mousebind button="C-A-Down" action="Click">
442         <action name="DesktopNext"/>
443       </mousebind>
444       <mousebind button="A-S-Up" action="Click">
445         <action name="SendToDesktopPrevious"/>
446       </mousebind>
447       <mousebind button="A-S-Down" action="Click">
448         <action name="SendToDesktopNext"/>
449       </mousebind>
450     </context>
451     <context name="Titlebar">
452       <mousebind button="Left" action="Press">
453         <action name="Focus"/>
454         <action name="Raise"/>
455       </mousebind>
456       <mousebind button="Left" action="Drag">
457         <action name="Move"/>
458       </mousebind>
459       <mousebind button="Left" action="DoubleClick">
460         <action name="ToggleMaximizeFull"/>
461       </mousebind>
462       <mousebind button="Middle" action="Press">
463         <action name="Lower"/>
464         <action name="FocusToBottom"/>
465         <action name="Unfocus"/>
466       </mousebind>
467       <mousebind button="Up" action="Click">
468         <action name="Shade"/>
469         <action name="FocusToBottom"/>
470         <action name="Unfocus"/>
471         <action name="Lower"/>
472       </mousebind>
473       <mousebind button="Down" action="Click">
474         <action name="Unshade"/>
475         <action name="Raise"/>
476       </mousebind>
477       <mousebind button="Right" action="Press">
478         <action name="Focus"/>
479         <action name="Raise"/>
480         <action name="ShowMenu">
481           <menu>client-menu</menu>
482         </action>
483       </mousebind>
484     </context>
485     <context name="Top">
486       <mousebind button="Left" action="Press">
487         <action name="Focus"/>
488         <action name="Raise"/>
489         <action name="Unshade"/>
490       </mousebind>
491       <mousebind button="Left" action="Drag">
492         <action name="Resize">
493           <edge>top</edge>
494         </action>
495       </mousebind>
496     </context>
497     <context name="Left">
498       <mousebind button="Left" action="Press">
499         <action name="Focus"/>
500         <action name="Raise"/>
501       </mousebind>
502       <mousebind button="Left" action="Drag">
503         <action name="Resize">
504           <edge>left</edge>
505         </action>
506       </mousebind>
507     </context>
508     <context name="Right">
509       <mousebind button="Left" action="Press">
510         <action name="Focus"/>
511         <action name="Raise"/>
512       </mousebind>
513       <mousebind button="Left" action="Drag">
514         <action name="Resize">
515           <edge>right</edge>
516         </action>
517       </mousebind>
518     </context>
519     <context name="Bottom">
520       <mousebind button="Left" action="Press">
521         <action name="Focus"/>
522         <action name="Raise"/>
523       </mousebind>
524       <mousebind button="Left" action="Drag">
525         <action name="Resize">
526           <edge>bottom</edge>
527         </action>
528       </mousebind>
529       <mousebind button="Middle" action="Press">
530         <action name="Lower"/>
531         <action name="FocusToBottom"/>
532         <action name="Unfocus"/>
533       </mousebind>
534       <mousebind button="Right" action="Press">
535         <action name="Focus"/>
536         <action name="Raise"/>
537         <action name="ShowMenu">
538           <menu>client-menu</menu>
539         </action>
540       </mousebind>
541     </context>
542     <context name="BLCorner">
543       <mousebind button="Left" action="Press">
544         <action name="Focus"/>
545         <action name="Raise"/>
546       </mousebind>
547       <mousebind button="Left" action="Drag">
548         <action name="Resize"/>
549       </mousebind>
550     </context>
551     <context name="BRCorner">
552       <mousebind button="Left" action="Press">
553         <action name="Focus"/>
554         <action name="Raise"/>
555       </mousebind>
556       <mousebind button="Left" action="Drag">
557         <action name="Resize"/>
558       </mousebind>
559     </context>
560     <context name="TLCorner">
561       <mousebind button="Left" action="Press">
562         <action name="Focus"/>
563         <action name="Raise"/>
564         <action name="Unshade"/>
565       </mousebind>
566       <mousebind button="Left" action="Drag">
567         <action name="Resize"/>
568       </mousebind>
569     </context>
570     <context name="TRCorner">
571       <mousebind button="Left" action="Press">
572         <action name="Focus"/>
573         <action name="Raise"/>
574         <action name="Unshade"/>
575       </mousebind>
576       <mousebind button="Left" action="Drag">
577         <action name="Resize"/>
578       </mousebind>
579     </context>
580     <context name="Client">
581       <mousebind button="Left" action="Press">
582         <action name="Focus"/>
583         <action name="Raise"/>
584       </mousebind>
585       <mousebind button="Middle" action="Press">
586         <action name="Focus"/>
587         <action name="Raise"/>
588       </mousebind>
589       <mousebind button="Right" action="Press">
590         <action name="Focus"/>
591         <action name="Raise"/>
592       </mousebind>
593     </context>
594     <context name="Icon">
595       <mousebind button="Left" action="Press">
596         <action name="Focus"/>
597         <action name="Raise"/>
598         <action name="Unshade"/>
599         <action name="ShowMenu">
600           <menu>client-menu</menu>
601         </action>
602       </mousebind>
603       <mousebind button="Right" action="Press">
604         <action name="Focus"/>
605         <action name="Raise"/>
606         <action name="ShowMenu">
607           <menu>client-menu</menu>
608         </action>
609       </mousebind>
610     </context>
611     <context name="AllDesktops">
612       <mousebind button="Left" action="Press">
613         <action name="Focus"/>
614         <action name="Raise"/>
615         <action name="Unshade"/>
616       </mousebind>
617       <mousebind button="Left" action="Click">
618         <action name="ToggleOmnipresent"/>
619       </mousebind>
620     </context>
621     <context name="Shade">
622       <mousebind button="Left" action="Press">
623         <action name="Focus"/>
624         <action name="Raise"/>
625       </mousebind>
626       <mousebind button="Left" action="Click">
627         <action name="ToggleShade"/>
628       </mousebind>
629     </context>
630     <context name="Iconify">
631       <mousebind button="Left" action="Press">
632         <action name="Focus"/>
633         <action name="Raise"/>
634       </mousebind>
635       <mousebind button="Left" action="Click">
636         <action name="Iconify"/>
637       </mousebind>
638     </context>
639     <context name="Maximize">
640       <mousebind button="Left" action="Press">
641         <action name="Focus"/>
642         <action name="Raise"/>
643         <action name="Unshade"/>
644       </mousebind>
645       <mousebind button="Middle" action="Press">
646         <action name="Focus"/>
647         <action name="Raise"/>
648         <action name="Unshade"/>
649       </mousebind>
650       <mousebind button="Right" action="Press">
651         <action name="Focus"/>
652         <action name="Raise"/>
653         <action name="Unshade"/>
654       </mousebind>
655       <mousebind button="Left" action="Click">
656         <action name="ToggleMaximizeFull"/>
657       </mousebind>
658       <mousebind button="Middle" action="Click">
659         <action name="ToggleMaximizeVert"/>
660       </mousebind>
661       <mousebind button="Right" action="Click">
662         <action name="ToggleMaximizeHorz"/>
663       </mousebind>
664     </context>
665     <context name="Close">
666       <mousebind button="Left" action="Press">
667         <action name="Focus"/>
668         <action name="Raise"/>
669         <action name="Unshade"/>
670       </mousebind>
671       <mousebind button="Left" action="Click">
672         <action name="Close"/>
673       </mousebind>
674     </context>
675     <context name="Desktop">
676       <mousebind button="Up" action="Click">
677         <action name="DesktopPrevious"/>
678       </mousebind>
679       <mousebind button="Down" action="Click">
680         <action name="DesktopNext"/>
681       </mousebind>
682       <mousebind button="A-Up" action="Click">
683         <action name="DesktopPrevious"/>
684       </mousebind>
685       <mousebind button="A-Down" action="Click">
686         <action name="DesktopNext"/>
687       </mousebind>
688       <mousebind button="C-A-Up" action="Click">
689         <action name="DesktopPrevious"/>
690       </mousebind>
691       <mousebind button="C-A-Down" action="Click">
692         <action name="DesktopNext"/>
693       </mousebind>
694       <mousebind button="Left" action="Press">
695         <action name="Focus"/>
696         <action name="Raise"/>
697       </mousebind>
698     </context>
699     <context name="Root">
700       <!-- Menus -->
701       <mousebind button="Middle" action="Press">
702         <action name="ShowMenu">
703           <menu>client-list-combined-menu</menu>
704         </action>
705       </mousebind>
706       <mousebind button="Right" action="Press">
707         <action name="ShowMenu">
708           <menu>root-menu</menu>
709         </action>
710       </mousebind>
711     </context>
712     <context name="MoveResize">
713       <mousebind button="Up" action="Click">
714         <action name="DesktopPrevious"/>
715       </mousebind>
716       <mousebind button="Down" action="Click">
717         <action name="DesktopNext"/>
718       </mousebind>
719       <mousebind button="A-Up" action="Click">
720         <action name="DesktopPrevious"/>
721       </mousebind>
722       <mousebind button="A-Down" action="Click">
723         <action name="DesktopNext"/>
724       </mousebind>
725     </context>
726   </mouse>
727   <menu>
728     <!-- You can specify more than one menu file in here and they are all loaded,
729        just don't make menu ids clash or, well, it'll be kind of pointless -->
730     <!-- default menu file (or custom one in $HOME/.config/openbox/) -->
731     <!-- system menu files on Debian systems -->
732     <file>/var/lib/openbox/debian-menu.xml</file>
733     <!--<file>debian-menu.xml</file>-->
734     <file>menu.xml</file>
735     <hideDelay>200</hideDelay>
736     <middle>no</middle>
737     <submenuShowDelay>100</submenuShowDelay>
738     <applicationIcons>yes</applicationIcons>
739   </menu>
740   <applications>
741     <!--
742   # this is an example with comments through out. use these to make your
743   # own rules, but without the comments of course.
744
745   <application name="first element of window's WM_CLASS property (see xprop)"
746               class="second element of window's WM_CLASS property (see xprop)"
747                role="the window's WM_WINDOW_ROLE property (see xprop)">
748   # the name or the class can be set, or both. this is used to match
749   # windows when they appear. role can optionally be set as well, to
750   # further restrict your matches.
751
752   # the name, class, and role use simple wildcard matching such as those
753   # used by a shell. you can use * to match any characters and ? to match
754   # any single character.
755
756   # when multiple rules match a window, they will all be applied, in the
757   # order that they appear in this list
758
759
760     # each element can be left out or set to 'default' to specify to not 
761     # change that attribute of the window
762
763     <decor>yes</decor>
764     # enable or disable window decorations
765
766     <shade>no</shade>
767     # make the window shaded when it appears, or not
768
769     <position>
770       # the position is only used if both an x and y coordinate are provided
771       # (and not set to 'default')
772       <x>center</x>
773       # a number like 50, or 'center' to center on screen. use a negative number
774       # to start from the right (or bottom for <y>), ie -50 is 50 pixels from the
775       # right edge (or bottom).
776       <y>200</y>
777       <monitor>1</monitor>
778       # specifies the monitor in a xinerama setup.
779       # 1 is the first head, or 'mouse' for wherever the mouse is
780     </position>
781
782     <focus>yes</focus>
783     # if the window should try be given focus when it appears. if this is set
784     # to yes it doesn't guarantee the window will be given focus. some
785     # restrictions may apply, but Openbox will try to
786
787     <desktop>1</desktop>
788     # 1 is the first desktop, 'all' for all desktops
789
790     <layer>normal</layer>
791     # 'above', 'normal', or 'below'
792
793     <iconic>no</iconic>
794     # make the window iconified when it appears, or not
795
796     <skip_pager>no</skip_pager>
797     # asks to not be shown in pagers
798
799     <skip_taskbar>no</skip_taskbar>
800     # asks to not be shown in taskbars. window cycling actions will also
801     # skip past such windows
802
803     <fullscreen>yes</fullscreen>
804     # make the window in fullscreen mode when it appears
805
806     <maximized>true</maximized>
807     # 'Horizontal', 'Vertical' or boolean (yes/no)
808   </application>
809
810   # end of the example
811 -->
812    <application name="liferea">
813       <desktop>2</desktop>
814    </application>
815    <application name="firefox-bin">
816        <position>
817            <x>35</x>
818            <y>0</y>
819        </position>
820    </application>
821    <application name="gimp" role="gimp-image-window">
822        <desktop>3</desktop>
823        <maximized>true</maximized>
824        <focus>true</focus>
825    </application>
826    <application name="gimp" role="gimp-toolbox">
827        <skip_taskbar>true</skip_taskbar>
828    </application>
829    <application name="gimp" role="gimp-dock">
830        <skip_taskbar>true</skip_taskbar>
831    </application>
832    <application class="URxvt">
833        <position>
834            <x>80</x>
835            <y>0</y>
836        </position>
837    </application>
838    <application name="gajim.py">
839        <position>
840            <x>-0</x>
841            <y>0</y>
842        </position>
843        <maximized>vertical</maximized>
844    </application>
845    <application name="hotot">
846        <position>
847            <x>-0</x>
848            <y>0</y>
849        </position>
850        <maximized>vertical</maximized>
851    </application>
852  </applications>
853 </openbox_config>