Various changes
[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>2</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 -sbe '%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>Navigateur Web</name>
314         </startupnotify>
315         <command>x-www-browser</command>
316       </action>
317     </keybind>
318     <keybind key="W-h">
319       <action name="Execute">
320         <startupnotify>
321           <enabled>true</enabled>
322           <name>Client de microblogging</name>
323         </startupnotify>
324         <command>hotot</command>
325       </action>
326     </keybind>
327     <keybind key="W-e">
328       <action name="Execute">
329         <startupnotify>
330           <enabled>true</enabled>
331           <name>Éditeur de texte</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>Lecteur de musique</name>
341         </startupnotify>
342         <command>banshee</command>
343       </action>
344     </keybind>
345     <keybind key="W-v">
346       <action name="Execute">
347         <startupnotify>
348           <enabled>true</enabled>
349           <name>Lecteur vidéo</name>
350         </startupnotify>
351         <command>vlc</command>
352       </action>
353     </keybind>
354     <keybind key="W-j">
355       <action name="Execute">
356         <startupnotify>
357           <enabled>true</enabled>
358           <name>Client Jabber</name>
359         </startupnotify>
360         <command>gajim</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="XF86AudioStop">
374       <action name="Execute">
375         <command>banshee -\-stop</command>
376       </action>
377     </keybind>
378     <keybind key="XF86AudioPlay">
379       <action name="Execute">
380         <command>banshee -\-toggle-playing</command>
381       </action>
382     </keybind>
383     <keybind key="XF86AudioNext">
384       <action name="Execute">
385         <command>banshee -\-next</command>
386       </action>
387     </keybind>
388     <keybind key="XF86AudioPrevious">
389       <action name="Execute">
390         <command>banshee -\-previous</command>
391       </action>
392     </keybind>
393     -->
394     <keybind key="XF86AudioRaiseVolume">
395       <action name="Execute">
396         <command>amixer set Master 5%+ unmute</command>
397       </action>
398     </keybind>
399     <keybind key="XF86AudioLowerVolume">
400       <action name="Execute">
401         <command>amixer set Master 5%- unmute</command>
402       </action>
403     </keybind>
404     <keybind key="XF86AudioMute">
405       <action name="Execute">
406         <command>amixer set Master toggle</command>
407       </action>
408     </keybind>
409     <keybind key="XF86Calculator">
410       <action name="Execute">
411         <command>gcalctool</command>
412       </action>
413     </keybind>
414     <keybind key="XF86WebCam">
415       <action name="Execute">
416         <command>cheese</command>
417       </action>
418     </keybind>
419     <keybind key="XF86Launch6">
420       <action name="Execute">
421         <command>toggle-touchpad</command>
422       </action>
423     </keybind>
424     <keybind key="C-A-Delete">
425       <action name="Execute">
426           <execute>~/scripts/logout.sh</execute>
427       </action>
428     </keybind>
429     <keybind key="C-A-L">
430       <action name="Execute">
431         <execute>xscreensaver-command -lock</execute>
432       </action>
433     </keybind>
434   </keyboard>
435   <mouse>
436     <dragThreshold>8</dragThreshold>
437     <!-- number of pixels the mouse must move before a drag begins -->
438     <doubleClickTime>200</doubleClickTime>
439     <!-- in milliseconds (1000 = 1 second) -->
440     <screenEdgeWarpTime>400</screenEdgeWarpTime>
441     <!-- Time before changing desktops when the pointer touches the edge of the
442        screen while moving a window, in milliseconds (1000 = 1 second).
443        Set this to 0 to disable warping -->
444     <context name="Frame">
445       <mousebind button="A-Left" action="Press">
446         <action name="Focus"/>
447         <action name="Raise"/>
448       </mousebind>
449       <mousebind button="A-Left" action="Click">
450         <action name="Unshade"/>
451       </mousebind>
452       <mousebind button="A-Left" action="Drag">
453         <action name="Move"/>
454       </mousebind>
455       <mousebind button="A-Right" action="Press">
456         <action name="Focus"/>
457         <action name="Raise"/>
458         <action name="Unshade"/>
459       </mousebind>
460       <mousebind button="A-Right" action="Drag">
461         <action name="Resize"/>
462       </mousebind>
463       <mousebind button="A-Middle" action="Press">
464         <action name="Lower"/>
465         <action name="FocusToBottom"/>
466         <action name="Unfocus"/>
467       </mousebind>
468       <mousebind button="A-Up" action="Click">
469         <action name="DesktopPrevious"/>
470       </mousebind>
471       <mousebind button="A-Down" action="Click">
472         <action name="DesktopNext"/>
473       </mousebind>
474       <mousebind button="C-A-Up" action="Click">
475         <action name="DesktopPrevious"/>
476       </mousebind>
477       <mousebind button="C-A-Down" action="Click">
478         <action name="DesktopNext"/>
479       </mousebind>
480       <mousebind button="A-S-Up" action="Click">
481         <action name="SendToDesktopPrevious"/>
482       </mousebind>
483       <mousebind button="A-S-Down" action="Click">
484         <action name="SendToDesktopNext"/>
485       </mousebind>
486     </context>
487     <context name="Titlebar">
488       <mousebind button="Left" action="Press">
489         <action name="Focus"/>
490         <action name="Raise"/>
491       </mousebind>
492       <mousebind button="Left" action="Drag">
493         <action name="Move"/>
494       </mousebind>
495       <mousebind button="Left" action="DoubleClick">
496         <action name="ToggleMaximizeFull"/>
497       </mousebind>
498       <mousebind button="Middle" action="Press">
499         <action name="Lower"/>
500         <action name="FocusToBottom"/>
501         <action name="Unfocus"/>
502       </mousebind>
503       <mousebind button="Up" action="Click">
504         <action name="Shade"/>
505         <action name="FocusToBottom"/>
506         <action name="Unfocus"/>
507         <action name="Lower"/>
508       </mousebind>
509       <mousebind button="Down" action="Click">
510         <action name="Unshade"/>
511         <action name="Raise"/>
512       </mousebind>
513       <mousebind button="Right" action="Press">
514         <action name="Focus"/>
515         <action name="Raise"/>
516         <action name="ShowMenu">
517           <menu>client-menu</menu>
518         </action>
519       </mousebind>
520     </context>
521     <context name="Top">
522       <mousebind button="Left" action="Press">
523         <action name="Focus"/>
524         <action name="Raise"/>
525         <action name="Unshade"/>
526       </mousebind>
527       <mousebind button="Left" action="Drag">
528         <action name="Resize">
529           <edge>top</edge>
530         </action>
531       </mousebind>
532     </context>
533     <context name="Left">
534       <mousebind button="Left" action="Press">
535         <action name="Focus"/>
536         <action name="Raise"/>
537       </mousebind>
538       <mousebind button="Left" action="Drag">
539         <action name="Resize">
540           <edge>left</edge>
541         </action>
542       </mousebind>
543     </context>
544     <context name="Right">
545       <mousebind button="Left" action="Press">
546         <action name="Focus"/>
547         <action name="Raise"/>
548       </mousebind>
549       <mousebind button="Left" action="Drag">
550         <action name="Resize">
551           <edge>right</edge>
552         </action>
553       </mousebind>
554     </context>
555     <context name="Bottom">
556       <mousebind button="Left" action="Press">
557         <action name="Focus"/>
558         <action name="Raise"/>
559       </mousebind>
560       <mousebind button="Left" action="Drag">
561         <action name="Resize">
562           <edge>bottom</edge>
563         </action>
564       </mousebind>
565       <mousebind button="Middle" action="Press">
566         <action name="Lower"/>
567         <action name="FocusToBottom"/>
568         <action name="Unfocus"/>
569       </mousebind>
570       <mousebind button="Right" action="Press">
571         <action name="Focus"/>
572         <action name="Raise"/>
573         <action name="ShowMenu">
574           <menu>client-menu</menu>
575         </action>
576       </mousebind>
577     </context>
578     <context name="BLCorner">
579       <mousebind button="Left" action="Press">
580         <action name="Focus"/>
581         <action name="Raise"/>
582       </mousebind>
583       <mousebind button="Left" action="Drag">
584         <action name="Resize"/>
585       </mousebind>
586     </context>
587     <context name="BRCorner">
588       <mousebind button="Left" action="Press">
589         <action name="Focus"/>
590         <action name="Raise"/>
591       </mousebind>
592       <mousebind button="Left" action="Drag">
593         <action name="Resize"/>
594       </mousebind>
595     </context>
596     <context name="TLCorner">
597       <mousebind button="Left" action="Press">
598         <action name="Focus"/>
599         <action name="Raise"/>
600         <action name="Unshade"/>
601       </mousebind>
602       <mousebind button="Left" action="Drag">
603         <action name="Resize"/>
604       </mousebind>
605     </context>
606     <context name="TRCorner">
607       <mousebind button="Left" action="Press">
608         <action name="Focus"/>
609         <action name="Raise"/>
610         <action name="Unshade"/>
611       </mousebind>
612       <mousebind button="Left" action="Drag">
613         <action name="Resize"/>
614       </mousebind>
615     </context>
616     <context name="Client">
617       <mousebind button="Left" action="Press">
618         <action name="Focus"/>
619         <action name="Raise"/>
620       </mousebind>
621       <mousebind button="Middle" action="Press">
622         <action name="Focus"/>
623         <action name="Raise"/>
624       </mousebind>
625       <mousebind button="Right" action="Press">
626         <action name="Focus"/>
627         <action name="Raise"/>
628       </mousebind>
629     </context>
630     <context name="Icon">
631       <mousebind button="Left" action="Press">
632         <action name="Focus"/>
633         <action name="Raise"/>
634         <action name="Unshade"/>
635         <action name="ShowMenu">
636           <menu>client-menu</menu>
637         </action>
638       </mousebind>
639       <mousebind button="Right" action="Press">
640         <action name="Focus"/>
641         <action name="Raise"/>
642         <action name="ShowMenu">
643           <menu>client-menu</menu>
644         </action>
645       </mousebind>
646     </context>
647     <context name="AllDesktops">
648       <mousebind button="Left" action="Press">
649         <action name="Focus"/>
650         <action name="Raise"/>
651         <action name="Unshade"/>
652       </mousebind>
653       <mousebind button="Left" action="Click">
654         <action name="ToggleOmnipresent"/>
655       </mousebind>
656     </context>
657     <context name="Shade">
658       <mousebind button="Left" action="Press">
659         <action name="Focus"/>
660         <action name="Raise"/>
661       </mousebind>
662       <mousebind button="Left" action="Click">
663         <action name="ToggleShade"/>
664       </mousebind>
665     </context>
666     <context name="Iconify">
667       <mousebind button="Left" action="Press">
668         <action name="Focus"/>
669         <action name="Raise"/>
670       </mousebind>
671       <mousebind button="Left" action="Click">
672         <action name="Iconify"/>
673       </mousebind>
674     </context>
675     <context name="Maximize">
676       <mousebind button="Left" action="Press">
677         <action name="Focus"/>
678         <action name="Raise"/>
679         <action name="Unshade"/>
680       </mousebind>
681       <mousebind button="Middle" action="Press">
682         <action name="Focus"/>
683         <action name="Raise"/>
684         <action name="Unshade"/>
685       </mousebind>
686       <mousebind button="Right" action="Press">
687         <action name="Focus"/>
688         <action name="Raise"/>
689         <action name="Unshade"/>
690       </mousebind>
691       <mousebind button="Left" action="Click">
692         <action name="ToggleMaximizeFull"/>
693       </mousebind>
694       <mousebind button="Middle" action="Click">
695         <action name="ToggleMaximizeVert"/>
696       </mousebind>
697       <mousebind button="Right" action="Click">
698         <action name="ToggleMaximizeHorz"/>
699       </mousebind>
700     </context>
701     <context name="Close">
702       <mousebind button="Left" action="Press">
703         <action name="Focus"/>
704         <action name="Raise"/>
705         <action name="Unshade"/>
706       </mousebind>
707       <mousebind button="Left" action="Click">
708         <action name="Close"/>
709       </mousebind>
710     </context>
711     <context name="Desktop">
712       <mousebind button="Up" action="Click">
713         <action name="DesktopPrevious"/>
714       </mousebind>
715       <mousebind button="Down" action="Click">
716         <action name="DesktopNext"/>
717       </mousebind>
718       <mousebind button="A-Up" action="Click">
719         <action name="DesktopPrevious"/>
720       </mousebind>
721       <mousebind button="A-Down" action="Click">
722         <action name="DesktopNext"/>
723       </mousebind>
724       <mousebind button="C-A-Up" action="Click">
725         <action name="DesktopPrevious"/>
726       </mousebind>
727       <mousebind button="C-A-Down" action="Click">
728         <action name="DesktopNext"/>
729       </mousebind>
730       <mousebind button="Left" action="Press">
731         <action name="Focus"/>
732         <action name="Raise"/>
733       </mousebind>
734     </context>
735     <context name="Root">
736       <!-- Menus -->
737       <mousebind button="Middle" action="Press">
738         <action name="ShowMenu">
739           <menu>client-list-combined-menu</menu>
740         </action>
741       </mousebind>
742       <mousebind button="Right" action="Press">
743         <action name="ShowMenu">
744           <menu>root-menu</menu>
745         </action>
746       </mousebind>
747     </context>
748     <context name="MoveResize">
749       <mousebind button="Up" action="Click">
750         <action name="DesktopPrevious"/>
751       </mousebind>
752       <mousebind button="Down" action="Click">
753         <action name="DesktopNext"/>
754       </mousebind>
755       <mousebind button="A-Up" action="Click">
756         <action name="DesktopPrevious"/>
757       </mousebind>
758       <mousebind button="A-Down" action="Click">
759         <action name="DesktopNext"/>
760       </mousebind>
761     </context>
762   </mouse>
763   <menu>
764     <!-- You can specify more than one menu file in here and they are all loaded,
765        just don't make menu ids clash or, well, it'll be kind of pointless -->
766     <!-- default menu file (or custom one in $HOME/.config/openbox/) -->
767     <!-- system menu files on Debian systems -->
768     <file>/var/lib/openbox/debian-menu.xml</file>
769     <!--<file>debian-menu.xml</file>-->
770     <file>menu.xml</file>
771     <hideDelay>200</hideDelay>
772     <middle>no</middle>
773     <submenuShowDelay>100</submenuShowDelay>
774     <applicationIcons>yes</applicationIcons>
775   </menu>
776   <applications>
777     <!--
778   # this is an example with comments through out. use these to make your
779   # own rules, but without the comments of course.
780
781   <application name="first element of window's WM_CLASS property (see xprop)"
782               class="second element of window's WM_CLASS property (see xprop)"
783                role="the window's WM_WINDOW_ROLE property (see xprop)">
784   # the name or the class can be set, or both. this is used to match
785   # windows when they appear. role can optionally be set as well, to
786   # further restrict your matches.
787
788   # the name, class, and role use simple wildcard matching such as those
789   # used by a shell. you can use * to match any characters and ? to match
790   # any single character.
791
792   # when multiple rules match a window, they will all be applied, in the
793   # order that they appear in this list
794
795
796     # each element can be left out or set to 'default' to specify to not 
797     # change that attribute of the window
798
799     <decor>yes</decor>
800     # enable or disable window decorations
801
802     <shade>no</shade>
803     # make the window shaded when it appears, or not
804
805     <position>
806       # the position is only used if both an x and y coordinate are provided
807       # (and not set to 'default')
808       <x>center</x>
809       # a number like 50, or 'center' to center on screen. use a negative number
810       # to start from the right (or bottom for <y>), ie -50 is 50 pixels from the
811       # right edge (or bottom).
812       <y>200</y>
813       <monitor>1</monitor>
814       # specifies the monitor in a xinerama setup.
815       # 1 is the first head, or 'mouse' for wherever the mouse is
816     </position>
817
818     <focus>yes</focus>
819     # if the window should try be given focus when it appears. if this is set
820     # to yes it doesn't guarantee the window will be given focus. some
821     # restrictions may apply, but Openbox will try to
822
823     <desktop>1</desktop>
824     # 1 is the first desktop, 'all' for all desktops
825
826     <layer>normal</layer>
827     # 'above', 'normal', or 'below'
828
829     <iconic>no</iconic>
830     # make the window iconified when it appears, or not
831
832     <skip_pager>no</skip_pager>
833     # asks to not be shown in pagers
834
835     <skip_taskbar>no</skip_taskbar>
836     # asks to not be shown in taskbars. window cycling actions will also
837     # skip past such windows
838
839     <fullscreen>yes</fullscreen>
840     # make the window in fullscreen mode when it appears
841
842     <maximized>true</maximized>
843     # 'Horizontal', 'Vertical' or boolean (yes/no)
844   </application>
845
846   # end of the example
847 -->
848     <application name="firefox-bin" role="browser">
849       <position>
850         <x>35</x>
851         <y>0</y>
852       </position>
853       <maximized>vertical</maximized>
854     </application>
855     <application name="gimp" role="gimp-image-window">
856       <desktop>3</desktop>
857       <maximized>true</maximized>
858       <focus>true</focus>
859     </application>
860     <application name="gimp" role="gimp-toolbox">
861       <skip_taskbar>true</skip_taskbar>
862     </application>
863     <application name="gimp" role="gimp-dock">
864       <skip_taskbar>true</skip_taskbar>
865     </application>
866     <application class="URxvt">
867       <position>
868         <x>80</x>
869         <y>0</y>
870       </position>
871     </application>
872     <application name="gajim.py" role="roster">
873       <position>
874         <x>-0</x>
875         <y>0</y>
876       </position>
877       <maximized>vertical</maximized>
878     </application>
879     <application name="hotot">
880       <position>
881         <x>-0</x>
882         <y>0</y>
883       </position>
884       <maximized>vertical</maximized>
885     </application>
886     <application name="bibble5">
887       <desktop>2</desktop>
888   </application>
889   <application name="zenity">
890     <decor>no</decor>
891     <focus>yes</focus>
892     <position>
893         <x>center</x>
894         <y>center</y>
895     </position>
896     <layer>above</layer>
897     <skip_taskbar>yes</skip_taskbar>
898     <skip_pager>yes</skip_pager>
899   </application>
900   </applications>
901 </openbox_config>