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 -->
39 <!-- force new windows ont the active monitor on a multi-head system, unless
40 they are part of an application already on another monitor -->
44 <name>Clearlooks
</name>
45 <titleLayout>NLIMC
</titleLayout>
47 avaible characters are NDSLIMC, each can occur at most once.
49 L: window label (AKA title).
53 S: shade (roll up/down)
54 D: omnipresent (on all desktops).
56 <keepBorder>yes
</keepBorder>
57 <animateIconify>yes
</animateIconify>
58 <font place=
"ActiveWindow">
61 <!-- font size in points -->
63 <!-- 'bold' or 'normal' -->
65 <!-- 'italic' or 'normal' -->
67 <font place=
"InactiveWindow">
70 <!-- font size in points -->
72 <!-- 'bold' or 'normal' -->
74 <!-- 'italic' or 'normal' -->
76 <font place=
"MenuHeader">
79 <!-- font size in points -->
80 <weight>normal
</weight>
81 <!-- 'bold' or 'normal' -->
83 <!-- 'italic' or 'normal' -->
85 <font place=
"MenuItem">
88 <!-- font size in points -->
89 <weight>normal
</weight>
90 <!-- 'bold' or 'normal' -->
92 <!-- 'italic' or 'normal' -->
94 <font place=
"OnScreenDisplay">
97 <!-- font size in points -->
99 <!-- 'bold' or 'normal' -->
100 <slant>normal
</slant>
101 <!-- 'italic' or 'normal' -->
106 <!-- this stuff is only used at startup, pagers allow you to change them
109 these are default values to use when other ones are not already set
110 by other applications, or saved in your session
112 use obconf if you want to change these without having to log out
115 <firstdesk>1</firstdesk>
117 <!-- set names up here if you want to, like this:
118 <name>desktop 1</name>
119 <name>desktop 2</name>
122 <popupTime>875</popupTime>
123 <!-- The number of milliseconds to show the popup for when switching
124 desktops. Set this to 0 to disable the popup. -->
128 <drawContents>yes
</drawContents>
129 <popupShow>Nonpixel
</popupShow>
130 <!-- 'Always', 'Never', or 'Nonpixel' (xterms and such) -->
131 <popupPosition>Center
</popupPosition>
132 <!-- 'Center', 'Top', or 'Fixed' -->
134 <!-- these are used if popupPosition is set to 'Fixed' -->
137 <!-- positive number for distance from left edge, negative number for
138 distance from right edge, or 'Center' -->
140 <!-- positive number for distance from top edge, negative number for
141 distance from bottom edge, or 'Center' -->
142 </popupFixedPosition>
145 <!-- You can reserve a portion of your screen where windows will not cover when
146 they are maximized, or when they are initially placed.
147 Many programs reserve space automatically, but you can use this in other
157 <position>TopLeft
</position>
158 <!-- (Top|Bottom)(Left|Right|)|Top|Bottom|Left|Right|Floating -->
159 <floatingX>0</floatingX>
160 <floatingY>0</floatingY>
161 <noStrut>no
</noStrut>
162 <stacking>Above
</stacking>
163 <!-- 'Above', 'Normal', or 'Below' -->
164 <direction>Vertical
</direction>
165 <!-- 'Vertical' or 'Horizontal' -->
166 <autoHide>no
</autoHide>
167 <hideDelay>300</hideDelay>
168 <!-- in milliseconds (1000 = 1 second) -->
169 <showDelay>300</showDelay>
170 <!-- in milliseconds (1000 = 1 second) -->
171 <moveButton>Middle
</moveButton>
172 <!-- 'Left', 'Middle', 'Right' -->
176 <chainQuitKey>C-g
</chainQuitKey>
178 <!-- Keybindings for desktop switching -->
179 <keybind key=
"C-A-Left">
180 <action name=
"GoToDesktop"><to>left
</to><wrap>no
</wrap></action>
182 <keybind key=
"C-A-Right">
183 <action name=
"GoToDesktop"><to>right
</to><wrap>no
</wrap></action>
185 <keybind key=
"C-A-Up">
186 <action name=
"GoToDesktop"><to>up
</to><wrap>no
</wrap></action>
188 <keybind key=
"C-A-Down">
189 <action name=
"GoToDesktop"><to>down
</to><wrap>no
</wrap></action>
191 <keybind key=
"S-A-Left">
192 <action name=
"SendToDesktop"><to>left
</to><wrap>no
</wrap></action>
194 <keybind key=
"S-A-Right">
195 <action name=
"SendToDesktop"><to>right
</to><wrap>no
</wrap></action>
197 <keybind key=
"S-A-Up">
198 <action name=
"SendToDesktop"><to>up
</to><wrap>no
</wrap></action>
200 <keybind key=
"S-A-Down">
201 <action name=
"SendToDesktop"><to>down
</to><wrap>no
</wrap></action>
204 <action name=
"GoToDesktop"><to>1</to></action>
207 <action name=
"GoToDesktop"><to>2</to></action>
210 <action name=
"GoToDesktop"><to>3</to></action>
213 <action name=
"GoToDesktop"><to>4</to></action>
216 <action name=
"ToggleShowDesktop"/>
219 <!-- Keybindings for windows -->
221 <action name=
"Close"/>
223 <keybind key=
"A-Escape">
224 <action name=
"Lower"/>
225 <action name=
"FocusToBottom"/>
226 <action name=
"Unfocus"/>
228 <keybind key=
"A-space">
229 <action name=
"ShowMenu"><menu>client-menu
</menu></action>
232 <!-- Keybindings for window switching -->
233 <keybind key=
"A-Tab">
234 <action name=
"NextWindow">
236 <action name=
"Focus"/>
237 <action name=
"Raise"/>
238 <action name=
"Unshade"/>
242 <keybind key=
"A-S-Tab">
243 <action name=
"PreviousWindow">
245 <action name=
"Focus"/>
246 <action name=
"Raise"/>
247 <action name=
"Unshade"/>
251 <keybind key=
"C-A-Tab">
252 <action name=
"NextWindow">
253 <panels>yes
</panels><desktop>yes
</desktop>
255 <action name=
"Focus"/>
256 <action name=
"Raise"/>
257 <action name=
"Unshade"/>
262 <!-- Keybindings for running applications -->
264 <action name=
"Execute">
266 <enabled>true
</enabled>
267 <name>Konqueror
</name>
269 <command>kfmclient openProfile filemanagement
</command>
275 <dragThreshold>8</dragThreshold>
276 <!-- number of pixels the mouse must move before a drag begins -->
277 <doubleClickTime>200</doubleClickTime>
278 <!-- in milliseconds (1000 = 1 second) -->
279 <screenEdgeWarpTime>400</screenEdgeWarpTime>
280 <!-- Time before changing desktops when the pointer touches the edge of the
281 screen while moving a window, in milliseconds (1000 = 1 second).
282 Set this to 0 to disable warping -->
284 <context name=
"Frame">
285 <mousebind button=
"A-Left" action=
"Press">
286 <action name=
"Focus"/>
287 <action name=
"Raise"/>
289 <mousebind button=
"A-Left" action=
"Click">
290 <action name=
"Unshade"/>
292 <mousebind button=
"A-Left" action=
"Drag">
293 <action name=
"Move"/>
296 <mousebind button=
"A-Right" action=
"Press">
297 <action name=
"Focus"/>
298 <action name=
"Raise"/>
299 <action name=
"Unshade"/>
301 <mousebind button=
"A-Right" action=
"Drag">
302 <action name=
"Resize"/>
305 <mousebind button=
"A-Middle" action=
"Press">
306 <action name=
"Lower"/>
307 <action name=
"FocusToBottom"/>
308 <action name=
"Unfocus"/>
311 <mousebind button=
"A-Up" action=
"Click">
312 <action name=
"GoToDesktop"><to>previous
</to></action>
314 <mousebind button=
"A-Down" action=
"Click">
315 <action name=
"GoToDesktop"><to>next
</to></action>
317 <mousebind button=
"C-A-Up" action=
"Click">
318 <action name=
"GoToDesktop"><to>previous
</to></action>
320 <mousebind button=
"C-A-Down" action=
"Click">
321 <action name=
"GoToDesktop"><to>next
</to></action>
323 <mousebind button=
"A-S-Up" action=
"Click">
324 <action name=
"SendToDesktop"><to>previous
</to></action>
326 <mousebind button=
"A-S-Down" action=
"Click">
327 <action name=
"SendToDesktop"><to>next
</to></action>
331 <context name=
"Titlebar">
332 <mousebind button=
"Left" action=
"Press">
333 <action name=
"Focus"/>
334 <action name=
"Raise"/>
336 <mousebind button=
"Left" action=
"Drag">
337 <action name=
"Move"/>
339 <mousebind button=
"Left" action=
"DoubleClick">
340 <action name=
"ToggleMaximize"/>
343 <mousebind button=
"Middle" action=
"Press">
344 <action name=
"Lower"/>
345 <action name=
"FocusToBottom"/>
346 <action name=
"Unfocus"/>
349 <mousebind button=
"Up" action=
"Click">
353 <action name=
"Shade"/>
354 <action name=
"FocusToBottom"/>
355 <action name=
"Unfocus"/>
356 <action name=
"Lower"/>
360 <mousebind button=
"Down" action=
"Click">
364 <action name=
"Unshade"/>
365 <action name=
"Raise"/>
370 <mousebind button=
"Right" action=
"Press">
371 <action name=
"Focus"/>
372 <action name=
"Raise"/>
373 <action name=
"ShowMenu"><menu>client-menu
</menu></action>
378 <mousebind button=
"Left" action=
"Press">
379 <action name=
"Focus"/>
380 <action name=
"Raise"/>
381 <action name=
"Unshade"/>
383 <mousebind button=
"Left" action=
"Drag">
384 <action name=
"Resize"><edge>top
</edge></action>
388 <context name=
"Left">
389 <mousebind button=
"Left" action=
"Press">
390 <action name=
"Focus"/>
391 <action name=
"Raise"/>
393 <mousebind button=
"Left" action=
"Drag">
394 <action name=
"Resize"><edge>left
</edge></action>
398 <context name=
"Right">
399 <mousebind button=
"Left" action=
"Press">
400 <action name=
"Focus"/>
401 <action name=
"Raise"/>
403 <mousebind button=
"Left" action=
"Drag">
404 <action name=
"Resize"><edge>right
</edge></action>
408 <context name=
"Bottom">
409 <mousebind button=
"Left" action=
"Press">
410 <action name=
"Focus"/>
411 <action name=
"Raise"/>
413 <mousebind button=
"Left" action=
"Drag">
414 <action name=
"Resize"><edge>bottom
</edge></action>
417 <mousebind button=
"Middle" action=
"Press">
418 <action name=
"Lower"/>
419 <action name=
"FocusToBottom"/>
420 <action name=
"Unfocus"/>
423 <mousebind button=
"Right" action=
"Press">
424 <action name=
"Focus"/>
425 <action name=
"Raise"/>
426 <action name=
"ShowMenu"><menu>client-menu
</menu></action>
430 <context name=
"BLCorner">
431 <mousebind button=
"Left" action=
"Press">
432 <action name=
"Focus"/>
433 <action name=
"Raise"/>
435 <mousebind button=
"Left" action=
"Drag">
436 <action name=
"Resize"><edge>bottomleft
</edge></action>
440 <context name=
"BRCorner">
441 <mousebind button=
"Left" action=
"Press">
442 <action name=
"Focus"/>
443 <action name=
"Raise"/>
445 <mousebind button=
"Left" action=
"Drag">
446 <action name=
"Resize"><edge>bottomright
</edge></action>
450 <context name=
"TLCorner">
451 <mousebind button=
"Left" action=
"Press">
452 <action name=
"Focus"/>
453 <action name=
"Raise"/>
454 <action name=
"Unshade"/>
456 <mousebind button=
"Left" action=
"Drag">
457 <action name=
"Resize"><edge>topleft
</edge></action>
461 <context name=
"TRCorner">
462 <mousebind button=
"Left" action=
"Press">
463 <action name=
"Focus"/>
464 <action name=
"Raise"/>
465 <action name=
"Unshade"/>
467 <mousebind button=
"Left" action=
"Drag">
468 <action name=
"Resize"><edge>topright
</edge></action>
472 <context name=
"Client">
473 <mousebind button=
"Left" action=
"Press">
474 <action name=
"Focus"/>
475 <action name=
"Raise"/>
477 <mousebind button=
"Middle" action=
"Press">
478 <action name=
"Focus"/>
479 <action name=
"Raise"/>
481 <mousebind button=
"Right" action=
"Press">
482 <action name=
"Focus"/>
483 <action name=
"Raise"/>
487 <context name=
"Icon">
488 <mousebind button=
"Left" action=
"Press">
489 <action name=
"Focus"/>
490 <action name=
"Raise"/>
491 <action name=
"Unshade"/>
492 <action name=
"ShowMenu"><menu>client-menu
</menu></action>
494 <mousebind button=
"Right" action=
"Press">
495 <action name=
"Focus"/>
496 <action name=
"Raise"/>
497 <action name=
"ShowMenu"><menu>client-menu
</menu></action>
501 <context name=
"AllDesktops">
502 <mousebind button=
"Left" action=
"Press">
503 <action name=
"Focus"/>
504 <action name=
"Raise"/>
505 <action name=
"Unshade"/>
507 <mousebind button=
"Left" action=
"Click">
508 <action name=
"ToggleOmnipresent"/>
512 <context name=
"Shade">
513 <mousebind button=
"Left" action=
"Press">
514 <action name=
"Focus"/>
515 <action name=
"Raise"/>
517 <mousebind button=
"Left" action=
"Click">
518 <action name=
"ToggleShade"/>
522 <context name=
"Iconify">
523 <mousebind button=
"Left" action=
"Press">
524 <action name=
"Focus"/>
525 <action name=
"Raise"/>
527 <mousebind button=
"Left" action=
"Click">
528 <action name=
"Iconify"/>
532 <context name=
"Maximize">
533 <mousebind button=
"Left" action=
"Press">
534 <action name=
"Focus"/>
535 <action name=
"Raise"/>
536 <action name=
"Unshade"/>
538 <mousebind button=
"Middle" action=
"Press">
539 <action name=
"Focus"/>
540 <action name=
"Raise"/>
541 <action name=
"Unshade"/>
543 <mousebind button=
"Right" action=
"Press">
544 <action name=
"Focus"/>
545 <action name=
"Raise"/>
546 <action name=
"Unshade"/>
548 <mousebind button=
"Left" action=
"Click">
549 <action name=
"ToggleMaximize"/>
551 <mousebind button=
"Middle" action=
"Click">
552 <action name=
"ToggleMaximize"><direction>vertical
</direction></action>
554 <mousebind button=
"Right" action=
"Click">
555 <action name=
"ToggleMaximize"><direction>horizontal
</direction></action>
559 <context name=
"Close">
560 <mousebind button=
"Left" action=
"Press">
561 <action name=
"Focus"/>
562 <action name=
"Raise"/>
563 <action name=
"Unshade"/>
565 <mousebind button=
"Left" action=
"Click">
566 <action name=
"Close"/>
570 <context name=
"Desktop">
571 <mousebind button=
"Up" action=
"Click">
572 <action name=
"GoToDesktop"><to>previous
</to></action>
574 <mousebind button=
"Down" action=
"Click">
575 <action name=
"GoToDesktop"><to>next
</to></action>
578 <mousebind button=
"A-Up" action=
"Click">
579 <action name=
"GoToDesktop"><to>previous
</to></action>
581 <mousebind button=
"A-Down" action=
"Click">
582 <action name=
"GoToDesktop"><to>next
</to></action>
584 <mousebind button=
"C-A-Up" action=
"Click">
585 <action name=
"GoToDesktop"><to>previous
</to></action>
587 <mousebind button=
"C-A-Down" action=
"Click">
588 <action name=
"GoToDesktop"><to>next
</to></action>
591 <mousebind button=
"Left" action=
"Press">
592 <action name=
"Focus"/>
593 <action name=
"Raise"/>
595 <mousebind button=
"Right" action=
"Press">
596 <action name=
"Focus"/>
597 <action name=
"Raise"/>
601 <context name=
"Root">
603 <mousebind button=
"Middle" action=
"Press">
604 <action name=
"ShowMenu"><menu>client-list-combined-menu
</menu></action>
606 <mousebind button=
"Right" action=
"Press">
607 <action name=
"ShowMenu"><menu>root-menu
</menu></action>
611 <context name=
"MoveResize">
612 <mousebind button=
"Up" action=
"Click">
613 <action name=
"GoToDesktop"><to>previous
</to></action>
615 <mousebind button=
"Down" action=
"Click">
616 <action name=
"GoToDesktop"><to>next
</to></action>
618 <mousebind button=
"A-Up" action=
"Click">
619 <action name=
"GoToDesktop"><to>previous
</to></action>
621 <mousebind button=
"A-Down" action=
"Click">
622 <action name=
"GoToDesktop"><to>next
</to></action>
628 <!-- You can specify more than one menu file in here and they are all loaded,
629 just don't make menu ids clash or, well, it'll be kind of pointless -->
631 <!-- default menu file (or custom one in $HOME/.config/openbox/) -->
632 <file>menu.xml
</file>
633 <hideDelay>200</hideDelay>
635 <submenuShowDelay>100</submenuShowDelay>
636 <applicationIcons>yes
</applicationIcons>
641 # this is an example with comments through out. use these to make your
642 # own rules, but without the comments of course.
644 <application name="first element of window's WM_CLASS property (see xprop)"
645 class="second element of window's WM_CLASS property (see xprop)"
646 role="the window's WM_WINDOW_ROLE property (see xprop)">
647 # the name or the class can be set, or both. this is used to match
648 # windows when they appear. role can optionally be set as well, to
649 # further restrict your matches.
651 # the name, class, and role use simple wildcard matching such as those
652 # used by a shell. you can use * to match any characters and ? to match
653 # any single character.
655 # when multiple rules match a window, they will all be applied, in the
656 # order that they appear in this list
659 # each element can be left out or set to 'default' to specify to not
660 # change that attribute of the window
663 # enable or disable window decorations
666 # make the window shaded when it appears, or not
669 # the position is only used if both an x and y coordinate are provided
670 # (and not set to 'default')
672 # a number like 50, or 'center' to center on screen. use a negative number
673 # to start from the right (or bottom for <y>), ie -50 is 50 pixels from the
674 # right edge (or bottom).
677 # specifies the monitor in a xinerama setup.
678 # 1 is the first head, or 'mouse' for wherever the mouse is
682 # if the window should try be given focus when it appears. if this is set
683 # to yes it doesn't guarantee the window will be given focus. some
684 # restrictions may apply, but Openbox will try to
687 # 1 is the first desktop, 'all' for all desktops
689 <layer>normal</layer>
690 # 'above', 'normal', or 'below'
693 # make the window iconified when it appears, or not
695 <skip_pager>no</skip_pager>
696 # asks to not be shown in pagers
698 <skip_taskbar>no</skip_taskbar>
699 # asks to not be shown in taskbars. window cycling actions will also
700 # skip past such windows
702 <fullscreen>yes</fullscreen>
703 # make the window in fullscreen mode when it appears
705 <maximized>true</maximized>
706 # 'Horizontal', 'Vertical' or boolean (yes/no)