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