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' -->
130 <position>TopLeft
</position>
131 <!-- (Top|Bottom)(Left|Right|)|Top|Bottom|Left|Right|Floating -->
132 <floatingX>0</floatingX>
133 <floatingY>0</floatingY>
134 <noStrut>no
</noStrut>
135 <stacking>Above
</stacking>
136 <!-- 'Above', 'Normal', or 'Below' -->
137 <direction>Vertical
</direction>
138 <!-- 'Vertical' or 'Horizontal' -->
139 <autoHide>no
</autoHide>
140 <hideDelay>300</hideDelay>
141 <!-- in milliseconds (1000 = 1 second) -->
142 <showDelay>300</showDelay>
143 <!-- in milliseconds (1000 = 1 second) -->
144 <moveButton>Middle
</moveButton>
145 <!-- 'Left', 'Middle', 'Right' -->
149 <chainQuitKey>C-g
</chainQuitKey>
151 <!-- Keybindings for desktop switching -->
152 <keybind key=
"C-A-Left">
153 <action name=
"DesktopLeft"><dialog>no
</dialog><wrap>no
</wrap></action>
155 <keybind key=
"C-A-Right">
156 <action name=
"DesktopRight"><dialog>no
</dialog><wrap>no
</wrap></action>
158 <keybind key=
"C-A-Up">
159 <action name=
"DesktopUp"><dialog>no
</dialog><wrap>no
</wrap></action>
161 <keybind key=
"C-A-Down">
162 <action name=
"DesktopDown"><dialog>no
</dialog><wrap>no
</wrap></action>
164 <keybind key=
"S-A-Left">
165 <action name=
"SendToDesktopLeft"><dialog>no
</dialog><wrap>no
</wrap></action>
167 <keybind key=
"S-A-Right">
168 <action name=
"SendToDesktopRight"><dialog>no
</dialog><wrap>no
</wrap></action>
170 <keybind key=
"S-A-Up">
171 <action name=
"SendToDesktopUp"><dialog>no
</dialog><wrap>no
</wrap></action>
173 <keybind key=
"S-A-Down">
174 <action name=
"SendToDesktopDown"><dialog>no
</dialog><wrap>no
</wrap></action>
177 <action name=
"Desktop"><desktop>1</desktop></action>
180 <action name=
"Desktop"><desktop>2</desktop></action>
183 <action name=
"Desktop"><desktop>3</desktop></action>
186 <action name=
"Desktop"><desktop>4</desktop></action>
189 <action name=
"ToggleShowDesktop"/>
192 <!-- Keybindings for windows -->
194 <action name=
"Close"/>
196 <keybind key=
"A-Escape">
197 <action name=
"Lower"/>
198 <action name=
"FocusToBottom"/>
199 <action name=
"Unfocus"/>
201 <keybind key=
"A-space">
202 <action name=
"ShowMenu"><menu>client-menu
</menu></action>
205 <!-- Keybindings for window switching -->
206 <keybind key=
"A-Tab">
207 <action name=
"NextWindow"/>
209 <keybind key=
"A-S-Tab">
210 <action name=
"PreviousWindow"/>
212 <keybind key=
"C-A-Tab">
213 <action name=
"NextWindow">
214 <panels>yes
</panels><desktop>yes
</desktop>
218 <!-- Keybindings for running applications -->
220 <action name=
"Execute">
222 <enabled>true
</enabled>
223 <name>Konqueror
</name>
225 <execute>kfmclient openProfile filemanagement
</execute>
231 <dragThreshold>8</dragThreshold>
232 <!-- number of pixels the mouse must move before a drag begins -->
233 <doubleClickTime>200</doubleClickTime>
234 <!-- in milliseconds (1000 = 1 second) -->
235 <screenEdgeWarpTime>400</screenEdgeWarpTime>
236 <!-- time before changing desktops when the pointer touches the edge of the
237 screen while moving a window, in milliseconds (1000 = 1 second),
238 0 disables warping -->
240 <context name=
"Frame">
241 <mousebind button=
"A-Left" action=
"Press">
242 <action name=
"Focus"/>
243 <action name=
"Raise"/>
245 <mousebind button=
"A-Left" action=
"Click">
246 <action name=
"Unshade"/>
248 <mousebind button=
"A-Left" action=
"Drag">
249 <action name=
"Move"/>
252 <mousebind button=
"A-Right" action=
"Press">
253 <action name=
"Focus"/>
254 <action name=
"Raise"/>
255 <action name=
"Unshade"/>
257 <mousebind button=
"A-Right" action=
"Drag">
258 <action name=
"Resize"/>
261 <mousebind button=
"A-Middle" action=
"Press">
262 <action name=
"Lower"/>
263 <action name=
"FocusToBottom"/>
264 <action name=
"Unfocus"/>
267 <mousebind button=
"A-Up" action=
"Click">
268 <action name=
"DesktopPrevious"/>
270 <mousebind button=
"A-Down" action=
"Click">
271 <action name=
"DesktopNext"/>
273 <mousebind button=
"C-A-Up" action=
"Click">
274 <action name=
"DesktopPrevious"/>
276 <mousebind button=
"C-A-Down" action=
"Click">
277 <action name=
"DesktopNext"/>
279 <mousebind button=
"A-S-Up" action=
"Click">
280 <action name=
"SendToDesktopPrevious"/>
282 <mousebind button=
"A-S-Down" action=
"Click">
283 <action name=
"SendToDesktopNext"/>
287 <context name=
"Titlebar">
288 <mousebind button=
"Left" action=
"Press">
289 <action name=
"Focus"/>
290 <action name=
"Raise"/>
292 <mousebind button=
"Left" action=
"Drag">
293 <action name=
"Move"/>
295 <mousebind button=
"Left" action=
"DoubleClick">
296 <action name=
"ToggleMaximizeFull"/>
299 <mousebind button=
"Middle" action=
"Press">
300 <action name=
"Lower"/>
301 <action name=
"FocusToBottom"/>
302 <action name=
"Unfocus"/>
305 <mousebind button=
"Up" action=
"Click">
306 <action name=
"Shade"/>
307 <action name=
"FocusToBottom"/>
308 <action name=
"Unfocus"/>
309 <action name=
"Lower"/>
311 <mousebind button=
"Down" action=
"Click">
312 <action name=
"Unshade"/>
313 <action name=
"Raise"/>
316 <mousebind button=
"Right" action=
"Press">
317 <action name=
"Focus"/>
318 <action name=
"Raise"/>
319 <action name=
"ShowMenu"><menu>client-menu
</menu></action>
324 <mousebind button=
"Left" action=
"Press">
325 <action name=
"Focus"/>
326 <action name=
"Raise"/>
327 <action name=
"Unshade"/>
329 <mousebind button=
"Left" action=
"Drag">
330 <action name=
"Resize"><edge>top
</edge></action>
334 <context name=
"Left">
335 <mousebind button=
"Left" action=
"Press">
336 <action name=
"Focus"/>
337 <action name=
"Raise"/>
339 <mousebind button=
"Left" action=
"Drag">
340 <action name=
"Resize"><edge>left
</edge></action>
344 <context name=
"Right">
345 <mousebind button=
"Left" action=
"Press">
346 <action name=
"Focus"/>
347 <action name=
"Raise"/>
349 <mousebind button=
"Left" action=
"Drag">
350 <action name=
"Resize"><edge>right
</edge></action>
354 <context name=
"Bottom">
355 <mousebind button=
"Left" action=
"Press">
356 <action name=
"Focus"/>
357 <action name=
"Raise"/>
359 <mousebind button=
"Left" action=
"Drag">
360 <action name=
"Resize"><edge>bottom
</edge></action>
363 <mousebind button=
"Middle" action=
"Press">
364 <action name=
"Lower"/>
365 <action name=
"FocusToBottom"/>
366 <action name=
"Unfocus"/>
369 <mousebind button=
"Right" action=
"Press">
370 <action name=
"Focus"/>
371 <action name=
"Raise"/>
372 <action name=
"ShowMenu"><menu>client-menu
</menu></action>
376 <context name=
"BLCorner">
377 <mousebind button=
"Left" action=
"Press">
378 <action name=
"Focus"/>
379 <action name=
"Raise"/>
381 <mousebind button=
"Left" action=
"Drag">
382 <action name=
"Resize"/>
386 <context name=
"BRCorner">
387 <mousebind button=
"Left" action=
"Press">
388 <action name=
"Focus"/>
389 <action name=
"Raise"/>
391 <mousebind button=
"Left" action=
"Drag">
392 <action name=
"Resize"/>
396 <context name=
"TLCorner">
397 <mousebind button=
"Left" action=
"Press">
398 <action name=
"Focus"/>
399 <action name=
"Raise"/>
400 <action name=
"Unshade"/>
402 <mousebind button=
"Left" action=
"Drag">
403 <action name=
"Resize"/>
407 <context name=
"TRCorner">
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=
"Client">
419 <mousebind button=
"Left" action=
"Press">
420 <action name=
"Focus"/>
421 <action name=
"Raise"/>
423 <mousebind button=
"Middle" action=
"Press">
424 <action name=
"Focus"/>
425 <action name=
"Raise"/>
427 <mousebind button=
"Right" action=
"Press">
428 <action name=
"Focus"/>
429 <action name=
"Raise"/>
433 <context name=
"Icon">
434 <mousebind button=
"Left" action=
"Press">
435 <action name=
"Focus"/>
436 <action name=
"Raise"/>
437 <action name=
"Unshade"/>
438 <action name=
"ShowMenu"><menu>client-menu
</menu></action>
440 <mousebind button=
"Right" action=
"Press">
441 <action name=
"Focus"/>
442 <action name=
"Raise"/>
443 <action name=
"ShowMenu"><menu>client-menu
</menu></action>
447 <context name=
"AllDesktops">
448 <mousebind button=
"Left" action=
"Press">
449 <action name=
"Focus"/>
450 <action name=
"Raise"/>
451 <action name=
"Unshade"/>
453 <mousebind button=
"Left" action=
"Click">
454 <action name=
"ToggleOmnipresent"/>
458 <context name=
"Shade">
459 <mousebind button=
"Left" action=
"Press">
460 <action name=
"Focus"/>
461 <action name=
"Raise"/>
463 <mousebind button=
"Left" action=
"Click">
464 <action name=
"ToggleShade"/>
468 <context name=
"Iconify">
469 <mousebind button=
"Left" action=
"Press">
470 <action name=
"Focus"/>
471 <action name=
"Raise"/>
473 <mousebind button=
"Left" action=
"Click">
474 <action name=
"Iconify"/>
478 <context name=
"Maximize">
479 <mousebind button=
"Left" action=
"Press">
480 <action name=
"Focus"/>
481 <action name=
"Raise"/>
482 <action name=
"Unshade"/>
484 <mousebind button=
"Middle" action=
"Press">
485 <action name=
"Focus"/>
486 <action name=
"Raise"/>
487 <action name=
"Unshade"/>
489 <mousebind button=
"Right" action=
"Press">
490 <action name=
"Focus"/>
491 <action name=
"Raise"/>
492 <action name=
"Unshade"/>
494 <mousebind button=
"Left" action=
"Click">
495 <action name=
"ToggleMaximizeFull"/>
497 <mousebind button=
"Middle" action=
"Click">
498 <action name=
"ToggleMaximizeVert"/>
500 <mousebind button=
"Right" action=
"Click">
501 <action name=
"ToggleMaximizeHorz"/>
505 <context name=
"Close">
506 <mousebind button=
"Left" action=
"Press">
507 <action name=
"Focus"/>
508 <action name=
"Raise"/>
509 <action name=
"Unshade"/>
511 <mousebind button=
"Left" action=
"Click">
512 <action name=
"Close"/>
516 <context name=
"Desktop">
517 <mousebind button=
"Up" action=
"Press">
518 <action name=
"DesktopPrevious"/>
520 <mousebind button=
"Down" action=
"Press">
521 <action name=
"DesktopNext"/>
524 <mousebind button=
"A-Up" action=
"Press">
525 <action name=
"DesktopPrevious"/>
527 <mousebind button=
"A-Down" action=
"Press">
528 <action name=
"DesktopNext"/>
530 <mousebind button=
"C-A-Up" action=
"Press">
531 <action name=
"DesktopPrevious"/>
533 <mousebind button=
"C-A-Down" action=
"Press">
534 <action name=
"DesktopNext"/>
537 <mousebind button=
"Left" action=
"Press">
538 <action name=
"Focus"/>
539 <action name=
"Raise"/>
543 <context name=
"Root">
545 <mousebind button=
"Middle" action=
"Press">
546 <action name=
"ShowMenu"><menu>client-list-combined-menu
</menu></action>
548 <mousebind button=
"Right" action=
"Press">
549 <action name=
"ShowMenu"><menu>root-menu
</menu></action>
553 <context name=
"MoveResize">
554 <mousebind button=
"Up" action=
"Press">
555 <action name=
"DesktopPrevious"/>
557 <mousebind button=
"Down" action=
"Press">
558 <action name=
"DesktopNext"/>
560 <mousebind button=
"A-Up" action=
"Press">
561 <action name=
"DesktopPrevious"/>
563 <mousebind button=
"A-Down" action=
"Press">
564 <action name=
"DesktopNext"/>
570 <!-- You can specify more than one menu file in here and they are all loaded,
571 just don't make menu ids clash or, well, it'll be kind of pointless -->
573 <!-- default menu file (or custom one in $HOME/.config/openbox/) -->
574 <file>menu.xml
</file>
575 <hideDelay>200</hideDelay>
577 <submenuShowDelay>100</submenuShowDelay>
578 <applicationIcons>yes
</applicationIcons>
583 # this is an example with comments through out. use these to make your
584 # own rules, but without the comments of course.
586 <application name="first element of window's WM_CLASS property (see xprop)"
587 class="second element of window's WM_CLASS property (see xprop)"
588 role="the window's WM_WINDOW_ROLE property (see xprop)">
589 # the name or the class can be set, or both. this is used to match
590 # windows when they appear. role can optionally be set as well, to
591 # further restrict your matches.
593 # the name, class, and role use simple wildcard matching such as those
594 # used by a shell. you can use * to match any characters and ? to match
595 # any single character.
597 # when multiple rules match a window, they will all be applied, in the
598 # order that they appear in this list
601 # each element can be left out or set to 'default' to specify to not
602 # change that attribute of the window
605 # enable or disable window decorations
608 # make the window shaded when it appears, or not
611 # the position is only used if both an x and y coordinate are provided
612 # (and not set to 'default')
614 # a number like 50, or 'center' to center on screen
616 # a number like 50, or 'center' to center on screen
618 # specifies the monitor in a xinerama setup.
619 # 1 is the first head, or 'mouse' for wherever the mouse is
623 # if the window should try be given focus when it appears. if this is set
624 # to yes it doesn't guarantee the window will be given focus. some
625 # restrictions may apply, but Openbox will try to
628 # 1 is the first desktop, 'all' for all desktops
630 <layer>normal</layer>
631 # 'above', 'normal', or 'below'
634 # make the window iconified when it appears, or not
636 <skip_pager>no</skip_pager>
637 # asks to not be shown in pagers
639 <skip_taskbar>no</skip_taskbar>
640 # asks to not be shown in taskbars. window cycling actions will also
641 # skip past such windows
643 <fullscreen>yes</fullscreen>
644 # make the window in fullscreen mode when it appears
646 <maximized>true</maximized>
647 # 'Horizontal', 'Vertical' or boolean (yes/no)