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/4.0/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 <focusLast>yes
</focusLast>
18 <!-- focus the last used window when changing desktops, instead of the one
19 under the mouse pointer. when followMouse is enabled -->
20 <followMouse>no
</followMouse>
21 <!-- move focus to a window when you move the mouse into it -->
22 <focusDelay>200</focusDelay>
23 <!-- when followMouse is enabled, the mouse must be inside the window for
24 this many milliseconds (1000 = 1 sec) before moving focus to it -->
25 <raiseOnFocus>no
</raiseOnFocus>
26 <!-- when followMouse is enabled, and a window is given focus by moving the
27 mouse into it, also raise the window -->
31 <policy>Smart
</policy>
32 <!-- 'Smart' or 'UnderMouse' -->
36 <name>Clearlooks
</name>
37 <titleLayout>NLIMC
</titleLayout>
39 avaible characters are NDSLIMC, each can occur at most once.
41 L: window label (AKA title).
45 S: shade (roll up/down)
46 D: omnipresent (on all desktops).
48 <keepBorder>yes
</keepBorder>
49 <animateIconify>yes
</animateIconify>
50 <font place=
"ActiveWindow">
53 <!-- font size in points -->
55 <!-- 'bold' or 'normal' -->
57 <!-- 'italic' or 'normal' -->
59 <font place=
"InactiveWindow">
62 <!-- font size in points -->
64 <!-- 'bold' or 'normal' -->
66 <!-- 'italic' or 'normal' -->
68 <font place=
"MenuHeader">
71 <!-- font size in points -->
72 <weight>normal
</weight>
73 <!-- 'bold' or 'normal' -->
75 <!-- 'italic' or 'normal' -->
77 <font place=
"MenuItem">
80 <!-- font size in points -->
81 <weight>normal
</weight>
82 <!-- 'bold' or 'normal' -->
84 <!-- 'italic' or 'normal' -->
86 <font place=
"OnScreenDisplay">
89 <!-- font size in points -->
91 <!-- 'bold' or 'normal' -->
93 <!-- 'italic' or 'normal' -->
98 <!-- this stuff is only used at startup, pagers allow you to change them
101 these are default values to use when other ones are not already set
102 by other applications, or saved in your session
104 use obconf if you want to change these without having to log out
107 <firstdesk>1</firstdesk>
109 <!-- set names up here if you want to, like this:
110 <name>desktop 1</name>
111 <name>desktop 2</name>
117 <drawContents>yes
</drawContents>
118 <popupShow>Nonpixel
</popupShow>
119 <!-- 'Always', 'Never', or 'Nonpixel' (xterms and such) -->
120 <popupPosition>Center
</popupPosition>
121 <!-- 'Center' or 'Top' -->
125 <position>TopLeft
</position>
126 <!-- (Top|Bottom)(Left|Right|)|Top|Bottom|Left|Right|Floating -->
127 <floatingX>0</floatingX>
128 <floatingY>0</floatingY>
129 <noStrut>no
</noStrut>
130 <stacking>Above
</stacking>
131 <!-- 'Above', 'Normal', or 'Below' -->
132 <direction>Vertical
</direction>
133 <!-- 'Vertical' or 'Horizontal' -->
134 <autoHide>no
</autoHide>
135 <hideDelay>300</hideDelay>
136 <!-- in milliseconds (1000 = 1 second) -->
137 <showDelay>300</showDelay>
138 <!-- in milliseconds (1000 = 1 second) -->
139 <moveButton>Middle
</moveButton>
140 <!-- 'Left', 'Middle', 'Right' -->
144 <chainQuitKey>C-g
</chainQuitKey>
146 <!-- Keybindings for desktop switching -->
147 <keybind key=
"C-A-Left">
148 <action name=
"DesktopLeft"><wrap>no
</wrap></action>
150 <keybind key=
"C-A-Right">
151 <action name=
"DesktopRight"><wrap>no
</wrap></action>
153 <keybind key=
"C-A-Up">
154 <action name=
"DesktopUp"><wrap>no
</wrap></action>
156 <keybind key=
"C-A-Down">
157 <action name=
"DesktopDown"><wrap>no
</wrap></action>
159 <keybind key=
"S-A-Left">
160 <action name=
"SendToDesktopLeft"><wrap>no
</wrap></action>
162 <keybind key=
"S-A-Right">
163 <action name=
"SendToDesktopRight"><wrap>no
</wrap></action>
165 <keybind key=
"S-A-Up">
166 <action name=
"SendToDesktopUp"><wrap>no
</wrap></action>
168 <keybind key=
"S-A-Down">
169 <action name=
"SendToDesktopDown"><wrap>no
</wrap></action>
172 <action name=
"Desktop"><desktop>1</desktop></action>
175 <action name=
"Desktop"><desktop>2</desktop></action>
178 <action name=
"Desktop"><desktop>3</desktop></action>
181 <action name=
"Desktop"><desktop>4</desktop></action>
184 <action name=
"ToggleShowDesktop"/>
187 <!-- Keybindings for windows -->
189 <action name=
"Close"/>
191 <keybind key=
"A-Escape">
192 <action name=
"Lower"/>
193 <action name=
"FocusToBottom"/>
194 <action name=
"Unfocus"/>
196 <keybind key=
"A-space">
197 <action name=
"ShowMenu"><menu>client-menu
</menu></action>
200 <!-- Keybindings for window switching -->
201 <keybind key=
"A-Tab">
202 <action name=
"NextWindow"/>
204 <keybind key=
"A-S-Tab">
205 <action name=
"PreviousWindow"/>
207 <keybind key=
"C-A-Tab">
208 <action name=
"NextWindow">
209 <panels>yes
</panels><desktop>yes
</desktop>
213 <!-- Keybindings for running applications -->
215 <action name=
"Execute">
217 <enabled>true
</enabled>
218 <name>Konqueror
</name>
220 <execute>kfmclient openProfile filemanagement
</execute>
226 <dragThreshold>3</dragThreshold>
227 <!-- number of pixels the mouse must move before a drag begins -->
228 <doubleClickTime>200</doubleClickTime>
229 <!-- in milliseconds (1000 = 1 second) -->
231 <context name=
"Frame">
232 <mousebind button=
"A-Left" action=
"Press">
233 <action name=
"Focus"/>
234 <action name=
"Raise"/>
236 <mousebind button=
"A-Left" action=
"Click">
237 <action name=
"Unshade"/>
239 <mousebind button=
"A-Left" action=
"Drag">
240 <action name=
"Move"/>
243 <mousebind button=
"A-Right" action=
"Press">
244 <action name=
"Focus"/>
245 <action name=
"Raise"/>
246 <action name=
"Unshade"/>
248 <mousebind button=
"A-Right" action=
"Drag">
249 <action name=
"Resize"/>
252 <mousebind button=
"A-Middle" action=
"Press">
253 <action name=
"Lower"/>
254 <action name=
"FocusToBottom"/>
255 <action name=
"Unfocus"/>
258 <mousebind button=
"A-Up" action=
"Click">
259 <action name=
"DesktopPrevious"/>
261 <mousebind button=
"A-Down" action=
"Click">
262 <action name=
"DesktopNext"/>
264 <mousebind button=
"C-A-Up" action=
"Click">
265 <action name=
"DesktopPrevious"/>
267 <mousebind button=
"C-A-Down" action=
"Click">
268 <action name=
"DesktopNext"/>
270 <mousebind button=
"A-S-Up" action=
"Click">
271 <action name=
"SendToDesktopPrevious"/>
273 <mousebind button=
"A-S-Down" action=
"Click">
274 <action name=
"SendToDesktopNext"/>
278 <context name=
"Titlebar">
279 <mousebind button=
"Left" action=
"Press">
280 <action name=
"Focus"/>
281 <action name=
"Raise"/>
283 <mousebind button=
"Left" action=
"Click">
284 <action name=
"Unshade"/>
286 <mousebind button=
"Left" action=
"Drag">
287 <action name=
"Move"/>
289 <mousebind button=
"Left" action=
"DoubleClick">
290 <action name=
"ToggleMaximizeFull"/>
293 <mousebind button=
"Middle" action=
"Press">
294 <action name=
"Lower"/>
295 <action name=
"FocusToBottom"/>
296 <action name=
"Unfocus"/>
299 <mousebind button=
"Up" action=
"Click">
300 <action name=
"Shade"/>
301 <action name=
"FocusToBottom"/>
302 <action name=
"Unfocus"/>
304 <mousebind button=
"Down" action=
"Click">
305 <action name=
"Unshade"/>
308 <mousebind button=
"Right" action=
"Press">
309 <action name=
"Focus"/>
310 <action name=
"Raise"/>
311 <action name=
"ShowMenu"><menu>client-menu
</menu></action>
316 <mousebind button=
"Left" action=
"Press">
317 <action name=
"Focus"/>
318 <action name=
"Raise"/>
319 <action name=
"Unshade"/>
321 <mousebind button=
"Left" action=
"Drag">
322 <action name=
"Resize"><edge>top
</edge></action>
326 <context name=
"Left">
327 <mousebind button=
"Left" action=
"Press">
328 <action name=
"Focus"/>
329 <action name=
"Raise"/>
331 <mousebind button=
"Left" action=
"Drag">
332 <action name=
"Resize"><edge>left
</edge></action>
336 <context name=
"Right">
337 <mousebind button=
"Left" action=
"Press">
338 <action name=
"Focus"/>
339 <action name=
"Raise"/>
341 <mousebind button=
"Left" action=
"Drag">
342 <action name=
"Resize"><edge>right
</edge></action>
346 <context name=
"Bottom">
347 <mousebind button=
"Left" action=
"Press">
348 <action name=
"Focus"/>
349 <action name=
"Raise"/>
351 <mousebind button=
"Left" action=
"Drag">
352 <action name=
"Resize"><edge>bottom
</edge></action>
355 <mousebind button=
"Middle" action=
"Press">
356 <action name=
"Lower"/>
357 <action name=
"FocusToBottom"/>
358 <action name=
"Unfocus"/>
361 <mousebind button=
"Right" action=
"Press">
362 <action name=
"Focus"/>
363 <action name=
"Raise"/>
364 <action name=
"ShowMenu"><menu>client-menu
</menu></action>
368 <context name=
"BLCorner">
369 <mousebind button=
"Left" action=
"Press">
370 <action name=
"Focus"/>
371 <action name=
"Raise"/>
373 <mousebind button=
"Left" action=
"Drag">
374 <action name=
"Resize"/>
378 <context name=
"BRCorner">
379 <mousebind button=
"Left" action=
"Press">
380 <action name=
"Focus"/>
381 <action name=
"Raise"/>
383 <mousebind button=
"Left" action=
"Drag">
384 <action name=
"Resize"/>
388 <context name=
"TLCorner">
389 <mousebind button=
"Left" action=
"Press">
390 <action name=
"Focus"/>
391 <action name=
"Raise"/>
392 <action name=
"Unshade"/>
394 <mousebind button=
"Left" action=
"Drag">
395 <action name=
"Resize"/>
399 <context name=
"TRCorner">
400 <mousebind button=
"Left" action=
"Press">
401 <action name=
"Focus"/>
402 <action name=
"Raise"/>
403 <action name=
"Unshade"/>
405 <mousebind button=
"Left" action=
"Drag">
406 <action name=
"Resize"/>
410 <context name=
"Client">
411 <mousebind button=
"Left" action=
"Press">
412 <action name=
"Focus"/>
413 <action name=
"Raise"/>
415 <mousebind button=
"Middle" action=
"Press">
416 <action name=
"Focus"/>
417 <action name=
"Raise"/>
419 <mousebind button=
"Right" action=
"Press">
420 <action name=
"Focus"/>
421 <action name=
"Raise"/>
425 <context name=
"Icon">
426 <mousebind button=
"Left" action=
"Press">
427 <action name=
"Focus"/>
428 <action name=
"Raise"/>
429 <action name=
"Unshade"/>
430 <action name=
"ShowMenu"><menu>client-menu
</menu></action>
432 <mousebind button=
"Right" action=
"Press">
433 <action name=
"Focus"/>
434 <action name=
"Raise"/>
435 <action name=
"ShowMenu"><menu>client-menu
</menu></action>
439 <context name=
"AllDesktops">
440 <mousebind button=
"Left" action=
"Press">
441 <action name=
"Focus"/>
442 <action name=
"Raise"/>
443 <action name=
"Unshade"/>
445 <mousebind button=
"Left" action=
"Click">
446 <action name=
"ToggleOmnipresent"/>
450 <context name=
"Shade">
451 <mousebind button=
"Left" action=
"Press">
452 <action name=
"Focus"/>
453 <action name=
"Raise"/>
455 <mousebind button=
"Left" action=
"Click">
456 <action name=
"ToggleShade"/>
460 <context name=
"Iconify">
461 <mousebind button=
"Left" action=
"Press">
462 <action name=
"Focus"/>
463 <action name=
"Raise"/>
465 <mousebind button=
"Left" action=
"Click">
466 <action name=
"Iconify"/>
470 <context name=
"Maximize">
471 <mousebind button=
"Left" action=
"Press">
472 <action name=
"Focus"/>
473 <action name=
"Raise"/>
474 <action name=
"Unshade"/>
476 <mousebind button=
"Middle" action=
"Press">
477 <action name=
"Focus"/>
478 <action name=
"Raise"/>
479 <action name=
"Unshade"/>
481 <mousebind button=
"Right" action=
"Press">
482 <action name=
"Focus"/>
483 <action name=
"Raise"/>
484 <action name=
"Unshade"/>
486 <mousebind button=
"Left" action=
"Click">
487 <action name=
"ToggleMaximizeFull"/>
489 <mousebind button=
"Middle" action=
"Click">
490 <action name=
"ToggleMaximizeVert"/>
492 <mousebind button=
"Right" action=
"Click">
493 <action name=
"ToggleMaximizeHorz"/>
497 <context name=
"Close">
498 <mousebind button=
"Left" action=
"Press">
499 <action name=
"Focus"/>
500 <action name=
"Raise"/>
501 <action name=
"Unshade"/>
503 <mousebind button=
"Left" action=
"Click">
504 <action name=
"Close"/>
508 <context name=
"Desktop">
509 <mousebind button=
"Up" action=
"Press">
510 <action name=
"DesktopPrevious"/>
512 <mousebind button=
"Down" action=
"Press">
513 <action name=
"DesktopNext"/>
516 <mousebind button=
"A-Up" action=
"Press">
517 <action name=
"DesktopPrevious"/>
519 <mousebind button=
"A-Down" action=
"Press">
520 <action name=
"DesktopNext"/>
522 <mousebind button=
"C-A-Up" action=
"Press">
523 <action name=
"DesktopPrevious"/>
525 <mousebind button=
"C-A-Down" action=
"Press">
526 <action name=
"DesktopNext"/>
529 <mousebind button=
"Left" action=
"Press">
530 <action name=
"Focus"/>
531 <action name=
"Raise"/>
535 <context name=
"Root">
537 <mousebind button=
"Middle" action=
"Press">
538 <action name=
"ShowMenu"><menu>client-list-combined-menu
</menu></action>
540 <mousebind button=
"Right" action=
"Press">
541 <action name=
"ShowMenu"><menu>root-menu
</menu></action>
545 <context name=
"MoveResize">
546 <mousebind button=
"Up" action=
"Press">
547 <action name=
"DesktopPrevious"/>
549 <mousebind button=
"Down" action=
"Press">
550 <action name=
"DesktopNext"/>
552 <mousebind button=
"A-Up" action=
"Press">
553 <action name=
"DesktopPrevious"/>
555 <mousebind button=
"A-Down" action=
"Press">
556 <action name=
"DesktopNext"/>
562 <!-- You can specify more than one menu file in here and they are all loaded,
563 just don't make menu ids clash or, well, it'll be kind of pointless -->
565 <!-- default menu file (or custom one in $HOME/.config/openbox/) -->
566 <file>menu.xml
</file>
567 <hideDelay>200</hideDelay>
569 <submenuShowDelay>100</submenuShowDelay>
570 <applicationIcons>yes
</applicationIcons>
575 # this is an example with comments through out. use these to make your
576 # own rules, but without the comments of course.
578 <application name="first element of window's WM_CLASS property (see xprop)"
579 class="second element of window's WM_CLASS property (see xprop)"
580 role="the window's WM_WINDOW_ROLE property (see xprop)">
581 # the name or the class can be set, or both. this is used to match
582 # windows when they appear. role can optionally be set as well, to
583 # further restrict your matches.
585 # the name, class, and role use simple wildcard matching such as those
586 # used by a shell. you can use * to match any characters and ? to match
587 # any single character.
589 # when multiple rules match a window, they will all be applied, in the
590 # order that they appear in this list
593 # each element can be left out or set to 'default' to specify to not
594 # change that attribute of the window
597 # enable or disable window decorations
600 # make the window shaded when it appears, or not
603 # the position is only used if both an x and y coordinate are provided
604 # (and not set to 'default')
606 # a number like 50, or 'center' to center on screen
608 # a number like 50, or 'center' to center on screen
610 # specifies the monitor in a xinerama setup.
611 # 1 is the first head, or 'mouse' for wherever the mouse is
615 # if the window should try be given focus when it appears. if this is set
616 # to yes it doesn't guarantee the window will be given focus. some
617 # restrictions may apply, but Openbox will try to
620 # 1 is the first desktop, 'all' for all desktops
622 <layer>normal</layer>
623 # 'above', 'normal', or 'below'
626 # make the window iconified when it appears, or not
628 <skip_pager>no</skip_pager>
629 # asks to not be shown in pagers
631 <skip_taskbar>no</skip_taskbar>
632 # asks to not be shown in taskbars. window cycling actions will also
633 # skip past such windows
635 <fullscreen>yes</fullscreen>
636 # make the window in fullscreen mode when it appears
638 <maximized>true</maximized>
639 # 'Horizontal', 'Vertical' or boolean (yes/no)