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>Any
</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 -->
45 <name>Clearlooks
</name>
46 <titleLayout>NLIMC
</titleLayout>
48 available characters are NDSLIMC, each can occur at most once.
50 L: window label (AKA title).
54 S: shade (roll up/down)
55 D: omnipresent (on all desktops).
57 <keepBorder>yes
</keepBorder>
58 <animateIconify>yes
</animateIconify>
59 <font place=
"ActiveWindow">
62 <!-- font size in points -->
64 <!-- 'bold' or 'normal' -->
66 <!-- 'italic' or 'normal' -->
68 <font place=
"InactiveWindow">
71 <!-- font size in points -->
73 <!-- 'bold' or 'normal' -->
75 <!-- 'italic' or 'normal' -->
77 <font place=
"MenuHeader">
80 <!-- font size in points -->
81 <weight>normal
</weight>
82 <!-- 'bold' or 'normal' -->
84 <!-- 'italic' or 'normal' -->
86 <font place=
"MenuItem">
89 <!-- font size in points -->
90 <weight>normal
</weight>
91 <!-- 'bold' or 'normal' -->
93 <!-- 'italic' or 'normal' -->
95 <font place=
"OnScreenDisplay">
98 <!-- font size in points -->
100 <!-- 'bold' or 'normal' -->
101 <slant>normal
</slant>
102 <!-- 'italic' or 'normal' -->
107 <!-- this stuff is only used at startup, pagers allow you to change them
110 these are default values to use when other ones are not already set
111 by other applications, or saved in your session
113 use obconf if you want to change these without having to log out
116 <firstdesk>1</firstdesk>
118 <!-- set names up here if you want to, like this:
119 <name>desktop 1</name>
120 <name>desktop 2</name>
123 <popupTime>875</popupTime>
124 <!-- The number of milliseconds to show the popup for when switching
125 desktops. Set this to 0 to disable the popup. -->
129 <drawContents>yes
</drawContents>
130 <popupShow>Nonpixel
</popupShow>
131 <!-- 'Always', 'Never', or 'Nonpixel' (xterms and such) -->
132 <popupPosition>Center
</popupPosition>
133 <!-- 'Center', 'Top', or 'Fixed' -->
135 <!-- these are used if popupPosition is set to 'Fixed' -->
138 <!-- positive number for distance from left edge, negative number for
139 distance from right edge, or 'Center' -->
141 <!-- positive number for distance from top edge, negative number for
142 distance from bottom edge, or 'Center' -->
143 </popupFixedPosition>
146 <!-- You can reserve a portion of your screen where windows will not cover when
147 they are maximized, or when they are initially placed.
148 Many programs reserve space automatically, but you can use this in other
158 <position>TopLeft
</position>
159 <!-- (Top|Bottom)(Left|Right|)|Top|Bottom|Left|Right|Floating -->
160 <floatingX>0</floatingX>
161 <floatingY>0</floatingY>
162 <noStrut>no
</noStrut>
163 <stacking>Above
</stacking>
164 <!-- 'Above', 'Normal', or 'Below' -->
165 <direction>Vertical
</direction>
166 <!-- 'Vertical' or 'Horizontal' -->
167 <autoHide>no
</autoHide>
168 <hideDelay>300</hideDelay>
169 <!-- in milliseconds (1000 = 1 second) -->
170 <showDelay>300</showDelay>
171 <!-- in milliseconds (1000 = 1 second) -->
172 <moveButton>Middle
</moveButton>
173 <!-- 'Left', 'Middle', 'Right' -->
177 <chainQuitKey>C-g
</chainQuitKey>
179 <!-- Keybindings for desktop switching -->
180 <keybind key=
"C-A-Left">
181 <action name=
"GoToDesktop"><to>left
</to><wrap>no
</wrap></action>
183 <keybind key=
"C-A-Right">
184 <action name=
"GoToDesktop"><to>right
</to><wrap>no
</wrap></action>
186 <keybind key=
"C-A-Up">
187 <action name=
"GoToDesktop"><to>up
</to><wrap>no
</wrap></action>
189 <keybind key=
"C-A-Down">
190 <action name=
"GoToDesktop"><to>down
</to><wrap>no
</wrap></action>
192 <keybind key=
"S-A-Left">
193 <action name=
"SendToDesktop"><to>left
</to><wrap>no
</wrap></action>
195 <keybind key=
"S-A-Right">
196 <action name=
"SendToDesktop"><to>right
</to><wrap>no
</wrap></action>
198 <keybind key=
"S-A-Up">
199 <action name=
"SendToDesktop"><to>up
</to><wrap>no
</wrap></action>
201 <keybind key=
"S-A-Down">
202 <action name=
"SendToDesktop"><to>down
</to><wrap>no
</wrap></action>
205 <action name=
"GoToDesktop"><to>1</to></action>
208 <action name=
"GoToDesktop"><to>2</to></action>
211 <action name=
"GoToDesktop"><to>3</to></action>
214 <action name=
"GoToDesktop"><to>4</to></action>
217 <action name=
"ToggleShowDesktop"/>
220 <!-- Keybindings for windows -->
222 <action name=
"Close"/>
224 <keybind key=
"A-Escape">
225 <action name=
"Lower"/>
226 <action name=
"FocusToBottom"/>
227 <action name=
"Unfocus"/>
229 <keybind key=
"A-space">
230 <action name=
"ShowMenu"><menu>client-menu
</menu></action>
233 <!-- Keybindings for window switching -->
234 <keybind key=
"A-Tab">
235 <action name=
"NextWindow">
237 <action name=
"Focus"/>
238 <action name=
"Raise"/>
239 <action name=
"Unshade"/>
243 <keybind key=
"A-S-Tab">
244 <action name=
"PreviousWindow">
246 <action name=
"Focus"/>
247 <action name=
"Raise"/>
248 <action name=
"Unshade"/>
252 <keybind key=
"C-A-Tab">
253 <action name=
"NextWindow">
254 <panels>yes
</panels><desktop>yes
</desktop>
256 <action name=
"Focus"/>
257 <action name=
"Raise"/>
258 <action name=
"Unshade"/>
263 <!-- Keybindings for running applications -->
265 <action name=
"Execute">
267 <enabled>true
</enabled>
268 <name>Konqueror
</name>
270 <command>kfmclient openProfile filemanagement
</command>
276 <dragThreshold>8</dragThreshold>
277 <!-- number of pixels the mouse must move before a drag begins -->
278 <doubleClickTime>200</doubleClickTime>
279 <!-- in milliseconds (1000 = 1 second) -->
280 <screenEdgeWarpTime>400</screenEdgeWarpTime>
281 <!-- Time before changing desktops when the pointer touches the edge of the
282 screen while moving a window, in milliseconds (1000 = 1 second).
283 Set this to 0 to disable warping -->
285 <context name=
"Frame">
286 <mousebind button=
"A-Left" action=
"Press">
287 <action name=
"Focus"/>
288 <action name=
"Raise"/>
290 <mousebind button=
"A-Left" action=
"Click">
291 <action name=
"Unshade"/>
293 <mousebind button=
"A-Left" action=
"Drag">
294 <action name=
"Move"/>
297 <mousebind button=
"A-Right" action=
"Press">
298 <action name=
"Focus"/>
299 <action name=
"Raise"/>
300 <action name=
"Unshade"/>
302 <mousebind button=
"A-Right" action=
"Drag">
303 <action name=
"Resize"/>
306 <mousebind button=
"A-Middle" action=
"Press">
307 <action name=
"Lower"/>
308 <action name=
"FocusToBottom"/>
309 <action name=
"Unfocus"/>
312 <mousebind button=
"A-Up" action=
"Click">
313 <action name=
"GoToDesktop"><to>previous
</to></action>
315 <mousebind button=
"A-Down" action=
"Click">
316 <action name=
"GoToDesktop"><to>next
</to></action>
318 <mousebind button=
"C-A-Up" action=
"Click">
319 <action name=
"GoToDesktop"><to>previous
</to></action>
321 <mousebind button=
"C-A-Down" action=
"Click">
322 <action name=
"GoToDesktop"><to>next
</to></action>
324 <mousebind button=
"A-S-Up" action=
"Click">
325 <action name=
"SendToDesktop"><to>previous
</to></action>
327 <mousebind button=
"A-S-Down" action=
"Click">
328 <action name=
"SendToDesktop"><to>next
</to></action>
332 <context name=
"Titlebar">
333 <mousebind button=
"Left" action=
"Press">
334 <action name=
"Focus"/>
335 <action name=
"Raise"/>
337 <mousebind button=
"Left" action=
"Drag">
338 <action name=
"Move"/>
340 <mousebind button=
"Left" action=
"DoubleClick">
341 <action name=
"ToggleMaximize"/>
344 <mousebind button=
"Middle" action=
"Press">
345 <action name=
"Lower"/>
346 <action name=
"FocusToBottom"/>
347 <action name=
"Unfocus"/>
350 <mousebind button=
"Up" action=
"Click">
354 <action name=
"Shade"/>
355 <action name=
"FocusToBottom"/>
356 <action name=
"Unfocus"/>
357 <action name=
"Lower"/>
361 <mousebind button=
"Down" action=
"Click">
365 <action name=
"Unshade"/>
366 <action name=
"Raise"/>
371 <mousebind button=
"Right" action=
"Press">
372 <action name=
"Focus"/>
373 <action name=
"Raise"/>
374 <action name=
"ShowMenu"><menu>client-menu
</menu></action>
379 <mousebind button=
"Left" action=
"Press">
380 <action name=
"Focus"/>
381 <action name=
"Raise"/>
382 <action name=
"Unshade"/>
384 <mousebind button=
"Left" action=
"Drag">
385 <action name=
"Resize"><edge>top
</edge></action>
389 <context name=
"Left">
390 <mousebind button=
"Left" action=
"Press">
391 <action name=
"Focus"/>
392 <action name=
"Raise"/>
394 <mousebind button=
"Left" action=
"Drag">
395 <action name=
"Resize"><edge>left
</edge></action>
399 <context name=
"Right">
400 <mousebind button=
"Left" action=
"Press">
401 <action name=
"Focus"/>
402 <action name=
"Raise"/>
404 <mousebind button=
"Left" action=
"Drag">
405 <action name=
"Resize"><edge>right
</edge></action>
409 <context name=
"Bottom">
410 <mousebind button=
"Left" action=
"Press">
411 <action name=
"Focus"/>
412 <action name=
"Raise"/>
414 <mousebind button=
"Left" action=
"Drag">
415 <action name=
"Resize"><edge>bottom
</edge></action>
418 <mousebind button=
"Middle" action=
"Press">
419 <action name=
"Lower"/>
420 <action name=
"FocusToBottom"/>
421 <action name=
"Unfocus"/>
424 <mousebind button=
"Right" action=
"Press">
425 <action name=
"Focus"/>
426 <action name=
"Raise"/>
427 <action name=
"ShowMenu"><menu>client-menu
</menu></action>
431 <context name=
"BLCorner">
432 <mousebind button=
"Left" action=
"Press">
433 <action name=
"Focus"/>
434 <action name=
"Raise"/>
436 <mousebind button=
"Left" action=
"Drag">
437 <action name=
"Resize"><edge>bottomleft
</edge></action>
441 <context name=
"BRCorner">
442 <mousebind button=
"Left" action=
"Press">
443 <action name=
"Focus"/>
444 <action name=
"Raise"/>
446 <mousebind button=
"Left" action=
"Drag">
447 <action name=
"Resize"><edge>bottomright
</edge></action>
451 <context name=
"TLCorner">
452 <mousebind button=
"Left" action=
"Press">
453 <action name=
"Focus"/>
454 <action name=
"Raise"/>
455 <action name=
"Unshade"/>
457 <mousebind button=
"Left" action=
"Drag">
458 <action name=
"Resize"><edge>topleft
</edge></action>
462 <context name=
"TRCorner">
463 <mousebind button=
"Left" action=
"Press">
464 <action name=
"Focus"/>
465 <action name=
"Raise"/>
466 <action name=
"Unshade"/>
468 <mousebind button=
"Left" action=
"Drag">
469 <action name=
"Resize"><edge>topright
</edge></action>
473 <context name=
"Client">
474 <mousebind button=
"Left" action=
"Press">
475 <action name=
"Focus"/>
476 <action name=
"Raise"/>
478 <mousebind button=
"Middle" action=
"Press">
479 <action name=
"Focus"/>
480 <action name=
"Raise"/>
482 <mousebind button=
"Right" action=
"Press">
483 <action name=
"Focus"/>
484 <action name=
"Raise"/>
488 <context name=
"Icon">
489 <mousebind button=
"Left" action=
"Press">
490 <action name=
"Focus"/>
491 <action name=
"Raise"/>
492 <action name=
"Unshade"/>
493 <action name=
"ShowMenu"><menu>client-menu
</menu></action>
495 <mousebind button=
"Right" action=
"Press">
496 <action name=
"Focus"/>
497 <action name=
"Raise"/>
498 <action name=
"ShowMenu"><menu>client-menu
</menu></action>
502 <context name=
"AllDesktops">
503 <mousebind button=
"Left" action=
"Press">
504 <action name=
"Focus"/>
505 <action name=
"Raise"/>
506 <action name=
"Unshade"/>
508 <mousebind button=
"Left" action=
"Click">
509 <action name=
"ToggleOmnipresent"/>
513 <context name=
"Shade">
514 <mousebind button=
"Left" action=
"Press">
515 <action name=
"Focus"/>
516 <action name=
"Raise"/>
518 <mousebind button=
"Left" action=
"Click">
519 <action name=
"ToggleShade"/>
523 <context name=
"Iconify">
524 <mousebind button=
"Left" action=
"Press">
525 <action name=
"Focus"/>
526 <action name=
"Raise"/>
528 <mousebind button=
"Left" action=
"Click">
529 <action name=
"Iconify"/>
533 <context name=
"Maximize">
534 <mousebind button=
"Left" action=
"Press">
535 <action name=
"Focus"/>
536 <action name=
"Raise"/>
537 <action name=
"Unshade"/>
539 <mousebind button=
"Middle" action=
"Press">
540 <action name=
"Focus"/>
541 <action name=
"Raise"/>
542 <action name=
"Unshade"/>
544 <mousebind button=
"Right" action=
"Press">
545 <action name=
"Focus"/>
546 <action name=
"Raise"/>
547 <action name=
"Unshade"/>
549 <mousebind button=
"Left" action=
"Click">
550 <action name=
"ToggleMaximize"/>
552 <mousebind button=
"Middle" action=
"Click">
553 <action name=
"ToggleMaximize"><direction>vertical
</direction></action>
555 <mousebind button=
"Right" action=
"Click">
556 <action name=
"ToggleMaximize"><direction>horizontal
</direction></action>
560 <context name=
"Close">
561 <mousebind button=
"Left" action=
"Press">
562 <action name=
"Focus"/>
563 <action name=
"Raise"/>
564 <action name=
"Unshade"/>
566 <mousebind button=
"Left" action=
"Click">
567 <action name=
"Close"/>
571 <context name=
"Desktop">
572 <mousebind button=
"Up" action=
"Click">
573 <action name=
"GoToDesktop"><to>previous
</to></action>
575 <mousebind button=
"Down" action=
"Click">
576 <action name=
"GoToDesktop"><to>next
</to></action>
579 <mousebind button=
"A-Up" action=
"Click">
580 <action name=
"GoToDesktop"><to>previous
</to></action>
582 <mousebind button=
"A-Down" action=
"Click">
583 <action name=
"GoToDesktop"><to>next
</to></action>
585 <mousebind button=
"C-A-Up" action=
"Click">
586 <action name=
"GoToDesktop"><to>previous
</to></action>
588 <mousebind button=
"C-A-Down" action=
"Click">
589 <action name=
"GoToDesktop"><to>next
</to></action>
592 <mousebind button=
"Left" action=
"Press">
593 <action name=
"Focus"/>
594 <action name=
"Raise"/>
596 <mousebind button=
"Right" action=
"Press">
597 <action name=
"Focus"/>
598 <action name=
"Raise"/>
602 <context name=
"Root">
604 <mousebind button=
"Middle" action=
"Press">
605 <action name=
"ShowMenu"><menu>client-list-combined-menu
</menu></action>
607 <mousebind button=
"Right" action=
"Press">
608 <action name=
"ShowMenu"><menu>root-menu
</menu></action>
612 <context name=
"MoveResize">
613 <mousebind button=
"Up" action=
"Click">
614 <action name=
"GoToDesktop"><to>previous
</to></action>
616 <mousebind button=
"Down" action=
"Click">
617 <action name=
"GoToDesktop"><to>next
</to></action>
619 <mousebind button=
"A-Up" action=
"Click">
620 <action name=
"GoToDesktop"><to>previous
</to></action>
622 <mousebind button=
"A-Down" action=
"Click">
623 <action name=
"GoToDesktop"><to>next
</to></action>
629 <!-- You can specify more than one menu file in here and they are all loaded,
630 just don't make menu ids clash or, well, it'll be kind of pointless -->
632 <!-- default menu file (or custom one in $HOME/.config/openbox/) -->
633 <file>menu.xml
</file>
634 <hideDelay>200</hideDelay>
636 <submenuShowDelay>100</submenuShowDelay>
637 <applicationIcons>yes
</applicationIcons>
642 # this is an example with comments through out. use these to make your
643 # own rules, but without the comments of course.
645 <application name="first element of window's WM_CLASS property (see xprop)"
646 class="second element of window's WM_CLASS property (see xprop)"
647 role="the window's WM_WINDOW_ROLE property (see xprop)">
648 # the name or the class can be set, or both. this is used to match
649 # windows when they appear. role can optionally be set as well, to
650 # further restrict your matches.
652 # the name, class, and role use simple wildcard matching such as those
653 # used by a shell. you can use * to match any characters and ? to match
654 # any single character.
656 # when multiple rules match a window, they will all be applied, in the
657 # order that they appear in this list
660 # each element can be left out or set to 'default' to specify to not
661 # change that attribute of the window
664 # enable or disable window decorations
667 # make the window shaded when it appears, or not
670 # the position is only used if both an x and y coordinate are provided
671 # (and not set to 'default')
673 # a number like 50, or 'center' to center on screen. use a negative number
674 # to start from the right (or bottom for <y>), ie -50 is 50 pixels from the
675 # right edge (or bottom).
678 # specifies the monitor in a xinerama setup.
679 # 1 is the first head, or 'mouse' for wherever the mouse is
683 # if the window should try be given focus when it appears. if this is set
684 # to yes it doesn't guarantee the window will be given focus. some
685 # restrictions may apply, but Openbox will try to
688 # 1 is the first desktop, 'all' for all desktops
690 <layer>normal</layer>
691 # 'above', 'normal', or 'below'
694 # make the window iconified when it appears, or not
696 <skip_pager>no</skip_pager>
697 # asks to not be shown in pagers
699 <skip_taskbar>no</skip_taskbar>
700 # asks to not be shown in taskbars. window cycling actions will also
701 # skip past such windows
703 <fullscreen>yes</fullscreen>
704 # make the window in fullscreen mode when it appears
706 <maximized>true</maximized>
707 # 'Horizontal', 'Vertical' or boolean (yes/no)