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=
"OnScreenDisplay">
104 <!-- font size in points -->
105 <weight>bold
</weight>
106 <!-- 'bold' or 'normal' -->
107 <slant>normal
</slant>
108 <!-- 'italic' or 'normal' -->
113 <!-- this stuff is only used at startup, pagers allow you to change them
116 these are default values to use when other ones are not already set
117 by other applications, or saved in your session
119 use obconf if you want to change these without having to log out
122 <firstdesk>1</firstdesk>
124 <!-- set names up here if you want to, like this:
125 <name>desktop 1</name>
126 <name>desktop 2</name>
129 <popupTime>875</popupTime>
130 <!-- The number of milliseconds to show the popup for when switching
131 desktops. Set this to 0 to disable the popup. -->
135 <drawContents>yes
</drawContents>
136 <popupShow>Nonpixel
</popupShow>
137 <!-- 'Always', 'Never', or 'Nonpixel' (xterms and such) -->
138 <popupPosition>Center
</popupPosition>
139 <!-- 'Center', 'Top', or 'Fixed' -->
141 <!-- these are used if popupPosition is set to 'Fixed' -->
144 <!-- positive number for distance from left edge, negative number for
145 distance from right edge, or 'Center' -->
147 <!-- positive number for distance from top edge, negative number for
148 distance from bottom edge, or 'Center' -->
149 </popupFixedPosition>
152 <!-- You can reserve a portion of your screen where windows will not cover when
153 they are maximized, or when they are initially placed.
154 Many programs reserve space automatically, but you can use this in other
164 <position>TopLeft
</position>
165 <!-- (Top|Bottom)(Left|Right|)|Top|Bottom|Left|Right|Floating -->
166 <floatingX>0</floatingX>
167 <floatingY>0</floatingY>
168 <noStrut>no
</noStrut>
169 <stacking>Above
</stacking>
170 <!-- 'Above', 'Normal', or 'Below' -->
171 <direction>Vertical
</direction>
172 <!-- 'Vertical' or 'Horizontal' -->
173 <autoHide>no
</autoHide>
174 <hideDelay>300</hideDelay>
175 <!-- in milliseconds (1000 = 1 second) -->
176 <showDelay>300</showDelay>
177 <!-- in milliseconds (1000 = 1 second) -->
178 <moveButton>Middle
</moveButton>
179 <!-- 'Left', 'Middle', 'Right' -->
183 <chainQuitKey>C-g
</chainQuitKey>
185 <!-- Keybindings for desktop switching -->
186 <keybind key=
"C-A-Left">
187 <action name=
"GoToDesktop"><to>left
</to><wrap>no
</wrap></action>
189 <keybind key=
"C-A-Right">
190 <action name=
"GoToDesktop"><to>right
</to><wrap>no
</wrap></action>
192 <keybind key=
"C-A-Up">
193 <action name=
"GoToDesktop"><to>up
</to><wrap>no
</wrap></action>
195 <keybind key=
"C-A-Down">
196 <action name=
"GoToDesktop"><to>down
</to><wrap>no
</wrap></action>
198 <keybind key=
"S-A-Left">
199 <action name=
"SendToDesktop"><to>left
</to><wrap>no
</wrap></action>
201 <keybind key=
"S-A-Right">
202 <action name=
"SendToDesktop"><to>right
</to><wrap>no
</wrap></action>
204 <keybind key=
"S-A-Up">
205 <action name=
"SendToDesktop"><to>up
</to><wrap>no
</wrap></action>
207 <keybind key=
"S-A-Down">
208 <action name=
"SendToDesktop"><to>down
</to><wrap>no
</wrap></action>
211 <action name=
"GoToDesktop"><to>1</to></action>
214 <action name=
"GoToDesktop"><to>2</to></action>
217 <action name=
"GoToDesktop"><to>3</to></action>
220 <action name=
"GoToDesktop"><to>4</to></action>
223 <action name=
"ToggleShowDesktop"/>
226 <!-- Keybindings for windows -->
228 <action name=
"Close"/>
230 <keybind key=
"A-Escape">
231 <action name=
"Lower"/>
232 <action name=
"FocusToBottom"/>
233 <action name=
"Unfocus"/>
235 <keybind key=
"A-space">
236 <action name=
"ShowMenu"><menu>client-menu
</menu></action>
239 <!-- Keybindings for window switching -->
240 <keybind key=
"A-Tab">
241 <action name=
"NextWindow">
243 <action name=
"Focus"/>
244 <action name=
"Raise"/>
245 <action name=
"Unshade"/>
249 <keybind key=
"A-S-Tab">
250 <action name=
"PreviousWindow">
252 <action name=
"Focus"/>
253 <action name=
"Raise"/>
254 <action name=
"Unshade"/>
258 <keybind key=
"C-A-Tab">
259 <action name=
"NextWindow">
260 <panels>yes
</panels><desktop>yes
</desktop>
262 <action name=
"Focus"/>
263 <action name=
"Raise"/>
264 <action name=
"Unshade"/>
269 <!-- Keybindings for window switching with the arrow keys -->
270 <keybind key=
"W-S-Right">
271 <action name=
"DirectionalCycleWindows">
272 <direction>right
</direction>
275 <keybind key=
"W-S-Left">
276 <action name=
"DirectionalCycleWindows">
277 <direction>left
</direction>
280 <keybind key=
"W-S-Up">
281 <action name=
"DirectionalCycleWindows">
282 <direction>up
</direction>
285 <keybind key=
"W-S-Down">
286 <action name=
"DirectionalCycleWindows">
287 <direction>down
</direction>
291 <!-- Keybindings for running applications -->
293 <action name=
"Execute">
295 <enabled>true
</enabled>
296 <name>Konqueror
</name>
298 <command>kfmclient openProfile filemanagement
</command>
304 <dragThreshold>8</dragThreshold>
305 <!-- number of pixels the mouse must move before a drag begins -->
306 <doubleClickTime>200</doubleClickTime>
307 <!-- in milliseconds (1000 = 1 second) -->
308 <screenEdgeWarpTime>400</screenEdgeWarpTime>
309 <!-- Time before changing desktops when the pointer touches the edge of the
310 screen while moving a window, in milliseconds (1000 = 1 second).
311 Set this to 0 to disable warping -->
313 <context name=
"Frame">
314 <mousebind button=
"A-Left" action=
"Press">
315 <action name=
"Focus"/>
316 <action name=
"Raise"/>
318 <mousebind button=
"A-Left" action=
"Click">
319 <action name=
"Unshade"/>
321 <mousebind button=
"A-Left" action=
"Drag">
322 <action name=
"Move"/>
325 <mousebind button=
"A-Right" action=
"Press">
326 <action name=
"Focus"/>
327 <action name=
"Raise"/>
328 <action name=
"Unshade"/>
330 <mousebind button=
"A-Right" action=
"Drag">
331 <action name=
"Resize"/>
334 <mousebind button=
"A-Middle" action=
"Press">
335 <action name=
"Lower"/>
336 <action name=
"FocusToBottom"/>
337 <action name=
"Unfocus"/>
340 <mousebind button=
"A-Up" action=
"Click">
341 <action name=
"GoToDesktop"><to>previous
</to></action>
343 <mousebind button=
"A-Down" action=
"Click">
344 <action name=
"GoToDesktop"><to>next
</to></action>
346 <mousebind button=
"C-A-Up" action=
"Click">
347 <action name=
"GoToDesktop"><to>previous
</to></action>
349 <mousebind button=
"C-A-Down" action=
"Click">
350 <action name=
"GoToDesktop"><to>next
</to></action>
352 <mousebind button=
"A-S-Up" action=
"Click">
353 <action name=
"SendToDesktop"><to>previous
</to></action>
355 <mousebind button=
"A-S-Down" action=
"Click">
356 <action name=
"SendToDesktop"><to>next
</to></action>
360 <context name=
"Titlebar">
361 <mousebind button=
"Left" action=
"Press">
362 <action name=
"Focus"/>
363 <action name=
"Raise"/>
365 <mousebind button=
"Left" action=
"Drag">
366 <action name=
"Move"/>
368 <mousebind button=
"Left" action=
"DoubleClick">
369 <action name=
"ToggleMaximize"/>
372 <mousebind button=
"Middle" action=
"Press">
373 <action name=
"Lower"/>
374 <action name=
"FocusToBottom"/>
375 <action name=
"Unfocus"/>
378 <mousebind button=
"Up" action=
"Click">
382 <action name=
"Shade"/>
383 <action name=
"FocusToBottom"/>
384 <action name=
"Unfocus"/>
385 <action name=
"Lower"/>
389 <mousebind button=
"Down" action=
"Click">
393 <action name=
"Unshade"/>
394 <action name=
"Raise"/>
399 <mousebind button=
"Right" action=
"Press">
400 <action name=
"Focus"/>
401 <action name=
"Raise"/>
402 <action name=
"ShowMenu"><menu>client-menu
</menu></action>
407 <mousebind button=
"Left" action=
"Press">
408 <action name=
"Focus"/>
409 <action name=
"Raise"/>
410 <action name=
"Unshade"/>
412 <mousebind button=
"Left" action=
"Drag">
413 <action name=
"Resize"><edge>top
</edge></action>
417 <context name=
"Left">
418 <mousebind button=
"Left" action=
"Press">
419 <action name=
"Focus"/>
420 <action name=
"Raise"/>
422 <mousebind button=
"Left" action=
"Drag">
423 <action name=
"Resize"><edge>left
</edge></action>
427 <context name=
"Right">
428 <mousebind button=
"Left" action=
"Press">
429 <action name=
"Focus"/>
430 <action name=
"Raise"/>
432 <mousebind button=
"Left" action=
"Drag">
433 <action name=
"Resize"><edge>right
</edge></action>
437 <context name=
"Bottom">
438 <mousebind button=
"Left" action=
"Press">
439 <action name=
"Focus"/>
440 <action name=
"Raise"/>
442 <mousebind button=
"Left" action=
"Drag">
443 <action name=
"Resize"><edge>bottom
</edge></action>
446 <mousebind button=
"Middle" action=
"Press">
447 <action name=
"Lower"/>
448 <action name=
"FocusToBottom"/>
449 <action name=
"Unfocus"/>
452 <mousebind button=
"Right" action=
"Press">
453 <action name=
"Focus"/>
454 <action name=
"Raise"/>
455 <action name=
"ShowMenu"><menu>client-menu
</menu></action>
459 <context name=
"BLCorner">
460 <mousebind button=
"Left" action=
"Press">
461 <action name=
"Focus"/>
462 <action name=
"Raise"/>
464 <mousebind button=
"Left" action=
"Drag">
465 <action name=
"Resize"><edge>bottomleft
</edge></action>
469 <context name=
"BRCorner">
470 <mousebind button=
"Left" action=
"Press">
471 <action name=
"Focus"/>
472 <action name=
"Raise"/>
474 <mousebind button=
"Left" action=
"Drag">
475 <action name=
"Resize"><edge>bottomright
</edge></action>
479 <context name=
"TLCorner">
480 <mousebind button=
"Left" action=
"Press">
481 <action name=
"Focus"/>
482 <action name=
"Raise"/>
483 <action name=
"Unshade"/>
485 <mousebind button=
"Left" action=
"Drag">
486 <action name=
"Resize"><edge>topleft
</edge></action>
490 <context name=
"TRCorner">
491 <mousebind button=
"Left" action=
"Press">
492 <action name=
"Focus"/>
493 <action name=
"Raise"/>
494 <action name=
"Unshade"/>
496 <mousebind button=
"Left" action=
"Drag">
497 <action name=
"Resize"><edge>topright
</edge></action>
501 <context name=
"Client">
502 <mousebind button=
"Left" action=
"Press">
503 <action name=
"Focus"/>
504 <action name=
"Raise"/>
506 <mousebind button=
"Middle" action=
"Press">
507 <action name=
"Focus"/>
508 <action name=
"Raise"/>
510 <mousebind button=
"Right" action=
"Press">
511 <action name=
"Focus"/>
512 <action name=
"Raise"/>
516 <context name=
"Icon">
517 <mousebind button=
"Left" action=
"Press">
518 <action name=
"Focus"/>
519 <action name=
"Raise"/>
520 <action name=
"Unshade"/>
521 <action name=
"ShowMenu"><menu>client-menu
</menu></action>
523 <mousebind button=
"Right" action=
"Press">
524 <action name=
"Focus"/>
525 <action name=
"Raise"/>
526 <action name=
"ShowMenu"><menu>client-menu
</menu></action>
530 <context name=
"AllDesktops">
531 <mousebind button=
"Left" action=
"Press">
532 <action name=
"Focus"/>
533 <action name=
"Raise"/>
534 <action name=
"Unshade"/>
536 <mousebind button=
"Left" action=
"Click">
537 <action name=
"ToggleOmnipresent"/>
541 <context name=
"Shade">
542 <mousebind button=
"Left" action=
"Press">
543 <action name=
"Focus"/>
544 <action name=
"Raise"/>
546 <mousebind button=
"Left" action=
"Click">
547 <action name=
"ToggleShade"/>
551 <context name=
"Iconify">
552 <mousebind button=
"Left" action=
"Press">
553 <action name=
"Focus"/>
554 <action name=
"Raise"/>
556 <mousebind button=
"Left" action=
"Click">
557 <action name=
"Iconify"/>
561 <context name=
"Maximize">
562 <mousebind button=
"Left" action=
"Press">
563 <action name=
"Focus"/>
564 <action name=
"Raise"/>
565 <action name=
"Unshade"/>
567 <mousebind button=
"Middle" action=
"Press">
568 <action name=
"Focus"/>
569 <action name=
"Raise"/>
570 <action name=
"Unshade"/>
572 <mousebind button=
"Right" action=
"Press">
573 <action name=
"Focus"/>
574 <action name=
"Raise"/>
575 <action name=
"Unshade"/>
577 <mousebind button=
"Left" action=
"Click">
578 <action name=
"ToggleMaximize"/>
580 <mousebind button=
"Middle" action=
"Click">
581 <action name=
"ToggleMaximize"><direction>vertical
</direction></action>
583 <mousebind button=
"Right" action=
"Click">
584 <action name=
"ToggleMaximize"><direction>horizontal
</direction></action>
588 <context name=
"Close">
589 <mousebind button=
"Left" action=
"Press">
590 <action name=
"Focus"/>
591 <action name=
"Raise"/>
592 <action name=
"Unshade"/>
594 <mousebind button=
"Left" action=
"Click">
595 <action name=
"Close"/>
599 <context name=
"Desktop">
600 <mousebind button=
"Up" action=
"Click">
601 <action name=
"GoToDesktop"><to>previous
</to></action>
603 <mousebind button=
"Down" action=
"Click">
604 <action name=
"GoToDesktop"><to>next
</to></action>
607 <mousebind button=
"A-Up" action=
"Click">
608 <action name=
"GoToDesktop"><to>previous
</to></action>
610 <mousebind button=
"A-Down" action=
"Click">
611 <action name=
"GoToDesktop"><to>next
</to></action>
613 <mousebind button=
"C-A-Up" action=
"Click">
614 <action name=
"GoToDesktop"><to>previous
</to></action>
616 <mousebind button=
"C-A-Down" action=
"Click">
617 <action name=
"GoToDesktop"><to>next
</to></action>
620 <mousebind button=
"Left" action=
"Press">
621 <action name=
"Focus"/>
622 <action name=
"Raise"/>
624 <mousebind button=
"Right" action=
"Press">
625 <action name=
"Focus"/>
626 <action name=
"Raise"/>
630 <context name=
"Root">
632 <mousebind button=
"Middle" action=
"Press">
633 <action name=
"ShowMenu"><menu>client-list-combined-menu
</menu></action>
635 <mousebind button=
"Right" action=
"Press">
636 <action name=
"ShowMenu"><menu>root-menu
</menu></action>
640 <context name=
"MoveResize">
641 <mousebind button=
"Up" action=
"Click">
642 <action name=
"GoToDesktop"><to>previous
</to></action>
644 <mousebind button=
"Down" action=
"Click">
645 <action name=
"GoToDesktop"><to>next
</to></action>
647 <mousebind button=
"A-Up" action=
"Click">
648 <action name=
"GoToDesktop"><to>previous
</to></action>
650 <mousebind button=
"A-Down" action=
"Click">
651 <action name=
"GoToDesktop"><to>next
</to></action>
657 <!-- You can specify more than one menu file in here and they are all loaded,
658 just don't make menu ids clash or, well, it'll be kind of pointless -->
660 <!-- default menu file (or custom one in $HOME/.config/openbox/) -->
661 <file>menu.xml
</file>
662 <hideDelay>200</hideDelay>
663 <!-- if a press-release lasts longer than this setting (in milliseconds), the
664 menu is hidden again -->
666 <!-- center submenus vertically about the parent entry -->
667 <submenuShowDelay>100</submenuShowDelay>
668 <!-- this one is easy, time to delay before showing a submenu after hovering
669 over the parent entry -->
670 <applicationIcons>yes
</applicationIcons>
671 <!-- controls if icons appear in the client-list-(combined-)menu -->
672 <manageDesktops>yes
</manageDesktops>
673 <!-- show the manage desktops section in the client-list-(combined-)menu -->
678 # this is an example with comments through out. use these to make your
679 # own rules, but without the comments of course.
681 <application name="the window's _OB_NAME property (see obprop)"
682 class="the window's _OB_CLASS property (see obprop)"
683 role="the window's _OB_ROLE property (see obprop)"
684 type="the window's _NET_WM_WINDOW_TYPE (see obprob)..
685 (if unspecified, then it is 'dialog' for child windows)">
686 # the name or the class can be set, or both. this is used to match
687 # windows when they appear. role can optionally be set as well, to
688 # further restrict your matches.
690 # the name, class, and role use simple wildcard matching such as those
691 # used by a shell. you can use * to match any characters and ? to match
692 # any single character.
694 # the type is one of: normal, dialog, splash, utility, menu, toolbar, dock,
697 # when multiple rules match a window, they will all be applied, in the
698 # order that they appear in this list
701 # each element can be left out or set to 'default' to specify to not
702 # change that attribute of the window
705 # enable or disable window decorations
708 # make the window shaded when it appears, or not
710 <position force="no">
711 # the position is only used if both an x and y coordinate are provided
712 # (and not set to 'default')
713 # when force is "yes", then the window will be placed here even if it
714 # says you want it placed elsewhere. this is to override buggy
715 # applications who refuse to behave
717 # a number like 50, or 'center' to center on screen. use a negative number
718 # to start from the right (or bottom for <y>), ie -50 is 50 pixels from the
719 # right edge (or bottom).
722 # specifies the monitor in a xinerama setup.
723 # 1 is the first head, or 'mouse' for wherever the mouse is
727 # if the window should try be given focus when it appears. if this is set
728 # to yes it doesn't guarantee the window will be given focus. some
729 # restrictions may apply, but Openbox will try to
732 # 1 is the first desktop, 'all' for all desktops
734 <layer>normal</layer>
735 # 'above', 'normal', or 'below'
738 # make the window iconified when it appears, or not
740 <skip_pager>no</skip_pager>
741 # asks to not be shown in pagers
743 <skip_taskbar>no</skip_taskbar>
744 # asks to not be shown in taskbars. window cycling actions will also
745 # skip past such windows
747 <fullscreen>yes</fullscreen>
748 # make the window in fullscreen mode when it appears
750 <maximized>true</maximized>
751 # 'Horizontal', 'Vertical' or boolean (yes/no)