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 <focusLast>yes
</focusLast>
16 <followMouse>no
</followMouse>
17 <focusDelay>200</focusDelay>
18 <raiseOnFocus>no
</raiseOnFocus>
22 <policy>Smart
</policy>
23 <!-- 'Smart' or 'UnderMouse' -->
27 <name>Clearlooks
</name>
28 <titleLayout>NLIMC
</titleLayout>
30 avaible characters are NDSLIMC, each can occur at most once.
32 L: window label (AKA title).
36 S: shade (roll up/down)
37 D: omnipresent (on all desktops).
39 <keepBorder>yes
</keepBorder>
40 <animateIconify>yes
</animateIconify>
41 <font place=
"ActiveWindow">
44 <!-- font size in points -->
46 <!-- 'bold' or 'normal' -->
48 <!-- 'italic' or 'normal' -->
50 <font place=
"InactiveWindow">
53 <!-- font size in points -->
55 <!-- 'bold' or 'normal' -->
57 <!-- 'italic' or 'normal' -->
59 <font place=
"MenuHeader">
62 <!-- font size in points -->
63 <weight>normal
</weight>
64 <!-- 'bold' or 'normal' -->
66 <!-- 'italic' or 'normal' -->
68 <font place=
"MenuItem">
71 <!-- font size in points -->
72 <weight>normal
</weight>
73 <!-- 'bold' or 'normal' -->
75 <!-- 'italic' or 'normal' -->
77 <font place=
"OnScreenDisplay">
80 <!-- font size in points -->
82 <!-- 'bold' or 'normal' -->
84 <!-- 'italic' or 'normal' -->
89 <!-- this stuff is only used at startup, pagers allow you to change them
92 these are default values to use when other ones are not already set
93 by other applications, or saved in your session
95 use obconf if you want to change these without having to log out
98 <firstdesk>1</firstdesk>
100 <!-- set names up here if you want to, like this:
101 <name>desktop 1</name>
102 <name>desktop 2</name>
108 <drawContents>yes
</drawContents>
109 <popupShow>Nonpixel
</popupShow>
110 <!-- 'Always', 'Never', or 'Nonpixel' (xterms and such) -->
111 <popupPosition>Center
</popupPosition>
112 <!-- 'Center' or 'Top' -->
116 <position>TopLeft
</position>
117 <!-- (Top|Bottom)(Left|Right|)|Top|Bottom|Left|Right|Floating -->
118 <floatingX>0</floatingX>
119 <floatingY>0</floatingY>
120 <noStrut>no
</noStrut>
121 <stacking>Above
</stacking>
122 <!-- 'Above', 'Normal', or 'Below' -->
123 <direction>Vertical
</direction>
124 <!-- 'Vertical' or 'Horizontal' -->
125 <autoHide>no
</autoHide>
126 <hideDelay>300</hideDelay>
127 <!-- in milliseconds (1000 = 1 second) -->
128 <showDelay>300</showDelay>
129 <!-- in milliseconds (1000 = 1 second) -->
130 <moveButton>Middle
</moveButton>
131 <!-- 'Left', 'Middle', 'Right' -->
135 <chainQuitKey>C-g
</chainQuitKey>
137 <!-- Keybindings for desktop switching -->
138 <keybind key=
"C-A-Left">
139 <action name=
"DesktopLeft"><wrap>no
</wrap></action>
141 <keybind key=
"C-A-Right">
142 <action name=
"DesktopRight"><wrap>no
</wrap></action>
144 <keybind key=
"C-A-Up">
145 <action name=
"DesktopUp"><wrap>no
</wrap></action>
147 <keybind key=
"C-A-Down">
148 <action name=
"DesktopDown"><wrap>no
</wrap></action>
150 <keybind key=
"S-A-Left">
151 <action name=
"SendToDesktopLeft"><wrap>no
</wrap></action>
153 <keybind key=
"S-A-Right">
154 <action name=
"SendToDesktopRight"><wrap>no
</wrap></action>
156 <keybind key=
"S-A-Up">
157 <action name=
"SendToDesktopUp"><wrap>no
</wrap></action>
159 <keybind key=
"S-A-Down">
160 <action name=
"SendToDesktopDown"><wrap>no
</wrap></action>
163 <action name=
"Desktop"><desktop>1</desktop></action>
166 <action name=
"Desktop"><desktop>2</desktop></action>
169 <action name=
"Desktop"><desktop>3</desktop></action>
172 <action name=
"Desktop"><desktop>4</desktop></action>
175 <action name=
"ToggleShowDesktop"/>
178 <!-- Keybindings for windows -->
180 <action name=
"Close"/>
182 <keybind key=
"A-Escape">
183 <action name=
"Lower"/>
184 <action name=
"FocusToBottom"/>
185 <action name=
"Unfocus"/>
187 <keybind key=
"A-space">
188 <action name=
"ShowMenu"><menu>client-menu
</menu></action>
191 <!-- Keybindings for window switching -->
192 <keybind key=
"A-Tab">
193 <action name=
"NextWindow"/>
195 <keybind key=
"A-S-Tab">
196 <action name=
"PreviousWindow"/>
198 <keybind key=
"C-A-Tab">
199 <action name=
"NextWindow">
200 <panels>yes
</panels><desktop>yes
</desktop>
204 <!-- Keybindings for running applications -->
206 <action name=
"Execute">
208 <enabled>true
</enabled>
209 <name>Konqueror
</name>
211 <execute>kfmclient openProfile filemanagement
</execute>
217 <dragThreshold>3</dragThreshold>
218 <!-- number of pixels the mouse must move before a drag begins -->
219 <doubleClickTime>200</doubleClickTime>
220 <!-- in milliseconds (1000 = 1 second) -->
222 <context name=
"Frame">
223 <mousebind button=
"A-Left" action=
"Press">
224 <action name=
"Focus"/>
225 <action name=
"Raise"/>
227 <mousebind button=
"A-Left" action=
"Click">
228 <action name=
"Unshade"/>
230 <mousebind button=
"A-Left" action=
"Drag">
231 <action name=
"Move"/>
234 <mousebind button=
"A-Right" action=
"Press">
235 <action name=
"Focus"/>
236 <action name=
"Raise"/>
237 <action name=
"Unshade"/>
239 <mousebind button=
"A-Right" action=
"Drag">
240 <action name=
"Resize"/>
243 <mousebind button=
"A-Middle" action=
"Press">
244 <action name=
"Lower"/>
245 <action name=
"FocusToBottom"/>
246 <action name=
"Unfocus"/>
249 <mousebind button=
"A-Up" action=
"Click">
250 <action name=
"DesktopPrevious"/>
252 <mousebind button=
"A-Down" action=
"Click">
253 <action name=
"DesktopNext"/>
255 <mousebind button=
"C-A-Up" action=
"Click">
256 <action name=
"DesktopPrevious"/>
258 <mousebind button=
"C-A-Down" action=
"Click">
259 <action name=
"DesktopNext"/>
261 <mousebind button=
"A-S-Up" action=
"Click">
262 <action name=
"SendToDesktopPrevious"/>
264 <mousebind button=
"A-S-Down" action=
"Click">
265 <action name=
"SendToDesktopNext"/>
269 <context name=
"Titlebar">
270 <mousebind button=
"Left" action=
"Press">
271 <action name=
"Focus"/>
272 <action name=
"Raise"/>
274 <mousebind button=
"Left" action=
"Click">
275 <action name=
"Unshade"/>
277 <mousebind button=
"Left" action=
"Drag">
278 <action name=
"Move"/>
280 <mousebind button=
"Left" action=
"DoubleClick">
281 <action name=
"ToggleMaximizeFull"/>
284 <mousebind button=
"Middle" action=
"Press">
285 <action name=
"Lower"/>
286 <action name=
"FocusToBottom"/>
287 <action name=
"Unfocus"/>
290 <mousebind button=
"Up" action=
"Click">
291 <action name=
"Shade"/>
292 <action name=
"FocusToBottom"/>
293 <action name=
"Unfocus"/>
295 <mousebind button=
"Down" action=
"Click">
296 <action name=
"Unshade"/>
299 <mousebind button=
"Right" action=
"Press">
300 <action name=
"Focus"/>
301 <action name=
"Raise"/>
302 <action name=
"ShowMenu"><menu>client-menu
</menu></action>
307 <mousebind button=
"Left" action=
"Press">
308 <action name=
"Focus"/>
309 <action name=
"Raise"/>
310 <action name=
"Unshade"/>
312 <mousebind button=
"Left" action=
"Drag">
313 <action name=
"Resize"><edge>top
</edge></action>
317 <context name=
"Left">
318 <mousebind button=
"Left" action=
"Press">
319 <action name=
"Focus"/>
320 <action name=
"Raise"/>
322 <mousebind button=
"Left" action=
"Drag">
323 <action name=
"Resize"><edge>left
</edge></action>
327 <context name=
"Right">
328 <mousebind button=
"Left" action=
"Press">
329 <action name=
"Focus"/>
330 <action name=
"Raise"/>
332 <mousebind button=
"Left" action=
"Drag">
333 <action name=
"Resize"><edge>right
</edge></action>
337 <context name=
"Bottom">
338 <mousebind button=
"Left" action=
"Press">
339 <action name=
"Focus"/>
340 <action name=
"Raise"/>
342 <mousebind button=
"Left" action=
"Drag">
343 <action name=
"Resize"><edge>bottom
</edge></action>
346 <mousebind button=
"Middle" action=
"Press">
347 <action name=
"Lower"/>
348 <action name=
"FocusToBottom"/>
349 <action name=
"Unfocus"/>
352 <mousebind button=
"Right" action=
"Press">
353 <action name=
"Focus"/>
354 <action name=
"Raise"/>
355 <action name=
"ShowMenu"><menu>client-menu
</menu></action>
359 <context name=
"BLCorner">
360 <mousebind button=
"Left" action=
"Press">
361 <action name=
"Focus"/>
362 <action name=
"Raise"/>
364 <mousebind button=
"Left" action=
"Drag">
365 <action name=
"Resize"/>
369 <context name=
"BRCorner">
370 <mousebind button=
"Left" action=
"Press">
371 <action name=
"Focus"/>
372 <action name=
"Raise"/>
374 <mousebind button=
"Left" action=
"Drag">
375 <action name=
"Resize"/>
379 <context name=
"TLCorner">
380 <mousebind button=
"Left" action=
"Press">
381 <action name=
"Focus"/>
382 <action name=
"Raise"/>
383 <action name=
"Unshade"/>
385 <mousebind button=
"Left" action=
"Drag">
386 <action name=
"Resize"/>
390 <context name=
"TRCorner">
391 <mousebind button=
"Left" action=
"Press">
392 <action name=
"Focus"/>
393 <action name=
"Raise"/>
394 <action name=
"Unshade"/>
396 <mousebind button=
"Left" action=
"Drag">
397 <action name=
"Resize"/>
401 <context name=
"Client">
402 <mousebind button=
"Left" action=
"Press">
403 <action name=
"Focus"/>
404 <action name=
"Raise"/>
406 <mousebind button=
"Middle" action=
"Press">
407 <action name=
"Focus"/>
408 <action name=
"Raise"/>
410 <mousebind button=
"Right" action=
"Press">
411 <action name=
"Focus"/>
412 <action name=
"Raise"/>
416 <context name=
"Icon">
417 <mousebind button=
"Left" action=
"Press">
418 <action name=
"Focus"/>
419 <action name=
"Raise"/>
420 <action name=
"Unshade"/>
421 <action name=
"ShowMenu"><menu>client-menu
</menu></action>
423 <mousebind button=
"Right" action=
"Press">
424 <action name=
"Focus"/>
425 <action name=
"Raise"/>
426 <action name=
"ShowMenu"><menu>client-menu
</menu></action>
430 <context name=
"AllDesktops">
431 <mousebind button=
"Left" action=
"Press">
432 <action name=
"Focus"/>
433 <action name=
"Raise"/>
434 <action name=
"Unshade"/>
436 <mousebind button=
"Left" action=
"Click">
437 <action name=
"ToggleOmnipresent"/>
441 <context name=
"Shade">
442 <mousebind button=
"Left" action=
"Press">
443 <action name=
"Focus"/>
444 <action name=
"Raise"/>
446 <mousebind button=
"Left" action=
"Click">
447 <action name=
"ToggleShade"/>
451 <context name=
"Iconify">
452 <mousebind button=
"Left" action=
"Press">
453 <action name=
"Focus"/>
454 <action name=
"Raise"/>
456 <mousebind button=
"Left" action=
"Click">
457 <action name=
"Iconify"/>
461 <context name=
"Maximize">
462 <mousebind button=
"Left" action=
"Press">
463 <action name=
"Focus"/>
464 <action name=
"Raise"/>
465 <action name=
"Unshade"/>
467 <mousebind button=
"Middle" action=
"Press">
468 <action name=
"Focus"/>
469 <action name=
"Raise"/>
470 <action name=
"Unshade"/>
472 <mousebind button=
"Right" action=
"Press">
473 <action name=
"Focus"/>
474 <action name=
"Raise"/>
475 <action name=
"Unshade"/>
477 <mousebind button=
"Left" action=
"Click">
478 <action name=
"ToggleMaximizeFull"/>
480 <mousebind button=
"Middle" action=
"Click">
481 <action name=
"ToggleMaximizeVert"/>
483 <mousebind button=
"Right" action=
"Click">
484 <action name=
"ToggleMaximizeHorz"/>
488 <context name=
"Close">
489 <mousebind button=
"Left" action=
"Press">
490 <action name=
"Focus"/>
491 <action name=
"Raise"/>
492 <action name=
"Unshade"/>
494 <mousebind button=
"Left" action=
"Click">
495 <action name=
"Close"/>
499 <context name=
"Desktop">
500 <mousebind button=
"Up" action=
"Press">
501 <action name=
"DesktopPrevious"/>
503 <mousebind button=
"Down" action=
"Press">
504 <action name=
"DesktopNext"/>
507 <mousebind button=
"A-Up" action=
"Press">
508 <action name=
"DesktopPrevious"/>
510 <mousebind button=
"A-Down" action=
"Press">
511 <action name=
"DesktopNext"/>
513 <mousebind button=
"C-A-Up" action=
"Press">
514 <action name=
"DesktopPrevious"/>
516 <mousebind button=
"C-A-Down" action=
"Press">
517 <action name=
"DesktopNext"/>
520 <mousebind button=
"Left" action=
"Press">
521 <action name=
"Focus"/>
522 <action name=
"Raise"/>
526 <context name=
"Root">
528 <mousebind button=
"Middle" action=
"Press">
529 <action name=
"ShowMenu"><menu>client-list-combined-menu
</menu></action>
531 <mousebind button=
"Right" action=
"Press">
532 <action name=
"ShowMenu"><menu>root-menu
</menu></action>
536 <context name=
"MoveResize">
537 <mousebind button=
"Up" action=
"Press">
538 <action name=
"DesktopPrevious"/>
540 <mousebind button=
"Down" action=
"Press">
541 <action name=
"DesktopNext"/>
543 <mousebind button=
"A-Up" action=
"Press">
544 <action name=
"DesktopPrevious"/>
546 <mousebind button=
"A-Down" action=
"Press">
547 <action name=
"DesktopNext"/>
553 <!-- You can specify more than one menu file in here and they are all loaded,
554 just don't make menu ids clash or, well, it'll be kind of pointless -->
556 <!-- default menu file (or custom one in $HOME/.config/openbox/) -->
557 <file>menu.xml
</file>
558 <hideDelay>200</hideDelay>
560 <submenuShowDelay>100</submenuShowDelay>
561 <applicationIcons>yes
</applicationIcons>
566 # this is an example with comments through out. use these to make your
567 # own rules, but without the comments of course.
569 <application name="first element of window's WM_CLASS property (see xprop)"
570 class="second element of window's WM_CLASS property (see xprop)"
571 role="the window's WM_WINDOW_ROLE property (see xprop)">
572 # the name or the class can be set, or both. this is used to match
573 # windows when they appear. role can optionally be set as well, to
574 # further restrict your matches.
576 # the name, class, and role use simple wildcard matching such as those
577 # used by a shell. you can use * to match any characters and ? to match
578 # any single character.
580 # when multiple rules match a window, they will all be applied, in the
581 # order that they appear in this list
584 # each element can be left out or set to 'default' to specify to not
585 # change that attribute of the window
588 # enable or disable window decorations
591 # make the window shaded when it appears, or not
594 # the position is only used if both an x and y coordinate are provided
595 # (and not set to 'default')
597 # a number like 50, or 'center' to center on screen
599 # a number like 50, or 'center' to center on screen
601 # specifies the monitor in a xinerama setup.
602 # 1 is the first head, or 'mouse' for wherever the mouse is
606 # if the window should try be given focus when it appears. if this is set
607 # to yes it doesn't guarantee the window will be given focus. some
608 # restrictions may apply, but Openbox will try to
611 # 1 is the first desktop, 'all' for all desktops
613 <layer>normal</layer>
614 # 'above', 'normal', or 'below'
617 # make the window iconified when it appears, or not
619 <skip_pager>no</skip_pager>
620 # asks to not be shown in pagers
622 <skip_taskbar>no</skip_taskbar>
623 # asks to not be shown in taskbars. window cycling actions will also
624 # skip past such windows
626 <fullscreen>yes</fullscreen>
627 # make the window in fullscreen mode when it appears
629 <maximized>true</maximized>
630 # 'Horizontal', 'Vertical' or boolean (yes/no)