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 -->
321 <screenEdgeWarpMouse>false
</screenEdgeWarpMouse>
322 <!-- Set this to TRUE to move the mouse pointer across the desktop when
323 switching due to hitting the edge of the screen -->
325 <context name=
"Frame">
326 <mousebind button=
"A-Left" action=
"Press">
327 <action name=
"Focus"/>
328 <action name=
"Raise"/>
330 <mousebind button=
"A-Left" action=
"Click">
331 <action name=
"Unshade"/>
333 <mousebind button=
"A-Left" action=
"Drag">
334 <action name=
"Move"/>
337 <mousebind button=
"A-Right" action=
"Press">
338 <action name=
"Focus"/>
339 <action name=
"Raise"/>
340 <action name=
"Unshade"/>
342 <mousebind button=
"A-Right" action=
"Drag">
343 <action name=
"Resize"/>
346 <mousebind button=
"A-Middle" action=
"Press">
347 <action name=
"Lower"/>
348 <action name=
"FocusToBottom"/>
349 <action name=
"Unfocus"/>
352 <mousebind button=
"A-Up" action=
"Click">
353 <action name=
"GoToDesktop"><to>previous
</to></action>
355 <mousebind button=
"A-Down" action=
"Click">
356 <action name=
"GoToDesktop"><to>next
</to></action>
358 <mousebind button=
"C-A-Up" action=
"Click">
359 <action name=
"GoToDesktop"><to>previous
</to></action>
361 <mousebind button=
"C-A-Down" action=
"Click">
362 <action name=
"GoToDesktop"><to>next
</to></action>
364 <mousebind button=
"A-S-Up" action=
"Click">
365 <action name=
"SendToDesktop"><to>previous
</to></action>
367 <mousebind button=
"A-S-Down" action=
"Click">
368 <action name=
"SendToDesktop"><to>next
</to></action>
372 <context name=
"Titlebar">
373 <mousebind button=
"Left" action=
"Press">
374 <action name=
"Focus"/>
375 <action name=
"Raise"/>
377 <mousebind button=
"Left" action=
"Drag">
378 <action name=
"Move"/>
380 <mousebind button=
"Left" action=
"DoubleClick">
381 <action name=
"ToggleMaximize"/>
384 <mousebind button=
"Middle" action=
"Press">
385 <action name=
"Lower"/>
386 <action name=
"FocusToBottom"/>
387 <action name=
"Unfocus"/>
390 <mousebind button=
"Up" action=
"Click">
394 <action name=
"Shade"/>
395 <action name=
"FocusToBottom"/>
396 <action name=
"Unfocus"/>
397 <action name=
"Lower"/>
401 <mousebind button=
"Down" action=
"Click">
405 <action name=
"Unshade"/>
406 <action name=
"Raise"/>
411 <mousebind button=
"Right" action=
"Press">
412 <action name=
"Focus"/>
413 <action name=
"Raise"/>
414 <action name=
"ShowMenu"><menu>client-menu
</menu></action>
419 <mousebind button=
"Left" action=
"Press">
420 <action name=
"Focus"/>
421 <action name=
"Raise"/>
422 <action name=
"Unshade"/>
424 <mousebind button=
"Left" action=
"Drag">
425 <action name=
"Resize"><edge>top
</edge></action>
429 <context name=
"Left">
430 <mousebind button=
"Left" action=
"Press">
431 <action name=
"Focus"/>
432 <action name=
"Raise"/>
434 <mousebind button=
"Left" action=
"Drag">
435 <action name=
"Resize"><edge>left
</edge></action>
438 <mousebind button=
"Right" action=
"Press">
439 <action name=
"Focus"/>
440 <action name=
"Raise"/>
441 <action name=
"ShowMenu"><menu>client-menu
</menu></action>
445 <context name=
"Right">
446 <mousebind button=
"Left" action=
"Press">
447 <action name=
"Focus"/>
448 <action name=
"Raise"/>
450 <mousebind button=
"Left" action=
"Drag">
451 <action name=
"Resize"><edge>right
</edge></action>
454 <mousebind button=
"Right" action=
"Press">
455 <action name=
"Focus"/>
456 <action name=
"Raise"/>
457 <action name=
"ShowMenu"><menu>client-menu
</menu></action>
461 <context name=
"Bottom">
462 <mousebind button=
"Left" action=
"Press">
463 <action name=
"Focus"/>
464 <action name=
"Raise"/>
466 <mousebind button=
"Left" action=
"Drag">
467 <action name=
"Resize"><edge>bottom
</edge></action>
470 <mousebind button=
"Middle" action=
"Press">
471 <action name=
"Lower"/>
472 <action name=
"FocusToBottom"/>
473 <action name=
"Unfocus"/>
476 <mousebind button=
"Right" action=
"Press">
477 <action name=
"Focus"/>
478 <action name=
"Raise"/>
479 <action name=
"ShowMenu"><menu>client-menu
</menu></action>
483 <context name=
"BLCorner">
484 <mousebind button=
"Left" action=
"Press">
485 <action name=
"Focus"/>
486 <action name=
"Raise"/>
488 <mousebind button=
"Left" action=
"Drag">
489 <action name=
"Resize"><edge>bottomleft
</edge></action>
493 <context name=
"BRCorner">
494 <mousebind button=
"Left" action=
"Press">
495 <action name=
"Focus"/>
496 <action name=
"Raise"/>
498 <mousebind button=
"Left" action=
"Drag">
499 <action name=
"Resize"><edge>bottomright
</edge></action>
503 <context name=
"TLCorner">
504 <mousebind button=
"Left" action=
"Press">
505 <action name=
"Focus"/>
506 <action name=
"Raise"/>
507 <action name=
"Unshade"/>
509 <mousebind button=
"Left" action=
"Drag">
510 <action name=
"Resize"><edge>topleft
</edge></action>
514 <context name=
"TRCorner">
515 <mousebind button=
"Left" action=
"Press">
516 <action name=
"Focus"/>
517 <action name=
"Raise"/>
518 <action name=
"Unshade"/>
520 <mousebind button=
"Left" action=
"Drag">
521 <action name=
"Resize"><edge>topright
</edge></action>
525 <context name=
"Client">
526 <mousebind button=
"Left" action=
"Press">
527 <action name=
"Focus"/>
528 <action name=
"Raise"/>
530 <mousebind button=
"Middle" action=
"Press">
531 <action name=
"Focus"/>
532 <action name=
"Raise"/>
534 <mousebind button=
"Right" action=
"Press">
535 <action name=
"Focus"/>
536 <action name=
"Raise"/>
540 <context name=
"Icon">
541 <mousebind button=
"Left" action=
"Press">
542 <action name=
"Focus"/>
543 <action name=
"Raise"/>
544 <action name=
"Unshade"/>
545 <action name=
"ShowMenu"><menu>client-menu
</menu></action>
547 <mousebind button=
"Right" action=
"Press">
548 <action name=
"Focus"/>
549 <action name=
"Raise"/>
550 <action name=
"ShowMenu"><menu>client-menu
</menu></action>
554 <context name=
"AllDesktops">
555 <mousebind button=
"Left" action=
"Press">
556 <action name=
"Focus"/>
557 <action name=
"Raise"/>
558 <action name=
"Unshade"/>
560 <mousebind button=
"Left" action=
"Click">
561 <action name=
"ToggleOmnipresent"/>
565 <context name=
"Shade">
566 <mousebind button=
"Left" action=
"Press">
567 <action name=
"Focus"/>
568 <action name=
"Raise"/>
570 <mousebind button=
"Left" action=
"Click">
571 <action name=
"ToggleShade"/>
575 <context name=
"Iconify">
576 <mousebind button=
"Left" action=
"Press">
577 <action name=
"Focus"/>
578 <action name=
"Raise"/>
580 <mousebind button=
"Left" action=
"Click">
581 <action name=
"Iconify"/>
585 <context name=
"Maximize">
586 <mousebind button=
"Left" action=
"Press">
587 <action name=
"Focus"/>
588 <action name=
"Raise"/>
589 <action name=
"Unshade"/>
591 <mousebind button=
"Middle" action=
"Press">
592 <action name=
"Focus"/>
593 <action name=
"Raise"/>
594 <action name=
"Unshade"/>
596 <mousebind button=
"Right" action=
"Press">
597 <action name=
"Focus"/>
598 <action name=
"Raise"/>
599 <action name=
"Unshade"/>
601 <mousebind button=
"Left" action=
"Click">
602 <action name=
"ToggleMaximize"/>
604 <mousebind button=
"Middle" action=
"Click">
605 <action name=
"ToggleMaximize"><direction>vertical
</direction></action>
607 <mousebind button=
"Right" action=
"Click">
608 <action name=
"ToggleMaximize"><direction>horizontal
</direction></action>
612 <context name=
"Close">
613 <mousebind button=
"Left" action=
"Press">
614 <action name=
"Focus"/>
615 <action name=
"Raise"/>
616 <action name=
"Unshade"/>
618 <mousebind button=
"Left" action=
"Click">
619 <action name=
"Close"/>
623 <context name=
"Desktop">
624 <mousebind button=
"Up" action=
"Click">
625 <action name=
"GoToDesktop"><to>previous
</to></action>
627 <mousebind button=
"Down" action=
"Click">
628 <action name=
"GoToDesktop"><to>next
</to></action>
631 <mousebind button=
"A-Up" action=
"Click">
632 <action name=
"GoToDesktop"><to>previous
</to></action>
634 <mousebind button=
"A-Down" action=
"Click">
635 <action name=
"GoToDesktop"><to>next
</to></action>
637 <mousebind button=
"C-A-Up" action=
"Click">
638 <action name=
"GoToDesktop"><to>previous
</to></action>
640 <mousebind button=
"C-A-Down" action=
"Click">
641 <action name=
"GoToDesktop"><to>next
</to></action>
644 <mousebind button=
"Left" action=
"Press">
645 <action name=
"Focus"/>
646 <action name=
"Raise"/>
648 <mousebind button=
"Right" action=
"Press">
649 <action name=
"Focus"/>
650 <action name=
"Raise"/>
654 <context name=
"Root">
656 <mousebind button=
"Middle" action=
"Press">
657 <action name=
"ShowMenu"><menu>client-list-combined-menu
</menu></action>
659 <mousebind button=
"Right" action=
"Press">
660 <action name=
"ShowMenu"><menu>root-menu
</menu></action>
664 <context name=
"MoveResize">
665 <mousebind button=
"Up" action=
"Click">
666 <action name=
"GoToDesktop"><to>previous
</to></action>
668 <mousebind button=
"Down" action=
"Click">
669 <action name=
"GoToDesktop"><to>next
</to></action>
671 <mousebind button=
"A-Up" action=
"Click">
672 <action name=
"GoToDesktop"><to>previous
</to></action>
674 <mousebind button=
"A-Down" action=
"Click">
675 <action name=
"GoToDesktop"><to>next
</to></action>
681 <!-- You can specify more than one menu file in here and they are all loaded,
682 just don't make menu ids clash or, well, it'll be kind of pointless -->
684 <!-- default menu file (or custom one in $HOME/.config/openbox/) -->
685 <file>menu.xml
</file>
686 <hideDelay>200</hideDelay>
687 <!-- if a press-release lasts longer than this setting (in milliseconds), the
688 menu is hidden again -->
690 <!-- center submenus vertically about the parent entry -->
691 <submenuShowDelay>100</submenuShowDelay>
692 <!-- time to delay before showing a submenu after hovering over the parent
694 if this is a negative value, then the delay is infinite and the
695 submenu will not be shown until it is clicked on -->
696 <submenuHideDelay>400</submenuHideDelay>
697 <!-- time to delay before hiding a submenu when selecting another
698 entry in parent menu -->
699 if this is a negative value, then the delay is infinite and the
700 submenu will not be hidden until a different submenu is opened -->
701 <applicationIcons>yes
</applicationIcons>
702 <!-- controls if icons appear in the client-list-(combined-)menu -->
703 <manageDesktops>yes
</manageDesktops>
704 <!-- show the manage desktops section in the client-list-(combined-)menu -->
709 # this is an example with comments through out. use these to make your
710 # own rules, but without the comments of course.
711 # you may use one or more of the name/class/role/title/type rules to specify
714 <application name="the window's _OB_APP_NAME property (see obxprop)"
715 class="the window's _OB_APP_CLASS property (see obxprop)"
716 role="the window's _OB_APP_ROLE property (see obxprop)"
717 title="the window's _OB_APP_TITLE property (see obxprop)"
718 type="the window's _OB_APP_TYPE property (see obxprob)..
719 (if unspecified, then it is 'dialog' for child windows)">
720 # you may set only one of name/class/role/title/type, or you may use more
721 # than one together to restrict your matches.
723 # the name, class, role, and title use simple wildcard matching such as those
724 # used by a shell. you can use * to match any characters and ? to match
725 # any single character.
727 # the type is one of: normal, dialog, splash, utility, menu, toolbar, dock,
730 # when multiple rules match a window, they will all be applied, in the
731 # order that they appear in this list
734 # each rule element can be left out or set to 'default' to specify to not
735 # change that attribute of the window
738 # enable or disable window decorations
741 # make the window shaded when it appears, or not
743 <position force="no">
744 # the position is only used if both an x and y coordinate are provided
745 # (and not set to 'default')
746 # when force is "yes", then the window will be placed here even if it
747 # says you want it placed elsewhere. this is to override buggy
748 # applications who refuse to behave
750 # a number like 50, or 'center' to center on screen. use a negative number
751 # to start from the right (or bottom for <y>), ie -50 is 50 pixels from the
752 # right edge (or bottom).
755 # specifies the monitor in a xinerama setup.
756 # 1 is the first head, or 'mouse' for wherever the mouse is
760 # if the window should try be given focus when it appears. if this is set
761 # to yes it doesn't guarantee the window will be given focus. some
762 # restrictions may apply, but Openbox will try to
765 # 1 is the first desktop, 'all' for all desktops
767 <layer>normal</layer>
768 # 'above', 'normal', or 'below'
771 # make the window iconified when it appears, or not
773 <skip_pager>no</skip_pager>
774 # asks to not be shown in pagers
776 <skip_taskbar>no</skip_taskbar>
777 # asks to not be shown in taskbars. window cycling actions will also
778 # skip past such windows
780 <fullscreen>yes</fullscreen>
781 # make the window in fullscreen mode when it appears
783 <maximized>true</maximized>
784 # 'Horizontal', 'Vertical' or boolean (yes/no)