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 -->
41 <name>Clearlooks
</name>
42 <titleLayout>NLIMC
</titleLayout>
44 avaible characters are NDSLIMC, each can occur at most once.
46 L: window label (AKA title).
50 S: shade (roll up/down)
51 D: omnipresent (on all desktops).
53 <keepBorder>yes
</keepBorder>
54 <animateIconify>yes
</animateIconify>
55 <font place=
"ActiveWindow">
58 <!-- font size in points -->
60 <!-- 'bold' or 'normal' -->
62 <!-- 'italic' or 'normal' -->
64 <font place=
"InactiveWindow">
67 <!-- font size in points -->
69 <!-- 'bold' or 'normal' -->
71 <!-- 'italic' or 'normal' -->
73 <font place=
"MenuHeader">
76 <!-- font size in points -->
77 <weight>normal
</weight>
78 <!-- 'bold' or 'normal' -->
80 <!-- 'italic' or 'normal' -->
82 <font place=
"MenuItem">
85 <!-- font size in points -->
86 <weight>normal
</weight>
87 <!-- 'bold' or 'normal' -->
89 <!-- 'italic' or 'normal' -->
91 <font place=
"OnScreenDisplay">
94 <!-- font size in points -->
96 <!-- 'bold' or 'normal' -->
98 <!-- 'italic' or 'normal' -->
103 <!-- this stuff is only used at startup, pagers allow you to change them
106 these are default values to use when other ones are not already set
107 by other applications, or saved in your session
109 use obconf if you want to change these without having to log out
112 <firstdesk>1</firstdesk>
114 <!-- set names up here if you want to, like this:
115 <name>desktop 1</name>
116 <name>desktop 2</name>
122 <drawContents>yes
</drawContents>
123 <popupShow>Nonpixel
</popupShow>
124 <!-- 'Always', 'Never', or 'Nonpixel' (xterms and such) -->
125 <popupPosition>Center
</popupPosition>
126 <!-- 'Center' or 'Top' -->
129 <!-- You can reserve a portion of your screen where windows will not cover when
130 they are maximized, or when they are initially placed.
131 Many programs reserve space automatically, but you can use this in other
141 <position>TopLeft
</position>
142 <!-- (Top|Bottom)(Left|Right|)|Top|Bottom|Left|Right|Floating -->
143 <floatingX>0</floatingX>
144 <floatingY>0</floatingY>
145 <noStrut>no
</noStrut>
146 <stacking>Above
</stacking>
147 <!-- 'Above', 'Normal', or 'Below' -->
148 <direction>Vertical
</direction>
149 <!-- 'Vertical' or 'Horizontal' -->
150 <autoHide>no
</autoHide>
151 <hideDelay>300</hideDelay>
152 <!-- in milliseconds (1000 = 1 second) -->
153 <showDelay>300</showDelay>
154 <!-- in milliseconds (1000 = 1 second) -->
155 <moveButton>Middle
</moveButton>
156 <!-- 'Left', 'Middle', 'Right' -->
160 <chainQuitKey>C-g
</chainQuitKey>
162 <!-- Keybindings for desktop switching -->
163 <keybind key=
"C-A-Left">
164 <action name=
"DesktopLeft"><dialog>no
</dialog><wrap>no
</wrap></action>
166 <keybind key=
"C-A-Right">
167 <action name=
"DesktopRight"><dialog>no
</dialog><wrap>no
</wrap></action>
169 <keybind key=
"C-A-Up">
170 <action name=
"DesktopUp"><dialog>no
</dialog><wrap>no
</wrap></action>
172 <keybind key=
"C-A-Down">
173 <action name=
"DesktopDown"><dialog>no
</dialog><wrap>no
</wrap></action>
175 <keybind key=
"S-A-Left">
176 <action name=
"SendToDesktopLeft"><dialog>no
</dialog><wrap>no
</wrap></action>
178 <keybind key=
"S-A-Right">
179 <action name=
"SendToDesktopRight"><dialog>no
</dialog><wrap>no
</wrap></action>
181 <keybind key=
"S-A-Up">
182 <action name=
"SendToDesktopUp"><dialog>no
</dialog><wrap>no
</wrap></action>
184 <keybind key=
"S-A-Down">
185 <action name=
"SendToDesktopDown"><dialog>no
</dialog><wrap>no
</wrap></action>
188 <action name=
"Desktop"><desktop>1</desktop></action>
191 <action name=
"Desktop"><desktop>2</desktop></action>
194 <action name=
"Desktop"><desktop>3</desktop></action>
197 <action name=
"Desktop"><desktop>4</desktop></action>
200 <action name=
"ToggleShowDesktop"/>
203 <!-- Keybindings for windows -->
205 <action name=
"Close"/>
207 <keybind key=
"A-Escape">
208 <action name=
"Lower"/>
209 <action name=
"FocusToBottom"/>
210 <action name=
"Unfocus"/>
212 <keybind key=
"A-space">
213 <action name=
"ShowMenu"><menu>client-menu
</menu></action>
216 <!-- Keybindings for window switching -->
217 <keybind key=
"A-Tab">
218 <action name=
"NextWindow"/>
220 <keybind key=
"A-S-Tab">
221 <action name=
"PreviousWindow"/>
223 <keybind key=
"C-A-Tab">
224 <action name=
"NextWindow">
225 <panels>yes
</panels><desktop>yes
</desktop>
229 <!-- Keybindings for running applications -->
231 <action name=
"Execute">
233 <enabled>true
</enabled>
234 <name>Konqueror
</name>
236 <execute>kfmclient openProfile filemanagement
</execute>
242 <dragThreshold>8</dragThreshold>
243 <!-- number of pixels the mouse must move before a drag begins -->
244 <doubleClickTime>200</doubleClickTime>
245 <!-- in milliseconds (1000 = 1 second) -->
246 <screenEdgeWarpTime>400</screenEdgeWarpTime>
247 <!-- time before changing desktops when the pointer touches the edge of the
248 screen while moving a window, in milliseconds (1000 = 1 second),
249 0 disables warping -->
251 <context name=
"Frame">
252 <mousebind button=
"A-Left" action=
"Press">
253 <action name=
"Focus"/>
254 <action name=
"Raise"/>
256 <mousebind button=
"A-Left" action=
"Click">
257 <action name=
"Unshade"/>
259 <mousebind button=
"A-Left" action=
"Drag">
260 <action name=
"Move"/>
263 <mousebind button=
"A-Right" action=
"Press">
264 <action name=
"Focus"/>
265 <action name=
"Raise"/>
266 <action name=
"Unshade"/>
268 <mousebind button=
"A-Right" action=
"Drag">
269 <action name=
"Resize"/>
272 <mousebind button=
"A-Middle" action=
"Press">
273 <action name=
"Lower"/>
274 <action name=
"FocusToBottom"/>
275 <action name=
"Unfocus"/>
278 <mousebind button=
"A-Up" action=
"Click">
279 <action name=
"DesktopPrevious"/>
281 <mousebind button=
"A-Down" action=
"Click">
282 <action name=
"DesktopNext"/>
284 <mousebind button=
"C-A-Up" action=
"Click">
285 <action name=
"DesktopPrevious"/>
287 <mousebind button=
"C-A-Down" action=
"Click">
288 <action name=
"DesktopNext"/>
290 <mousebind button=
"A-S-Up" action=
"Click">
291 <action name=
"SendToDesktopPrevious"/>
293 <mousebind button=
"A-S-Down" action=
"Click">
294 <action name=
"SendToDesktopNext"/>
298 <context name=
"Titlebar">
299 <mousebind button=
"Left" action=
"Press">
300 <action name=
"Focus"/>
301 <action name=
"Raise"/>
303 <mousebind button=
"Left" action=
"Drag">
304 <action name=
"Move"/>
306 <mousebind button=
"Left" action=
"DoubleClick">
307 <action name=
"ToggleMaximizeFull"/>
310 <mousebind button=
"Middle" action=
"Press">
311 <action name=
"Lower"/>
312 <action name=
"FocusToBottom"/>
313 <action name=
"Unfocus"/>
316 <mousebind button=
"Up" action=
"Click">
317 <action name=
"Shade"/>
318 <action name=
"FocusToBottom"/>
319 <action name=
"Unfocus"/>
320 <action name=
"Lower"/>
322 <mousebind button=
"Down" action=
"Click">
323 <action name=
"Unshade"/>
324 <action name=
"Raise"/>
327 <mousebind button=
"Right" action=
"Press">
328 <action name=
"Focus"/>
329 <action name=
"Raise"/>
330 <action name=
"ShowMenu"><menu>client-menu
</menu></action>
335 <mousebind button=
"Left" action=
"Press">
336 <action name=
"Focus"/>
337 <action name=
"Raise"/>
338 <action name=
"Unshade"/>
340 <mousebind button=
"Left" action=
"Drag">
341 <action name=
"Resize"><edge>top
</edge></action>
345 <context name=
"Left">
346 <mousebind button=
"Left" action=
"Press">
347 <action name=
"Focus"/>
348 <action name=
"Raise"/>
350 <mousebind button=
"Left" action=
"Drag">
351 <action name=
"Resize"><edge>left
</edge></action>
355 <context name=
"Right">
356 <mousebind button=
"Left" action=
"Press">
357 <action name=
"Focus"/>
358 <action name=
"Raise"/>
360 <mousebind button=
"Left" action=
"Drag">
361 <action name=
"Resize"><edge>right
</edge></action>
365 <context name=
"Bottom">
366 <mousebind button=
"Left" action=
"Press">
367 <action name=
"Focus"/>
368 <action name=
"Raise"/>
370 <mousebind button=
"Left" action=
"Drag">
371 <action name=
"Resize"><edge>bottom
</edge></action>
374 <mousebind button=
"Middle" action=
"Press">
375 <action name=
"Lower"/>
376 <action name=
"FocusToBottom"/>
377 <action name=
"Unfocus"/>
380 <mousebind button=
"Right" action=
"Press">
381 <action name=
"Focus"/>
382 <action name=
"Raise"/>
383 <action name=
"ShowMenu"><menu>client-menu
</menu></action>
387 <context name=
"BLCorner">
388 <mousebind button=
"Left" action=
"Press">
389 <action name=
"Focus"/>
390 <action name=
"Raise"/>
392 <mousebind button=
"Left" action=
"Drag">
393 <action name=
"Resize"/>
397 <context name=
"BRCorner">
398 <mousebind button=
"Left" action=
"Press">
399 <action name=
"Focus"/>
400 <action name=
"Raise"/>
402 <mousebind button=
"Left" action=
"Drag">
403 <action name=
"Resize"/>
407 <context name=
"TLCorner">
408 <mousebind button=
"Left" action=
"Press">
409 <action name=
"Focus"/>
410 <action name=
"Raise"/>
411 <action name=
"Unshade"/>
413 <mousebind button=
"Left" action=
"Drag">
414 <action name=
"Resize"/>
418 <context name=
"TRCorner">
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"/>
429 <context name=
"Client">
430 <mousebind button=
"Left" action=
"Press">
431 <action name=
"Focus"/>
432 <action name=
"Raise"/>
434 <mousebind button=
"Middle" action=
"Press">
435 <action name=
"Focus"/>
436 <action name=
"Raise"/>
438 <mousebind button=
"Right" action=
"Press">
439 <action name=
"Focus"/>
440 <action name=
"Raise"/>
444 <context name=
"Icon">
445 <mousebind button=
"Left" action=
"Press">
446 <action name=
"Focus"/>
447 <action name=
"Raise"/>
448 <action name=
"Unshade"/>
449 <action name=
"ShowMenu"><menu>client-menu
</menu></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=
"AllDesktops">
459 <mousebind button=
"Left" action=
"Press">
460 <action name=
"Focus"/>
461 <action name=
"Raise"/>
462 <action name=
"Unshade"/>
464 <mousebind button=
"Left" action=
"Click">
465 <action name=
"ToggleOmnipresent"/>
469 <context name=
"Shade">
470 <mousebind button=
"Left" action=
"Press">
471 <action name=
"Focus"/>
472 <action name=
"Raise"/>
474 <mousebind button=
"Left" action=
"Click">
475 <action name=
"ToggleShade"/>
479 <context name=
"Iconify">
480 <mousebind button=
"Left" action=
"Press">
481 <action name=
"Focus"/>
482 <action name=
"Raise"/>
484 <mousebind button=
"Left" action=
"Click">
485 <action name=
"Iconify"/>
489 <context name=
"Maximize">
490 <mousebind button=
"Left" action=
"Press">
491 <action name=
"Focus"/>
492 <action name=
"Raise"/>
493 <action name=
"Unshade"/>
495 <mousebind button=
"Middle" action=
"Press">
496 <action name=
"Focus"/>
497 <action name=
"Raise"/>
498 <action name=
"Unshade"/>
500 <mousebind button=
"Right" action=
"Press">
501 <action name=
"Focus"/>
502 <action name=
"Raise"/>
503 <action name=
"Unshade"/>
505 <mousebind button=
"Left" action=
"Click">
506 <action name=
"ToggleMaximizeFull"/>
508 <mousebind button=
"Middle" action=
"Click">
509 <action name=
"ToggleMaximizeVert"/>
511 <mousebind button=
"Right" action=
"Click">
512 <action name=
"ToggleMaximizeHorz"/>
516 <context name=
"Close">
517 <mousebind button=
"Left" action=
"Press">
518 <action name=
"Focus"/>
519 <action name=
"Raise"/>
520 <action name=
"Unshade"/>
522 <mousebind button=
"Left" action=
"Click">
523 <action name=
"Close"/>
527 <context name=
"Desktop">
528 <mousebind button=
"Up" action=
"Press">
529 <action name=
"DesktopPrevious"/>
531 <mousebind button=
"Down" action=
"Press">
532 <action name=
"DesktopNext"/>
535 <mousebind button=
"A-Up" action=
"Press">
536 <action name=
"DesktopPrevious"/>
538 <mousebind button=
"A-Down" action=
"Press">
539 <action name=
"DesktopNext"/>
541 <mousebind button=
"C-A-Up" action=
"Press">
542 <action name=
"DesktopPrevious"/>
544 <mousebind button=
"C-A-Down" action=
"Press">
545 <action name=
"DesktopNext"/>
548 <mousebind button=
"Left" action=
"Press">
549 <action name=
"Focus"/>
550 <action name=
"Raise"/>
554 <context name=
"Root">
556 <mousebind button=
"Middle" action=
"Press">
557 <action name=
"ShowMenu"><menu>client-list-combined-menu
</menu></action>
559 <mousebind button=
"Right" action=
"Press">
560 <action name=
"ShowMenu"><menu>root-menu
</menu></action>
564 <context name=
"MoveResize">
565 <mousebind button=
"Up" action=
"Press">
566 <action name=
"DesktopPrevious"/>
568 <mousebind button=
"Down" action=
"Press">
569 <action name=
"DesktopNext"/>
571 <mousebind button=
"A-Up" action=
"Press">
572 <action name=
"DesktopPrevious"/>
574 <mousebind button=
"A-Down" action=
"Press">
575 <action name=
"DesktopNext"/>
581 <!-- You can specify more than one menu file in here and they are all loaded,
582 just don't make menu ids clash or, well, it'll be kind of pointless -->
584 <!-- default menu file (or custom one in $HOME/.config/openbox/) -->
585 <file>menu.xml
</file>
586 <hideDelay>200</hideDelay>
588 <submenuShowDelay>100</submenuShowDelay>
589 <applicationIcons>yes
</applicationIcons>
594 # this is an example with comments through out. use these to make your
595 # own rules, but without the comments of course.
597 <application name="first element of window's WM_CLASS property (see xprop)"
598 class="second element of window's WM_CLASS property (see xprop)"
599 role="the window's WM_WINDOW_ROLE property (see xprop)">
600 # the name or the class can be set, or both. this is used to match
601 # windows when they appear. role can optionally be set as well, to
602 # further restrict your matches.
604 # the name, class, and role use simple wildcard matching such as those
605 # used by a shell. you can use * to match any characters and ? to match
606 # any single character.
608 # when multiple rules match a window, they will all be applied, in the
609 # order that they appear in this list
612 # each element can be left out or set to 'default' to specify to not
613 # change that attribute of the window
616 # enable or disable window decorations
619 # make the window shaded when it appears, or not
622 # the position is only used if both an x and y coordinate are provided
623 # (and not set to 'default')
625 # a number like 50, or 'center' to center on screen. use a negative number
626 # to start from the right (or bottom for <y>), ie -50 is 50 pixels from the
627 # right edge (or bottom).
630 # specifies the monitor in a xinerama setup.
631 # 1 is the first head, or 'mouse' for wherever the mouse is
635 # if the window should try be given focus when it appears. if this is set
636 # to yes it doesn't guarantee the window will be given focus. some
637 # restrictions may apply, but Openbox will try to
640 # 1 is the first desktop, 'all' for all desktops
642 <layer>normal</layer>
643 # 'above', 'normal', or 'below'
646 # make the window iconified when it appears, or not
648 <skip_pager>no</skip_pager>
649 # asks to not be shown in pagers
651 <skip_taskbar>no</skip_taskbar>
652 # asks to not be shown in taskbars. window cycling actions will also
653 # skip past such windows
655 <fullscreen>yes</fullscreen>
656 # make the window in fullscreen mode when it appears
658 <maximized>true</maximized>
659 # 'Horizontal', 'Vertical' or boolean (yes/no)