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=
"GoToDesktop"><to>left
</to><wrap>no
</wrap></action>
166 <keybind key=
"C-A-Right">
167 <action name=
"GoToDesktop"><to>right
</to><wrap>no
</wrap></action>
169 <keybind key=
"C-A-Up">
170 <action name=
"GoToDesktop"><to>up
</to><wrap>no
</wrap></action>
172 <keybind key=
"C-A-Down">
173 <action name=
"GoToDesktop"><to>down
</to><wrap>no
</wrap></action>
175 <keybind key=
"S-A-Left">
176 <action name=
"SendToDesktop"><to>left
</to><wrap>no
</wrap></action>
178 <keybind key=
"S-A-Right">
179 <action name=
"SendToDesktop"><to>right
</to><wrap>no
</wrap></action>
181 <keybind key=
"S-A-Up">
182 <action name=
"SendToDesktop"><to>up
</to><wrap>no
</wrap></action>
184 <keybind key=
"S-A-Down">
185 <action name=
"SendToDesktop"><to>down
</to><wrap>no
</wrap></action>
188 <action name=
"GoToDesktop"><to>1</to></action>
191 <action name=
"GoToDesktop"><to>2</to></action>
194 <action name=
"GoToDesktop"><to>3</to></action>
197 <action name=
"GoToDesktop"><to>4</to></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 <action name=
"Focus"/>
221 <action name=
"Raise"/>
222 <action name=
"Unshade"/>
226 <keybind key=
"A-S-Tab">
227 <action name=
"PreviousWindow">
229 <action name=
"Focus"/>
230 <action name=
"Raise"/>
231 <action name=
"Unshade"/>
235 <keybind key=
"C-A-Tab">
236 <action name=
"NextWindow">
237 <panels>yes
</panels><desktop>yes
</desktop>
239 <action name=
"Focus"/>
240 <action name=
"Raise"/>
241 <action name=
"Unshade"/>
246 <!-- Keybindings for running applications -->
248 <action name=
"Execute">
250 <enabled>true
</enabled>
251 <name>Konqueror
</name>
253 <command>kfmclient openProfile filemanagement
</command>
259 <dragThreshold>8</dragThreshold>
260 <!-- number of pixels the mouse must move before a drag begins -->
261 <doubleClickTime>200</doubleClickTime>
262 <!-- in milliseconds (1000 = 1 second) -->
263 <screenEdgeWarpTime>400</screenEdgeWarpTime>
264 <!-- time before changing desktops when the pointer touches the edge of the
265 screen while moving a window, in milliseconds (1000 = 1 second),
266 0 disables warping -->
268 <context name=
"Frame">
269 <mousebind button=
"A-Left" action=
"Press">
270 <action name=
"Focus"/>
271 <action name=
"Raise"/>
273 <mousebind button=
"A-Left" action=
"Click">
274 <action name=
"Unshade"/>
276 <mousebind button=
"A-Left" action=
"Drag">
277 <action name=
"Move"/>
280 <mousebind button=
"A-Right" action=
"Press">
281 <action name=
"Focus"/>
282 <action name=
"Raise"/>
283 <action name=
"Unshade"/>
285 <mousebind button=
"A-Right" action=
"Drag">
286 <action name=
"Resize"/>
289 <mousebind button=
"A-Middle" action=
"Press">
290 <action name=
"Lower"/>
291 <action name=
"FocusToBottom"/>
292 <action name=
"Unfocus"/>
295 <mousebind button=
"A-Up" action=
"Click">
296 <action name=
"GoToDesktop"><to>previous
</to></action>
298 <mousebind button=
"A-Down" action=
"Click">
299 <action name=
"GoToDesktop"><to>next
</to></action>
301 <mousebind button=
"C-A-Up" action=
"Click">
302 <action name=
"GoToDesktop"><to>previous
</to></action>
304 <mousebind button=
"C-A-Down" action=
"Click">
305 <action name=
"GoToDesktop"><to>next
</to></action>
307 <mousebind button=
"A-S-Up" action=
"Click">
308 <action name=
"SendToDesktop"><to>previous
</to></action>
310 <mousebind button=
"A-S-Down" action=
"Click">
311 <action name=
"SendToDesktop"><to>next
</to></action>
315 <context name=
"Titlebar">
316 <mousebind button=
"Left" action=
"Press">
317 <action name=
"Focus"/>
318 <action name=
"Raise"/>
320 <mousebind button=
"Left" action=
"Drag">
321 <action name=
"Move"/>
323 <mousebind button=
"Left" action=
"DoubleClick">
324 <action name=
"ToggleMaximize"/>
327 <mousebind button=
"Middle" action=
"Press">
328 <action name=
"Lower"/>
329 <action name=
"FocusToBottom"/>
330 <action name=
"Unfocus"/>
333 <mousebind button=
"Up" action=
"Click">
334 <action name=
"Shade"/>
335 <action name=
"FocusToBottom"/>
336 <action name=
"Unfocus"/>
337 <action name=
"Lower"/>
339 <mousebind button=
"Down" action=
"Click">
340 <action name=
"Unshade"/>
341 <action name=
"Raise"/>
344 <mousebind button=
"Right" action=
"Press">
345 <action name=
"Focus"/>
346 <action name=
"Raise"/>
347 <action name=
"ShowMenu"><menu>client-menu
</menu></action>
352 <mousebind button=
"Left" action=
"Press">
353 <action name=
"Focus"/>
354 <action name=
"Raise"/>
355 <action name=
"Unshade"/>
357 <mousebind button=
"Left" action=
"Drag">
358 <action name=
"Resize"><edge>top
</edge></action>
362 <context name=
"Left">
363 <mousebind button=
"Left" action=
"Press">
364 <action name=
"Focus"/>
365 <action name=
"Raise"/>
367 <mousebind button=
"Left" action=
"Drag">
368 <action name=
"Resize"><edge>left
</edge></action>
372 <context name=
"Right">
373 <mousebind button=
"Left" action=
"Press">
374 <action name=
"Focus"/>
375 <action name=
"Raise"/>
377 <mousebind button=
"Left" action=
"Drag">
378 <action name=
"Resize"><edge>right
</edge></action>
382 <context name=
"Bottom">
383 <mousebind button=
"Left" action=
"Press">
384 <action name=
"Focus"/>
385 <action name=
"Raise"/>
387 <mousebind button=
"Left" action=
"Drag">
388 <action name=
"Resize"><edge>bottom
</edge></action>
391 <mousebind button=
"Middle" action=
"Press">
392 <action name=
"Lower"/>
393 <action name=
"FocusToBottom"/>
394 <action name=
"Unfocus"/>
397 <mousebind button=
"Right" action=
"Press">
398 <action name=
"Focus"/>
399 <action name=
"Raise"/>
400 <action name=
"ShowMenu"><menu>client-menu
</menu></action>
404 <context name=
"BLCorner">
405 <mousebind button=
"Left" action=
"Press">
406 <action name=
"Focus"/>
407 <action name=
"Raise"/>
409 <mousebind button=
"Left" action=
"Drag">
410 <action name=
"Resize"><edge>bottomleft
</edge></action>
414 <context name=
"BRCorner">
415 <mousebind button=
"Left" action=
"Press">
416 <action name=
"Focus"/>
417 <action name=
"Raise"/>
419 <mousebind button=
"Left" action=
"Drag">
420 <action name=
"Resize"><edge>bottomright
</edge></action>
424 <context name=
"TLCorner">
425 <mousebind button=
"Left" action=
"Press">
426 <action name=
"Focus"/>
427 <action name=
"Raise"/>
428 <action name=
"Unshade"/>
430 <mousebind button=
"Left" action=
"Drag">
431 <action name=
"Resize"><edge>topleft
</edge></action>
435 <context name=
"TRCorner">
436 <mousebind button=
"Left" action=
"Press">
437 <action name=
"Focus"/>
438 <action name=
"Raise"/>
439 <action name=
"Unshade"/>
441 <mousebind button=
"Left" action=
"Drag">
442 <action name=
"Resize"><edge>topright
</edge></action>
446 <context name=
"Client">
447 <mousebind button=
"Left" action=
"Press">
448 <action name=
"Focus"/>
449 <action name=
"Raise"/>
451 <mousebind button=
"Middle" action=
"Press">
452 <action name=
"Focus"/>
453 <action name=
"Raise"/>
455 <mousebind button=
"Right" action=
"Press">
456 <action name=
"Focus"/>
457 <action name=
"Raise"/>
461 <context name=
"Icon">
462 <mousebind button=
"Left" action=
"Press">
463 <action name=
"Focus"/>
464 <action name=
"Raise"/>
465 <action name=
"Unshade"/>
466 <action name=
"ShowMenu"><menu>client-menu
</menu></action>
468 <mousebind button=
"Right" action=
"Press">
469 <action name=
"Focus"/>
470 <action name=
"Raise"/>
471 <action name=
"ShowMenu"><menu>client-menu
</menu></action>
475 <context name=
"AllDesktops">
476 <mousebind button=
"Left" action=
"Press">
477 <action name=
"Focus"/>
478 <action name=
"Raise"/>
479 <action name=
"Unshade"/>
481 <mousebind button=
"Left" action=
"Click">
482 <action name=
"ToggleOmnipresent"/>
486 <context name=
"Shade">
487 <mousebind button=
"Left" action=
"Press">
488 <action name=
"Focus"/>
489 <action name=
"Raise"/>
491 <mousebind button=
"Left" action=
"Click">
492 <action name=
"ToggleShade"/>
496 <context name=
"Iconify">
497 <mousebind button=
"Left" action=
"Press">
498 <action name=
"Focus"/>
499 <action name=
"Raise"/>
501 <mousebind button=
"Left" action=
"Click">
502 <action name=
"Iconify"/>
506 <context name=
"Maximize">
507 <mousebind button=
"Left" action=
"Press">
508 <action name=
"Focus"/>
509 <action name=
"Raise"/>
510 <action name=
"Unshade"/>
512 <mousebind button=
"Middle" action=
"Press">
513 <action name=
"Focus"/>
514 <action name=
"Raise"/>
515 <action name=
"Unshade"/>
517 <mousebind button=
"Right" action=
"Press">
518 <action name=
"Focus"/>
519 <action name=
"Raise"/>
520 <action name=
"Unshade"/>
522 <mousebind button=
"Left" action=
"Click">
523 <action name=
"ToggleMaximize"/>
525 <mousebind button=
"Middle" action=
"Click">
526 <action name=
"ToggleMaximize"><direction>vertical
</direction></action>
528 <mousebind button=
"Right" action=
"Click">
529 <action name=
"ToggleMaximize"><direction>horizontal
</direction></action>
533 <context name=
"Close">
534 <mousebind button=
"Left" action=
"Press">
535 <action name=
"Focus"/>
536 <action name=
"Raise"/>
537 <action name=
"Unshade"/>
539 <mousebind button=
"Left" action=
"Click">
540 <action name=
"Close"/>
544 <context name=
"Desktop">
545 <mousebind button=
"Up" action=
"Press">
546 <action name=
"GoToDesktop"><to>previous
</to></action>
548 <mousebind button=
"Down" action=
"Press">
549 <action name=
"GoToDesktop"><to>next
</to></action>
552 <mousebind button=
"A-Up" action=
"Press">
553 <action name=
"GoToDesktop"><to>previous
</to></action>
555 <mousebind button=
"A-Down" action=
"Press">
556 <action name=
"GoToDesktop"><to>next
</to></action>
558 <mousebind button=
"C-A-Up" action=
"Press">
559 <action name=
"GoToDesktop"><to>previous
</to></action>
561 <mousebind button=
"C-A-Down" action=
"Press">
562 <action name=
"GoToDesktop"><to>next
</to></action>
565 <mousebind button=
"Left" action=
"Press">
566 <action name=
"Focus"/>
567 <action name=
"Raise"/>
571 <context name=
"Root">
573 <mousebind button=
"Middle" action=
"Press">
574 <action name=
"ShowMenu"><menu>client-list-combined-menu
</menu></action>
576 <mousebind button=
"Right" action=
"Press">
577 <action name=
"ShowMenu"><menu>root-menu
</menu></action>
581 <context name=
"MoveResize">
582 <mousebind button=
"Up" action=
"Press">
583 <action name=
"GoToDesktop"><to>previous
</to></action>
585 <mousebind button=
"Down" action=
"Press">
586 <action name=
"GoToDesktop"><to>next
</to></action>
588 <mousebind button=
"A-Up" action=
"Press">
589 <action name=
"GoToDesktop"><to>previous
</to></action>
591 <mousebind button=
"A-Down" action=
"Press">
592 <action name=
"GoToDesktop"><to>next
</to></action>
598 <!-- You can specify more than one menu file in here and they are all loaded,
599 just don't make menu ids clash or, well, it'll be kind of pointless -->
601 <!-- default menu file (or custom one in $HOME/.config/openbox/) -->
602 <file>menu.xml
</file>
603 <hideDelay>200</hideDelay>
605 <submenuShowDelay>100</submenuShowDelay>
606 <applicationIcons>yes
</applicationIcons>
611 # this is an example with comments through out. use these to make your
612 # own rules, but without the comments of course.
614 <application name="first element of window's WM_CLASS property (see xprop)"
615 class="second element of window's WM_CLASS property (see xprop)"
616 role="the window's WM_WINDOW_ROLE property (see xprop)">
617 # the name or the class can be set, or both. this is used to match
618 # windows when they appear. role can optionally be set as well, to
619 # further restrict your matches.
621 # the name, class, and role use simple wildcard matching such as those
622 # used by a shell. you can use * to match any characters and ? to match
623 # any single character.
625 # when multiple rules match a window, they will all be applied, in the
626 # order that they appear in this list
629 # each element can be left out or set to 'default' to specify to not
630 # change that attribute of the window
633 # enable or disable window decorations
636 # make the window shaded when it appears, or not
639 # the position is only used if both an x and y coordinate are provided
640 # (and not set to 'default')
642 # a number like 50, or 'center' to center on screen. use a negative number
643 # to start from the right (or bottom for <y>), ie -50 is 50 pixels from the
644 # right edge (or bottom).
647 # specifies the monitor in a xinerama setup.
648 # 1 is the first head, or 'mouse' for wherever the mouse is
652 # if the window should try be given focus when it appears. if this is set
653 # to yes it doesn't guarantee the window will be given focus. some
654 # restrictions may apply, but Openbox will try to
657 # 1 is the first desktop, 'all' for all desktops
659 <layer>normal</layer>
660 # 'above', 'normal', or 'below'
663 # make the window iconified when it appears, or not
665 <skip_pager>no</skip_pager>
666 # asks to not be shown in pagers
668 <skip_taskbar>no</skip_taskbar>
669 # asks to not be shown in taskbars. window cycling actions will also
670 # skip past such windows
672 <fullscreen>yes</fullscreen>
673 # make the window in fullscreen mode when it appears
675 <maximized>true</maximized>
676 # 'Horizontal', 'Vertical' or boolean (yes/no)