1 <?xml version=
"1.0" encoding=
"UTF-8"?>
3 <!-- Do not edit this file, it will be overwritten on install.
4 Copy the file to $HOME/.config/openbox/ instead. -->
6 <openbox_config xmlns=
"http://openbox.org/3.4/rc">
9 <strength>10</strength>
10 <screen_edge_strength>20</screen_edge_strength>
14 <focusNew>yes
</focusNew>
15 <!-- always try to focus new windows when they appear. other rules do
17 <followMouse>no
</followMouse>
18 <!-- move focus to a window when you move the mouse into it -->
19 <focusLast>yes
</focusLast>
20 <!-- focus the last used window when changing desktops, instead of the one
21 under the mouse pointer. when followMouse is enabled -->
22 <underMouse>no
</underMouse>
23 <!-- move focus under the mouse, even when the mouse is not moving -->
24 <focusDelay>200</focusDelay>
25 <!-- when followMouse is enabled, the mouse must be inside the window for
26 this many milliseconds (1000 = 1 sec) before moving focus to it -->
27 <raiseOnFocus>no
</raiseOnFocus>
28 <!-- when followMouse is enabled, and a window is given focus by moving the
29 mouse into it, also raise the window -->
33 <policy>Smart
</policy>
34 <!-- 'Smart' or 'UnderMouse' -->
36 <!-- whether to place windows in the center of the free area found or
37 the top left corner -->
38 <monitor>Active
</monitor>
39 <!-- with Smart placement on a multi-monitor system, try to place new windows
40 on: 'Any' - any monitor, 'Mouse' - where the mouse is, 'Active' - where
41 the active window is -->
42 <primaryMonitor>1</primaryMonitor>
43 <!-- The monitor where Openbox should place popup dialogs such as the
44 focus cycling popup, or the desktop switch popup. It can be an index
45 from 1, specifying a particular monitor. Or it can be one of the
46 following: 'Mouse' - where the mouse is, or
47 'Active' - where the active window is -->
51 <name>Clearlooks
</name>
52 <titleLayout>NLIMC
</titleLayout>
54 available characters are NDSLIMC, each can occur at most once.
56 L: window label (AKA title).
60 S: shade (roll up/down)
61 D: omnipresent (on all desktops).
63 <keepBorder>yes
</keepBorder>
64 <animateIconify>yes
</animateIconify>
65 <font place=
"ActiveWindow">
68 <!-- font size in points -->
70 <!-- 'bold' or 'normal' -->
72 <!-- 'italic' or 'normal' -->
74 <font place=
"InactiveWindow">
77 <!-- font size in points -->
79 <!-- 'bold' or 'normal' -->
81 <!-- 'italic' or 'normal' -->
83 <font place=
"MenuHeader">
86 <!-- font size in points -->
87 <weight>normal
</weight>
88 <!-- 'bold' or 'normal' -->
90 <!-- 'italic' or 'normal' -->
92 <font place=
"MenuItem">
95 <!-- font size in points -->
96 <weight>normal
</weight>
97 <!-- 'bold' or 'normal' -->
99 <!-- 'italic' or 'normal' -->
101 <font place=
"ActiveOnScreenDisplay">
104 <!-- font size in points -->
105 <weight>bold
</weight>
106 <!-- 'bold' or 'normal' -->
107 <slant>normal
</slant>
108 <!-- 'italic' or 'normal' -->
110 <font place=
"InactiveOnScreenDisplay">
113 <!-- font size in points -->
114 <weight>bold
</weight>
115 <!-- 'bold' or 'normal' -->
116 <slant>normal
</slant>
117 <!-- 'italic' or 'normal' -->
122 <!-- this stuff is only used at startup, pagers allow you to change them
125 these are default values to use when other ones are not already set
126 by other applications, or saved in your session
128 use obconf if you want to change these without having to log out
131 <firstdesk>1</firstdesk>
133 <!-- set names up here if you want to, like this:
134 <name>desktop 1</name>
135 <name>desktop 2</name>
138 <popupTime>875</popupTime>
139 <!-- The number of milliseconds to show the popup for when switching
140 desktops. Set this to 0 to disable the popup. -->
144 <drawContents>yes
</drawContents>
145 <popupShow>Nonpixel
</popupShow>
146 <!-- 'Always', 'Never', or 'Nonpixel' (xterms and such) -->
147 <popupPosition>Center
</popupPosition>
148 <!-- 'Center', 'Top', or 'Fixed' -->
150 <!-- these are used if popupPosition is set to 'Fixed' -->
153 <!-- positive number for distance from left edge, negative number for
154 distance from right edge, or 'Center' -->
156 <!-- positive number for distance from top edge, negative number for
157 distance from bottom edge, or 'Center' -->
158 </popupFixedPosition>
161 <!-- You can reserve a portion of your screen where windows will not cover when
162 they are maximized, or when they are initially placed.
163 Many programs reserve space automatically, but you can use this in other
173 <position>TopLeft
</position>
174 <!-- (Top|Bottom)(Left|Right|)|Top|Bottom|Left|Right|Floating -->
175 <floatingX>0</floatingX>
176 <floatingY>0</floatingY>
177 <noStrut>no
</noStrut>
178 <stacking>Above
</stacking>
179 <!-- 'Above', 'Normal', or 'Below' -->
180 <direction>Vertical
</direction>
181 <!-- 'Vertical' or 'Horizontal' -->
182 <autoHide>no
</autoHide>
183 <hideDelay>300</hideDelay>
184 <!-- in milliseconds (1000 = 1 second) -->
185 <showDelay>300</showDelay>
186 <!-- in milliseconds (1000 = 1 second) -->
187 <moveButton>Middle
</moveButton>
188 <!-- 'Left', 'Middle', 'Right' -->
192 <chainQuitKey>C-g
</chainQuitKey>
194 <!-- Keybindings for desktop switching -->
195 <keybind key=
"C-A-Left">
196 <action name=
"GoToDesktop"><to>left
</to><wrap>no
</wrap></action>
198 <keybind key=
"C-A-Right">
199 <action name=
"GoToDesktop"><to>right
</to><wrap>no
</wrap></action>
201 <keybind key=
"C-A-Up">
202 <action name=
"GoToDesktop"><to>up
</to><wrap>no
</wrap></action>
204 <keybind key=
"C-A-Down">
205 <action name=
"GoToDesktop"><to>down
</to><wrap>no
</wrap></action>
207 <keybind key=
"S-A-Left">
208 <action name=
"SendToDesktop"><to>left
</to><wrap>no
</wrap></action>
210 <keybind key=
"S-A-Right">
211 <action name=
"SendToDesktop"><to>right
</to><wrap>no
</wrap></action>
213 <keybind key=
"S-A-Up">
214 <action name=
"SendToDesktop"><to>up
</to><wrap>no
</wrap></action>
216 <keybind key=
"S-A-Down">
217 <action name=
"SendToDesktop"><to>down
</to><wrap>no
</wrap></action>
220 <action name=
"GoToDesktop"><to>1</to></action>
223 <action name=
"GoToDesktop"><to>2</to></action>
226 <action name=
"GoToDesktop"><to>3</to></action>
229 <action name=
"GoToDesktop"><to>4</to></action>
232 <action name=
"ToggleShowDesktop"/>
235 <!-- Keybindings for windows -->
237 <action name=
"Close"/>
239 <keybind key=
"A-Escape">
240 <action name=
"Lower"/>
241 <action name=
"FocusToBottom"/>
242 <action name=
"Unfocus"/>
244 <keybind key=
"A-space">
245 <action name=
"ShowMenu"><menu>client-menu
</menu></action>
248 <!-- Keybindings for window switching -->
249 <keybind key=
"A-Tab">
250 <action name=
"NextWindow">
252 <action name=
"Focus"/>
253 <action name=
"Raise"/>
254 <action name=
"Unshade"/>
258 <keybind key=
"A-S-Tab">
259 <action name=
"PreviousWindow">
261 <action name=
"Focus"/>
262 <action name=
"Raise"/>
263 <action name=
"Unshade"/>
267 <keybind key=
"C-A-Tab">
268 <action name=
"NextWindow">
269 <panels>yes
</panels><desktop>yes
</desktop>
271 <action name=
"Focus"/>
272 <action name=
"Raise"/>
273 <action name=
"Unshade"/>
278 <!-- Keybindings for window switching with the arrow keys -->
279 <keybind key=
"W-S-Right">
280 <action name=
"DirectionalCycleWindows">
281 <direction>right
</direction>
284 <keybind key=
"W-S-Left">
285 <action name=
"DirectionalCycleWindows">
286 <direction>left
</direction>
289 <keybind key=
"W-S-Up">
290 <action name=
"DirectionalCycleWindows">
291 <direction>up
</direction>
294 <keybind key=
"W-S-Down">
295 <action name=
"DirectionalCycleWindows">
296 <direction>down
</direction>
300 <!-- Keybindings for running applications -->
302 <action name=
"Execute">
304 <enabled>true
</enabled>
305 <name>Konqueror
</name>
307 <command>kfmclient openProfile filemanagement
</command>
313 <dragThreshold>8</dragThreshold>
314 <!-- number of pixels the mouse must move before a drag begins -->
315 <doubleClickTime>200</doubleClickTime>
316 <!-- in milliseconds (1000 = 1 second) -->
317 <screenEdgeWarpTime>400</screenEdgeWarpTime>
318 <!-- Time before changing desktops when the pointer touches the edge of the
319 screen while moving a window, in milliseconds (1000 = 1 second).
320 Set this to 0 to disable warping -->
322 <context name=
"Frame">
323 <mousebind button=
"A-Left" action=
"Press">
324 <action name=
"Focus"/>
325 <action name=
"Raise"/>
327 <mousebind button=
"A-Left" action=
"Click">
328 <action name=
"Unshade"/>
330 <mousebind button=
"A-Left" action=
"Drag">
331 <action name=
"Move"/>
334 <mousebind button=
"A-Right" action=
"Press">
335 <action name=
"Focus"/>
336 <action name=
"Raise"/>
337 <action name=
"Unshade"/>
339 <mousebind button=
"A-Right" action=
"Drag">
340 <action name=
"Resize"/>
343 <mousebind button=
"A-Middle" action=
"Press">
344 <action name=
"Lower"/>
345 <action name=
"FocusToBottom"/>
346 <action name=
"Unfocus"/>
349 <mousebind button=
"A-Up" action=
"Click">
350 <action name=
"GoToDesktop"><to>previous
</to></action>
352 <mousebind button=
"A-Down" action=
"Click">
353 <action name=
"GoToDesktop"><to>next
</to></action>
355 <mousebind button=
"C-A-Up" action=
"Click">
356 <action name=
"GoToDesktop"><to>previous
</to></action>
358 <mousebind button=
"C-A-Down" action=
"Click">
359 <action name=
"GoToDesktop"><to>next
</to></action>
361 <mousebind button=
"A-S-Up" action=
"Click">
362 <action name=
"SendToDesktop"><to>previous
</to></action>
364 <mousebind button=
"A-S-Down" action=
"Click">
365 <action name=
"SendToDesktop"><to>next
</to></action>
369 <context name=
"Titlebar">
370 <mousebind button=
"Left" action=
"Press">
371 <action name=
"Focus"/>
372 <action name=
"Raise"/>
374 <mousebind button=
"Left" action=
"Drag">
375 <action name=
"Move"/>
377 <mousebind button=
"Left" action=
"DoubleClick">
378 <action name=
"ToggleMaximize"/>
381 <mousebind button=
"Middle" action=
"Press">
382 <action name=
"Lower"/>
383 <action name=
"FocusToBottom"/>
384 <action name=
"Unfocus"/>
387 <mousebind button=
"Up" action=
"Click">
391 <action name=
"Shade"/>
392 <action name=
"FocusToBottom"/>
393 <action name=
"Unfocus"/>
394 <action name=
"Lower"/>
398 <mousebind button=
"Down" action=
"Click">
402 <action name=
"Unshade"/>
403 <action name=
"Raise"/>
408 <mousebind button=
"Right" action=
"Press">
409 <action name=
"Focus"/>
410 <action name=
"Raise"/>
411 <action name=
"ShowMenu"><menu>client-menu
</menu></action>
416 <mousebind button=
"Left" action=
"Press">
417 <action name=
"Focus"/>
418 <action name=
"Raise"/>
419 <action name=
"Unshade"/>
421 <mousebind button=
"Left" action=
"Drag">
422 <action name=
"Resize"><edge>top
</edge></action>
426 <context name=
"Left">
427 <mousebind button=
"Left" action=
"Press">
428 <action name=
"Focus"/>
429 <action name=
"Raise"/>
431 <mousebind button=
"Left" action=
"Drag">
432 <action name=
"Resize"><edge>left
</edge></action>
436 <context name=
"Right">
437 <mousebind button=
"Left" action=
"Press">
438 <action name=
"Focus"/>
439 <action name=
"Raise"/>
441 <mousebind button=
"Left" action=
"Drag">
442 <action name=
"Resize"><edge>right
</edge></action>
446 <context name=
"Bottom">
447 <mousebind button=
"Left" action=
"Press">
448 <action name=
"Focus"/>
449 <action name=
"Raise"/>
451 <mousebind button=
"Left" action=
"Drag">
452 <action name=
"Resize"><edge>bottom
</edge></action>
455 <mousebind button=
"Middle" action=
"Press">
456 <action name=
"Lower"/>
457 <action name=
"FocusToBottom"/>
458 <action name=
"Unfocus"/>
461 <mousebind button=
"Right" action=
"Press">
462 <action name=
"Focus"/>
463 <action name=
"Raise"/>
464 <action name=
"ShowMenu"><menu>client-menu
</menu></action>
468 <context name=
"BLCorner">
469 <mousebind button=
"Left" action=
"Press">
470 <action name=
"Focus"/>
471 <action name=
"Raise"/>
473 <mousebind button=
"Left" action=
"Drag">
474 <action name=
"Resize"><edge>bottomleft
</edge></action>
478 <context name=
"BRCorner">
479 <mousebind button=
"Left" action=
"Press">
480 <action name=
"Focus"/>
481 <action name=
"Raise"/>
483 <mousebind button=
"Left" action=
"Drag">
484 <action name=
"Resize"><edge>bottomright
</edge></action>
488 <context name=
"TLCorner">
489 <mousebind button=
"Left" action=
"Press">
490 <action name=
"Focus"/>
491 <action name=
"Raise"/>
492 <action name=
"Unshade"/>
494 <mousebind button=
"Left" action=
"Drag">
495 <action name=
"Resize"><edge>topleft
</edge></action>
499 <context name=
"TRCorner">
500 <mousebind button=
"Left" action=
"Press">
501 <action name=
"Focus"/>
502 <action name=
"Raise"/>
503 <action name=
"Unshade"/>
505 <mousebind button=
"Left" action=
"Drag">
506 <action name=
"Resize"><edge>topright
</edge></action>
510 <context name=
"Client">
511 <mousebind button=
"Left" action=
"Press">
512 <action name=
"Focus"/>
513 <action name=
"Raise"/>
515 <mousebind button=
"Middle" action=
"Press">
516 <action name=
"Focus"/>
517 <action name=
"Raise"/>
519 <mousebind button=
"Right" action=
"Press">
520 <action name=
"Focus"/>
521 <action name=
"Raise"/>
525 <context name=
"Icon">
526 <mousebind button=
"Left" action=
"Press">
527 <action name=
"Focus"/>
528 <action name=
"Raise"/>
529 <action name=
"Unshade"/>
530 <action name=
"ShowMenu"><menu>client-menu
</menu></action>
532 <mousebind button=
"Right" action=
"Press">
533 <action name=
"Focus"/>
534 <action name=
"Raise"/>
535 <action name=
"ShowMenu"><menu>client-menu
</menu></action>
539 <context name=
"AllDesktops">
540 <mousebind button=
"Left" action=
"Press">
541 <action name=
"Focus"/>
542 <action name=
"Raise"/>
543 <action name=
"Unshade"/>
545 <mousebind button=
"Left" action=
"Click">
546 <action name=
"ToggleOmnipresent"/>
550 <context name=
"Shade">
551 <mousebind button=
"Left" action=
"Press">
552 <action name=
"Focus"/>
553 <action name=
"Raise"/>
555 <mousebind button=
"Left" action=
"Click">
556 <action name=
"ToggleShade"/>
560 <context name=
"Iconify">
561 <mousebind button=
"Left" action=
"Press">
562 <action name=
"Focus"/>
563 <action name=
"Raise"/>
565 <mousebind button=
"Left" action=
"Click">
566 <action name=
"Iconify"/>
570 <context name=
"Maximize">
571 <mousebind button=
"Left" action=
"Press">
572 <action name=
"Focus"/>
573 <action name=
"Raise"/>
574 <action name=
"Unshade"/>
576 <mousebind button=
"Middle" action=
"Press">
577 <action name=
"Focus"/>
578 <action name=
"Raise"/>
579 <action name=
"Unshade"/>
581 <mousebind button=
"Right" action=
"Press">
582 <action name=
"Focus"/>
583 <action name=
"Raise"/>
584 <action name=
"Unshade"/>
586 <mousebind button=
"Left" action=
"Click">
587 <action name=
"ToggleMaximize"/>
589 <mousebind button=
"Middle" action=
"Click">
590 <action name=
"ToggleMaximize"><direction>vertical
</direction></action>
592 <mousebind button=
"Right" action=
"Click">
593 <action name=
"ToggleMaximize"><direction>horizontal
</direction></action>
597 <context name=
"Close">
598 <mousebind button=
"Left" action=
"Press">
599 <action name=
"Focus"/>
600 <action name=
"Raise"/>
601 <action name=
"Unshade"/>
603 <mousebind button=
"Left" action=
"Click">
604 <action name=
"Close"/>
608 <context name=
"Desktop">
609 <mousebind button=
"Up" action=
"Click">
610 <action name=
"GoToDesktop"><to>previous
</to></action>
612 <mousebind button=
"Down" action=
"Click">
613 <action name=
"GoToDesktop"><to>next
</to></action>
616 <mousebind button=
"A-Up" action=
"Click">
617 <action name=
"GoToDesktop"><to>previous
</to></action>
619 <mousebind button=
"A-Down" action=
"Click">
620 <action name=
"GoToDesktop"><to>next
</to></action>
622 <mousebind button=
"C-A-Up" action=
"Click">
623 <action name=
"GoToDesktop"><to>previous
</to></action>
625 <mousebind button=
"C-A-Down" action=
"Click">
626 <action name=
"GoToDesktop"><to>next
</to></action>
629 <mousebind button=
"Left" action=
"Press">
630 <action name=
"Focus"/>
631 <action name=
"Raise"/>
633 <mousebind button=
"Right" action=
"Press">
634 <action name=
"Focus"/>
635 <action name=
"Raise"/>
639 <context name=
"Root">
641 <mousebind button=
"Middle" action=
"Press">
642 <action name=
"ShowMenu"><menu>client-list-combined-menu
</menu></action>
644 <mousebind button=
"Right" action=
"Press">
645 <action name=
"ShowMenu"><menu>root-menu
</menu></action>
649 <context name=
"MoveResize">
650 <mousebind button=
"Up" action=
"Click">
651 <action name=
"GoToDesktop"><to>previous
</to></action>
653 <mousebind button=
"Down" action=
"Click">
654 <action name=
"GoToDesktop"><to>next
</to></action>
656 <mousebind button=
"A-Up" action=
"Click">
657 <action name=
"GoToDesktop"><to>previous
</to></action>
659 <mousebind button=
"A-Down" action=
"Click">
660 <action name=
"GoToDesktop"><to>next
</to></action>
666 <!-- You can specify more than one menu file in here and they are all loaded,
667 just don't make menu ids clash or, well, it'll be kind of pointless -->
669 <!-- default menu file (or custom one in $HOME/.config/openbox/) -->
670 <file>menu.xml
</file>
671 <hideDelay>200</hideDelay>
672 <!-- if a press-release lasts longer than this setting (in milliseconds), the
673 menu is hidden again -->
675 <!-- center submenus vertically about the parent entry -->
676 <submenuShowDelay>200</submenuShowDelay>
677 <!-- time to delay before showing a submenu after hovering over the parent
679 if this is a negative value, then the delay is infinite and the
680 submenu will not be shown until it is clicked on -->
681 <submenuHideDelay>400</submenuHideDelay>
682 <!-- time to delay before hiding a submenu when selecting another
683 entry in parent menu -->
684 if this is a negative value, then the delay is infinite and the
685 submenu will not be hidden until a different submenu is opened -->
686 <applicationIcons>yes
</applicationIcons>
687 <!-- controls if icons appear in the client-list-(combined-)menu -->
688 <manageDesktops>yes
</manageDesktops>
689 <!-- show the manage desktops section in the client-list-(combined-)menu -->
694 # this is an example with comments through out. use these to make your
695 # own rules, but without the comments of course.
697 <application name="the window's _OB_NAME property (see obxprop)"
698 class="the window's _OB_CLASS property (see obxprop)"
699 role="the window's _OB_ROLE property (see obxprop)"
700 type="the window's _NET_WM_WINDOW_TYPE (see obxprob)..
701 (if unspecified, then it is 'dialog' for child windows)">
702 # the name or the class can be set, or both. this is used to match
703 # windows when they appear. role can optionally be set as well, to
704 # further restrict your matches.
706 # the name, class, and role use simple wildcard matching such as those
707 # used by a shell. you can use * to match any characters and ? to match
708 # any single character.
710 # the type is one of: normal, dialog, splash, utility, menu, toolbar, dock,
713 # when multiple rules match a window, they will all be applied, in the
714 # order that they appear in this list
717 # each element can be left out or set to 'default' to specify to not
718 # change that attribute of the window
721 # enable or disable window decorations
724 # make the window shaded when it appears, or not
726 <position force="no">
727 # the position is only used if both an x and y coordinate are provided
728 # (and not set to 'default')
729 # when force is "yes", then the window will be placed here even if it
730 # says you want it placed elsewhere. this is to override buggy
731 # applications who refuse to behave
733 # a number like 50, or 'center' to center on screen. use a negative number
734 # to start from the right (or bottom for <y>), ie -50 is 50 pixels from the
735 # right edge (or bottom).
738 # specifies the monitor in a xinerama setup.
739 # 1 is the first head, or 'mouse' for wherever the mouse is
743 # if the window should try be given focus when it appears. if this is set
744 # to yes it doesn't guarantee the window will be given focus. some
745 # restrictions may apply, but Openbox will try to
748 # 1 is the first desktop, 'all' for all desktops
750 <layer>normal</layer>
751 # 'above', 'normal', or 'below'
754 # make the window iconified when it appears, or not
756 <skip_pager>no</skip_pager>
757 # asks to not be shown in pagers
759 <skip_taskbar>no</skip_taskbar>
760 # asks to not be shown in taskbars. window cycling actions will also
761 # skip past such windows
763 <fullscreen>yes</fullscreen>
764 # make the window in fullscreen mode when it appears
766 <maximized>true</maximized>
767 # 'Horizontal', 'Vertical' or boolean (yes/no)