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>
119 <popupTime>500</popupTime>
120 <!-- The number of milliseconds to show the popup for when switching
121 desktops. Set this to 0 to disable the popup. -->
125 <drawContents>yes
</drawContents>
126 <popupShow>Nonpixel
</popupShow>
127 <!-- 'Always', 'Never', or 'Nonpixel' (xterms and such) -->
128 <popupPosition>Center
</popupPosition>
129 <!-- 'Center' or 'Top' -->
132 <!-- You can reserve a portion of your screen where windows will not cover when
133 they are maximized, or when they are initially placed.
134 Many programs reserve space automatically, but you can use this in other
144 <position>TopLeft
</position>
145 <!-- (Top|Bottom)(Left|Right|)|Top|Bottom|Left|Right|Floating -->
146 <floatingX>0</floatingX>
147 <floatingY>0</floatingY>
148 <noStrut>no
</noStrut>
149 <stacking>Above
</stacking>
150 <!-- 'Above', 'Normal', or 'Below' -->
151 <direction>Vertical
</direction>
152 <!-- 'Vertical' or 'Horizontal' -->
153 <autoHide>no
</autoHide>
154 <hideDelay>300</hideDelay>
155 <!-- in milliseconds (1000 = 1 second) -->
156 <showDelay>300</showDelay>
157 <!-- in milliseconds (1000 = 1 second) -->
158 <moveButton>Middle
</moveButton>
159 <!-- 'Left', 'Middle', 'Right' -->
163 <chainQuitKey>C-g
</chainQuitKey>
165 <!-- Keybindings for desktop switching -->
166 <keybind key=
"C-A-Left">
167 <action name=
"GoToDesktop"><to>left
</to><wrap>no
</wrap></action>
169 <keybind key=
"C-A-Right">
170 <action name=
"GoToDesktop"><to>right
</to><wrap>no
</wrap></action>
172 <keybind key=
"C-A-Up">
173 <action name=
"GoToDesktop"><to>up
</to><wrap>no
</wrap></action>
175 <keybind key=
"C-A-Down">
176 <action name=
"GoToDesktop"><to>down
</to><wrap>no
</wrap></action>
178 <keybind key=
"S-A-Left">
179 <action name=
"SendToDesktop"><to>left
</to><wrap>no
</wrap></action>
181 <keybind key=
"S-A-Right">
182 <action name=
"SendToDesktop"><to>right
</to><wrap>no
</wrap></action>
184 <keybind key=
"S-A-Up">
185 <action name=
"SendToDesktop"><to>up
</to><wrap>no
</wrap></action>
187 <keybind key=
"S-A-Down">
188 <action name=
"SendToDesktop"><to>down
</to><wrap>no
</wrap></action>
191 <action name=
"GoToDesktop"><to>1</to></action>
194 <action name=
"GoToDesktop"><to>2</to></action>
197 <action name=
"GoToDesktop"><to>3</to></action>
200 <action name=
"GoToDesktop"><to>4</to></action>
203 <action name=
"ToggleShowDesktop"/>
206 <!-- Keybindings for windows -->
208 <action name=
"Close"/>
210 <keybind key=
"A-Escape">
211 <action name=
"Lower"/>
212 <action name=
"FocusToBottom"/>
213 <action name=
"Unfocus"/>
215 <keybind key=
"A-space">
216 <action name=
"ShowMenu"><menu>client-menu
</menu></action>
219 <!-- Keybindings for window switching -->
220 <keybind key=
"A-Tab">
221 <action name=
"NextWindow">
223 <action name=
"Focus"/>
224 <action name=
"Raise"/>
225 <action name=
"Unshade"/>
229 <keybind key=
"A-S-Tab">
230 <action name=
"PreviousWindow">
232 <action name=
"Focus"/>
233 <action name=
"Raise"/>
234 <action name=
"Unshade"/>
238 <keybind key=
"C-A-Tab">
239 <action name=
"NextWindow">
240 <panels>yes
</panels><desktop>yes
</desktop>
242 <action name=
"Focus"/>
243 <action name=
"Raise"/>
244 <action name=
"Unshade"/>
249 <!-- Keybindings for running applications -->
251 <action name=
"Execute">
253 <enabled>true
</enabled>
254 <name>Konqueror
</name>
256 <command>kfmclient openProfile filemanagement
</command>
262 <dragThreshold>8</dragThreshold>
263 <!-- number of pixels the mouse must move before a drag begins -->
264 <doubleClickTime>200</doubleClickTime>
265 <!-- in milliseconds (1000 = 1 second) -->
266 <screenEdgeWarpTime>400</screenEdgeWarpTime>
267 <!-- Time before changing desktops when the pointer touches the edge of the
268 screen while moving a window, in milliseconds (1000 = 1 second).
269 Set this to 0 to disable warping -->
271 <context name=
"Frame">
272 <mousebind button=
"A-Left" action=
"Press">
273 <action name=
"Focus"/>
274 <action name=
"Raise"/>
276 <mousebind button=
"A-Left" action=
"Click">
277 <action name=
"Unshade"/>
279 <mousebind button=
"A-Left" action=
"Drag">
280 <action name=
"Move"/>
283 <mousebind button=
"A-Right" action=
"Press">
284 <action name=
"Focus"/>
285 <action name=
"Raise"/>
286 <action name=
"Unshade"/>
288 <mousebind button=
"A-Right" action=
"Drag">
289 <action name=
"Resize"/>
292 <mousebind button=
"A-Middle" action=
"Press">
293 <action name=
"Lower"/>
294 <action name=
"FocusToBottom"/>
295 <action name=
"Unfocus"/>
298 <mousebind button=
"A-Up" action=
"Click">
299 <action name=
"GoToDesktop"><to>previous
</to></action>
301 <mousebind button=
"A-Down" action=
"Click">
302 <action name=
"GoToDesktop"><to>next
</to></action>
304 <mousebind button=
"C-A-Up" action=
"Click">
305 <action name=
"GoToDesktop"><to>previous
</to></action>
307 <mousebind button=
"C-A-Down" action=
"Click">
308 <action name=
"GoToDesktop"><to>next
</to></action>
310 <mousebind button=
"A-S-Up" action=
"Click">
311 <action name=
"SendToDesktop"><to>previous
</to></action>
313 <mousebind button=
"A-S-Down" action=
"Click">
314 <action name=
"SendToDesktop"><to>next
</to></action>
318 <context name=
"Titlebar">
319 <mousebind button=
"Left" action=
"Press">
320 <action name=
"Focus"/>
321 <action name=
"Raise"/>
323 <mousebind button=
"Left" action=
"Drag">
324 <action name=
"Move"/>
326 <mousebind button=
"Left" action=
"DoubleClick">
327 <action name=
"ToggleMaximize"/>
330 <mousebind button=
"Middle" action=
"Press">
331 <action name=
"Lower"/>
332 <action name=
"FocusToBottom"/>
333 <action name=
"Unfocus"/>
336 <mousebind button=
"Up" action=
"Click">
337 <action name=
"Shade"/>
338 <action name=
"FocusToBottom"/>
339 <action name=
"Unfocus"/>
340 <action name=
"Lower"/>
342 <mousebind button=
"Down" action=
"Click">
343 <action name=
"Unshade"/>
344 <action name=
"Raise"/>
347 <mousebind button=
"Right" action=
"Press">
348 <action name=
"Focus"/>
349 <action name=
"Raise"/>
350 <action name=
"ShowMenu"><menu>client-menu
</menu></action>
355 <mousebind button=
"Left" action=
"Press">
356 <action name=
"Focus"/>
357 <action name=
"Raise"/>
358 <action name=
"Unshade"/>
360 <mousebind button=
"Left" action=
"Drag">
361 <action name=
"Resize"><edge>top
</edge></action>
365 <context name=
"Left">
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>left
</edge></action>
375 <context name=
"Right">
376 <mousebind button=
"Left" action=
"Press">
377 <action name=
"Focus"/>
378 <action name=
"Raise"/>
380 <mousebind button=
"Left" action=
"Drag">
381 <action name=
"Resize"><edge>right
</edge></action>
385 <context name=
"Bottom">
386 <mousebind button=
"Left" action=
"Press">
387 <action name=
"Focus"/>
388 <action name=
"Raise"/>
390 <mousebind button=
"Left" action=
"Drag">
391 <action name=
"Resize"><edge>bottom
</edge></action>
394 <mousebind button=
"Middle" action=
"Press">
395 <action name=
"Lower"/>
396 <action name=
"FocusToBottom"/>
397 <action name=
"Unfocus"/>
400 <mousebind button=
"Right" action=
"Press">
401 <action name=
"Focus"/>
402 <action name=
"Raise"/>
403 <action name=
"ShowMenu"><menu>client-menu
</menu></action>
407 <context name=
"BLCorner">
408 <mousebind button=
"Left" action=
"Press">
409 <action name=
"Focus"/>
410 <action name=
"Raise"/>
412 <mousebind button=
"Left" action=
"Drag">
413 <action name=
"Resize"><edge>bottomleft
</edge></action>
417 <context name=
"BRCorner">
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>bottomright
</edge></action>
427 <context name=
"TLCorner">
428 <mousebind button=
"Left" action=
"Press">
429 <action name=
"Focus"/>
430 <action name=
"Raise"/>
431 <action name=
"Unshade"/>
433 <mousebind button=
"Left" action=
"Drag">
434 <action name=
"Resize"><edge>topleft
</edge></action>
438 <context name=
"TRCorner">
439 <mousebind button=
"Left" action=
"Press">
440 <action name=
"Focus"/>
441 <action name=
"Raise"/>
442 <action name=
"Unshade"/>
444 <mousebind button=
"Left" action=
"Drag">
445 <action name=
"Resize"><edge>topright
</edge></action>
449 <context name=
"Client">
450 <mousebind button=
"Left" action=
"Press">
451 <action name=
"Focus"/>
452 <action name=
"Raise"/>
454 <mousebind button=
"Middle" action=
"Press">
455 <action name=
"Focus"/>
456 <action name=
"Raise"/>
458 <mousebind button=
"Right" action=
"Press">
459 <action name=
"Focus"/>
460 <action name=
"Raise"/>
464 <context name=
"Icon">
465 <mousebind button=
"Left" action=
"Press">
466 <action name=
"Focus"/>
467 <action name=
"Raise"/>
468 <action name=
"Unshade"/>
469 <action name=
"ShowMenu"><menu>client-menu
</menu></action>
471 <mousebind button=
"Right" action=
"Press">
472 <action name=
"Focus"/>
473 <action name=
"Raise"/>
474 <action name=
"ShowMenu"><menu>client-menu
</menu></action>
478 <context name=
"AllDesktops">
479 <mousebind button=
"Left" action=
"Press">
480 <action name=
"Focus"/>
481 <action name=
"Raise"/>
482 <action name=
"Unshade"/>
484 <mousebind button=
"Left" action=
"Click">
485 <action name=
"ToggleOmnipresent"/>
489 <context name=
"Shade">
490 <mousebind button=
"Left" action=
"Press">
491 <action name=
"Focus"/>
492 <action name=
"Raise"/>
494 <mousebind button=
"Left" action=
"Click">
495 <action name=
"ToggleShade"/>
499 <context name=
"Iconify">
500 <mousebind button=
"Left" action=
"Press">
501 <action name=
"Focus"/>
502 <action name=
"Raise"/>
504 <mousebind button=
"Left" action=
"Click">
505 <action name=
"Iconify"/>
509 <context name=
"Maximize">
510 <mousebind button=
"Left" action=
"Press">
511 <action name=
"Focus"/>
512 <action name=
"Raise"/>
513 <action name=
"Unshade"/>
515 <mousebind button=
"Middle" action=
"Press">
516 <action name=
"Focus"/>
517 <action name=
"Raise"/>
518 <action name=
"Unshade"/>
520 <mousebind button=
"Right" action=
"Press">
521 <action name=
"Focus"/>
522 <action name=
"Raise"/>
523 <action name=
"Unshade"/>
525 <mousebind button=
"Left" action=
"Click">
526 <action name=
"ToggleMaximize"/>
528 <mousebind button=
"Middle" action=
"Click">
529 <action name=
"ToggleMaximize"><direction>vertical
</direction></action>
531 <mousebind button=
"Right" action=
"Click">
532 <action name=
"ToggleMaximize"><direction>horizontal
</direction></action>
536 <context name=
"Close">
537 <mousebind button=
"Left" action=
"Press">
538 <action name=
"Focus"/>
539 <action name=
"Raise"/>
540 <action name=
"Unshade"/>
542 <mousebind button=
"Left" action=
"Click">
543 <action name=
"Close"/>
547 <context name=
"Desktop">
548 <mousebind button=
"Up" action=
"Press">
549 <action name=
"GoToDesktop"><to>previous
</to></action>
551 <mousebind button=
"Down" action=
"Press">
552 <action name=
"GoToDesktop"><to>next
</to></action>
555 <mousebind button=
"A-Up" action=
"Press">
556 <action name=
"GoToDesktop"><to>previous
</to></action>
558 <mousebind button=
"A-Down" action=
"Press">
559 <action name=
"GoToDesktop"><to>next
</to></action>
561 <mousebind button=
"C-A-Up" action=
"Press">
562 <action name=
"GoToDesktop"><to>previous
</to></action>
564 <mousebind button=
"C-A-Down" action=
"Press">
565 <action name=
"GoToDesktop"><to>next
</to></action>
568 <mousebind button=
"Left" action=
"Press">
569 <action name=
"Focus"/>
570 <action name=
"Raise"/>
574 <context name=
"Root">
576 <mousebind button=
"Middle" action=
"Press">
577 <action name=
"ShowMenu"><menu>client-list-combined-menu
</menu></action>
579 <mousebind button=
"Right" action=
"Press">
580 <action name=
"ShowMenu"><menu>root-menu
</menu></action>
584 <context name=
"MoveResize">
585 <mousebind button=
"Up" action=
"Press">
586 <action name=
"GoToDesktop"><to>previous
</to></action>
588 <mousebind button=
"Down" action=
"Press">
589 <action name=
"GoToDesktop"><to>next
</to></action>
591 <mousebind button=
"A-Up" action=
"Press">
592 <action name=
"GoToDesktop"><to>previous
</to></action>
594 <mousebind button=
"A-Down" action=
"Press">
595 <action name=
"GoToDesktop"><to>next
</to></action>
601 <!-- You can specify more than one menu file in here and they are all loaded,
602 just don't make menu ids clash or, well, it'll be kind of pointless -->
604 <!-- default menu file (or custom one in $HOME/.config/openbox/) -->
605 <file>menu.xml
</file>
606 <hideDelay>200</hideDelay>
608 <submenuShowDelay>100</submenuShowDelay>
609 <applicationIcons>yes
</applicationIcons>
614 # this is an example with comments through out. use these to make your
615 # own rules, but without the comments of course.
617 <application name="first element of window's WM_CLASS property (see xprop)"
618 class="second element of window's WM_CLASS property (see xprop)"
619 role="the window's WM_WINDOW_ROLE property (see xprop)">
620 # the name or the class can be set, or both. this is used to match
621 # windows when they appear. role can optionally be set as well, to
622 # further restrict your matches.
624 # the name, class, and role use simple wildcard matching such as those
625 # used by a shell. you can use * to match any characters and ? to match
626 # any single character.
628 # when multiple rules match a window, they will all be applied, in the
629 # order that they appear in this list
632 # each element can be left out or set to 'default' to specify to not
633 # change that attribute of the window
636 # enable or disable window decorations
639 # make the window shaded when it appears, or not
642 # the position is only used if both an x and y coordinate are provided
643 # (and not set to 'default')
645 # a number like 50, or 'center' to center on screen. use a negative number
646 # to start from the right (or bottom for <y>), ie -50 is 50 pixels from the
647 # right edge (or bottom).
650 # specifies the monitor in a xinerama setup.
651 # 1 is the first head, or 'mouse' for wherever the mouse is
655 # if the window should try be given focus when it appears. if this is set
656 # to yes it doesn't guarantee the window will be given focus. some
657 # restrictions may apply, but Openbox will try to
660 # 1 is the first desktop, 'all' for all desktops
662 <layer>normal</layer>
663 # 'above', 'normal', or 'below'
666 # make the window iconified when it appears, or not
668 <skip_pager>no</skip_pager>
669 # asks to not be shown in pagers
671 <skip_taskbar>no</skip_taskbar>
672 # asks to not be shown in taskbars. window cycling actions will also
673 # skip past such windows
675 <fullscreen>yes</fullscreen>
676 # make the window in fullscreen mode when it appears
678 <maximized>true</maximized>
679 # 'Horizontal', 'Vertical' or boolean (yes/no)