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>
435 <mousebind button=
"Right" action=
"Press">
436 <action name=
"Focus"/>
437 <action name=
"Raise"/>
438 <action name=
"ShowMenu"><menu>client-menu
</menu></action>
442 <context name=
"Right">
443 <mousebind button=
"Left" action=
"Press">
444 <action name=
"Focus"/>
445 <action name=
"Raise"/>
447 <mousebind button=
"Left" action=
"Drag">
448 <action name=
"Resize"><edge>right
</edge></action>
451 <mousebind button=
"Right" action=
"Press">
452 <action name=
"Focus"/>
453 <action name=
"Raise"/>
454 <action name=
"ShowMenu"><menu>client-menu
</menu></action>
458 <context name=
"Bottom">
459 <mousebind button=
"Left" action=
"Press">
460 <action name=
"Focus"/>
461 <action name=
"Raise"/>
463 <mousebind button=
"Left" action=
"Drag">
464 <action name=
"Resize"><edge>bottom
</edge></action>
467 <mousebind button=
"Middle" action=
"Press">
468 <action name=
"Lower"/>
469 <action name=
"FocusToBottom"/>
470 <action name=
"Unfocus"/>
473 <mousebind button=
"Right" action=
"Press">
474 <action name=
"Focus"/>
475 <action name=
"Raise"/>
476 <action name=
"ShowMenu"><menu>client-menu
</menu></action>
480 <context name=
"BLCorner">
481 <mousebind button=
"Left" action=
"Press">
482 <action name=
"Focus"/>
483 <action name=
"Raise"/>
485 <mousebind button=
"Left" action=
"Drag">
486 <action name=
"Resize"><edge>bottomleft
</edge></action>
490 <context name=
"BRCorner">
491 <mousebind button=
"Left" action=
"Press">
492 <action name=
"Focus"/>
493 <action name=
"Raise"/>
495 <mousebind button=
"Left" action=
"Drag">
496 <action name=
"Resize"><edge>bottomright
</edge></action>
500 <context name=
"TLCorner">
501 <mousebind button=
"Left" action=
"Press">
502 <action name=
"Focus"/>
503 <action name=
"Raise"/>
504 <action name=
"Unshade"/>
506 <mousebind button=
"Left" action=
"Drag">
507 <action name=
"Resize"><edge>topleft
</edge></action>
511 <context name=
"TRCorner">
512 <mousebind button=
"Left" action=
"Press">
513 <action name=
"Focus"/>
514 <action name=
"Raise"/>
515 <action name=
"Unshade"/>
517 <mousebind button=
"Left" action=
"Drag">
518 <action name=
"Resize"><edge>topright
</edge></action>
522 <context name=
"Client">
523 <mousebind button=
"Left" action=
"Press">
524 <action name=
"Focus"/>
525 <action name=
"Raise"/>
527 <mousebind button=
"Middle" action=
"Press">
528 <action name=
"Focus"/>
529 <action name=
"Raise"/>
531 <mousebind button=
"Right" action=
"Press">
532 <action name=
"Focus"/>
533 <action name=
"Raise"/>
537 <context name=
"Icon">
538 <mousebind button=
"Left" action=
"Press">
539 <action name=
"Focus"/>
540 <action name=
"Raise"/>
541 <action name=
"Unshade"/>
542 <action name=
"ShowMenu"><menu>client-menu
</menu></action>
544 <mousebind button=
"Right" action=
"Press">
545 <action name=
"Focus"/>
546 <action name=
"Raise"/>
547 <action name=
"ShowMenu"><menu>client-menu
</menu></action>
551 <context name=
"AllDesktops">
552 <mousebind button=
"Left" action=
"Press">
553 <action name=
"Focus"/>
554 <action name=
"Raise"/>
555 <action name=
"Unshade"/>
557 <mousebind button=
"Left" action=
"Click">
558 <action name=
"ToggleOmnipresent"/>
562 <context name=
"Shade">
563 <mousebind button=
"Left" action=
"Press">
564 <action name=
"Focus"/>
565 <action name=
"Raise"/>
567 <mousebind button=
"Left" action=
"Click">
568 <action name=
"ToggleShade"/>
572 <context name=
"Iconify">
573 <mousebind button=
"Left" action=
"Press">
574 <action name=
"Focus"/>
575 <action name=
"Raise"/>
577 <mousebind button=
"Left" action=
"Click">
578 <action name=
"Iconify"/>
582 <context name=
"Maximize">
583 <mousebind button=
"Left" action=
"Press">
584 <action name=
"Focus"/>
585 <action name=
"Raise"/>
586 <action name=
"Unshade"/>
588 <mousebind button=
"Middle" action=
"Press">
589 <action name=
"Focus"/>
590 <action name=
"Raise"/>
591 <action name=
"Unshade"/>
593 <mousebind button=
"Right" action=
"Press">
594 <action name=
"Focus"/>
595 <action name=
"Raise"/>
596 <action name=
"Unshade"/>
598 <mousebind button=
"Left" action=
"Click">
599 <action name=
"ToggleMaximize"/>
601 <mousebind button=
"Middle" action=
"Click">
602 <action name=
"ToggleMaximize"><direction>vertical
</direction></action>
604 <mousebind button=
"Right" action=
"Click">
605 <action name=
"ToggleMaximize"><direction>horizontal
</direction></action>
609 <context name=
"Close">
610 <mousebind button=
"Left" action=
"Press">
611 <action name=
"Focus"/>
612 <action name=
"Raise"/>
613 <action name=
"Unshade"/>
615 <mousebind button=
"Left" action=
"Click">
616 <action name=
"Close"/>
620 <context name=
"Desktop">
621 <mousebind button=
"Up" action=
"Click">
622 <action name=
"GoToDesktop"><to>previous
</to></action>
624 <mousebind button=
"Down" action=
"Click">
625 <action name=
"GoToDesktop"><to>next
</to></action>
628 <mousebind button=
"A-Up" action=
"Click">
629 <action name=
"GoToDesktop"><to>previous
</to></action>
631 <mousebind button=
"A-Down" action=
"Click">
632 <action name=
"GoToDesktop"><to>next
</to></action>
634 <mousebind button=
"C-A-Up" action=
"Click">
635 <action name=
"GoToDesktop"><to>previous
</to></action>
637 <mousebind button=
"C-A-Down" action=
"Click">
638 <action name=
"GoToDesktop"><to>next
</to></action>
641 <mousebind button=
"Left" action=
"Press">
642 <action name=
"Focus"/>
643 <action name=
"Raise"/>
645 <mousebind button=
"Right" action=
"Press">
646 <action name=
"Focus"/>
647 <action name=
"Raise"/>
651 <context name=
"Root">
653 <mousebind button=
"Middle" action=
"Press">
654 <action name=
"ShowMenu"><menu>client-list-combined-menu
</menu></action>
656 <mousebind button=
"Right" action=
"Press">
657 <action name=
"ShowMenu"><menu>root-menu
</menu></action>
661 <context name=
"MoveResize">
662 <mousebind button=
"Up" action=
"Click">
663 <action name=
"GoToDesktop"><to>previous
</to></action>
665 <mousebind button=
"Down" action=
"Click">
666 <action name=
"GoToDesktop"><to>next
</to></action>
668 <mousebind button=
"A-Up" action=
"Click">
669 <action name=
"GoToDesktop"><to>previous
</to></action>
671 <mousebind button=
"A-Down" action=
"Click">
672 <action name=
"GoToDesktop"><to>next
</to></action>
678 <!-- You can specify more than one menu file in here and they are all loaded,
679 just don't make menu ids clash or, well, it'll be kind of pointless -->
681 <!-- default menu file (or custom one in $HOME/.config/openbox/) -->
682 <file>menu.xml
</file>
683 <hideDelay>200</hideDelay>
684 <!-- if a press-release lasts longer than this setting (in milliseconds), the
685 menu is hidden again -->
687 <!-- center submenus vertically about the parent entry -->
688 <submenuShowDelay>100</submenuShowDelay>
689 <!-- time to delay before showing a submenu after hovering over the parent
691 if this is a negative value, then the delay is infinite and the
692 submenu will not be shown until it is clicked on -->
693 <submenuHideDelay>400</submenuHideDelay>
694 <!-- time to delay before hiding a submenu when selecting another
695 entry in parent menu -->
696 if this is a negative value, then the delay is infinite and the
697 submenu will not be hidden until a different submenu is opened -->
698 <applicationIcons>yes
</applicationIcons>
699 <!-- controls if icons appear in the client-list-(combined-)menu -->
700 <manageDesktops>yes
</manageDesktops>
701 <!-- show the manage desktops section in the client-list-(combined-)menu -->
706 # this is an example with comments through out. use these to make your
707 # own rules, but without the comments of course.
708 # you may use one or more of the name/class/role/title/type rules to specify
711 <application name="the window's _OB_APP_NAME property (see obxprop)"
712 class="the window's _OB_APP_CLASS property (see obxprop)"
713 role="the window's _OB_APP_ROLE property (see obxprop)"
714 title="the window's _OB_APP_TITLE property (see obxprop)"
715 type="the window's _OB_APP_TYPE property (see obxprob)..
716 (if unspecified, then it is 'dialog' for child windows)">
717 # you may set only one of name/class/role/title/type, or you may use more
718 # than one together to restrict your matches.
720 # the name, class, role, and title use simple wildcard matching such as those
721 # used by a shell. you can use * to match any characters and ? to match
722 # any single character.
724 # the type is one of: normal, dialog, splash, utility, menu, toolbar, dock,
727 # when multiple rules match a window, they will all be applied, in the
728 # order that they appear in this list
731 # each rule element can be left out or set to 'default' to specify to not
732 # change that attribute of the window
735 # enable or disable window decorations
738 # make the window shaded when it appears, or not
740 <position force="no">
741 # the position is only used if both an x and y coordinate are provided
742 # (and not set to 'default')
743 # when force is "yes", then the window will be placed here even if it
744 # says you want it placed elsewhere. this is to override buggy
745 # applications who refuse to behave
747 # a number like 50, or 'center' to center on screen. use a negative number
748 # to start from the right (or bottom for <y>), ie -50 is 50 pixels from the
749 # right edge (or bottom).
752 # specifies the monitor in a xinerama setup.
753 # 1 is the first head, or 'mouse' for wherever the mouse is
757 # if the window should try be given focus when it appears. if this is set
758 # to yes it doesn't guarantee the window will be given focus. some
759 # restrictions may apply, but Openbox will try to
762 # 1 is the first desktop, 'all' for all desktops
764 <layer>normal</layer>
765 # 'above', 'normal', or 'below'
768 # make the window iconified when it appears, or not
770 <skip_pager>no</skip_pager>
771 # asks to not be shown in pagers
773 <skip_taskbar>no</skip_taskbar>
774 # asks to not be shown in taskbars. window cycling actions will also
775 # skip past such windows
777 <fullscreen>yes</fullscreen>
778 # make the window in fullscreen mode when it appears
780 <maximized>true</maximized>
781 # 'Horizontal', 'Vertical' or boolean (yes/no)