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>
29 <titleNumber>yes</titleNumber>
31 avaible characters are NDSLIMC, each can occur at most once.
33 L: window label (AKA title).
37 S: shade (roll up/down)
38 D: omnipresent (on all desktops).
40 <keepBorder>yes</keepBorder>
41 <animateIconify>yes</animateIconify>
42 <font place="ActiveWindow">
45 <!-- font size in points -->
47 <!-- 'bold' or 'normal' -->
49 <!-- 'italic' or 'normal' -->
51 <font place="InactiveWindow">
54 <!-- font size in points -->
56 <!-- 'bold' or 'normal' -->
58 <!-- 'italic' or 'normal' -->
60 <font place="MenuHeader">
63 <!-- font size in points -->
64 <weight>normal</weight>
65 <!-- 'bold' or 'normal' -->
67 <!-- 'italic' or 'normal' -->
69 <font place="MenuItem">
72 <!-- font size in points -->
73 <weight>normal</weight>
74 <!-- 'bold' or 'normal' -->
76 <!-- 'italic' or 'normal' -->
78 <font place="OnScreenDisplay">
81 <!-- font size in points -->
83 <!-- 'bold' or 'normal' -->
85 <!-- 'italic' or 'normal' -->
90 <!-- this stuff is only used at startup, pagers allow you to change them
93 use obconf if you want to change these without having to log out
96 <firstdesk>1</firstdesk>
98 <name>desktop one</name>
99 <name>desktop two</name>
100 <name>desktop three</name>
101 <name>desktop four</name>
106 <drawContents>yes</drawContents>
107 <popupShow>Nonpixel</popupShow>
108 <!-- 'Always', 'Never', or 'Nonpixel' (xterms and such) -->
109 <popupPosition>Center</popupPosition>
110 <!-- 'Center' or 'Top' -->
114 <position>TopLeft</position>
115 <!-- (Top|Bottom)(Left|Right|)|Top|Bottom|Left|Right|Floating -->
116 <floatingX>0</floatingX>
117 <floatingY>0</floatingY>
118 <noStrut>no</noStrut>
119 <stacking>Above</stacking>
120 <!-- 'Above', 'Normal', or 'Below' -->
121 <direction>Vertical</direction>
122 <!-- 'Vertical' or 'Horizontal' -->
123 <autoHide>no</autoHide>
124 <hideDelay>300</hideDelay>
125 <!-- in milliseconds (1000 = 1 second) -->
126 <showDelay>300</showDelay>
127 <!-- in milliseconds (1000 = 1 second) -->
128 <moveButton>Middle</moveButton>
129 <!-- 'Left', 'Middle', 'Right' -->
133 <chainQuitKey>C-g</chainQuitKey>
135 <!-- Keybindings for desktop switching -->
136 <keybind key="C-A-Left">
137 <action name="DesktopLeft"><wrap>no</wrap></action>
139 <keybind key="C-A-Right">
140 <action name="DesktopRight"><wrap>no</wrap></action>
142 <keybind key="C-A-Up">
143 <action name="DesktopUp"><wrap>no</wrap></action>
145 <keybind key="C-A-Down">
146 <action name="DesktopDown"><wrap>no</wrap></action>
148 <keybind key="S-A-Left">
149 <action name="SendToDesktopLeft"><wrap>no</wrap></action>
151 <keybind key="S-A-Right">
152 <action name="SendToDesktopRight"><wrap>no</wrap></action>
154 <keybind key="S-A-Up">
155 <action name="SendToDesktopUp"><wrap>no</wrap></action>
157 <keybind key="S-A-Down">
158 <action name="SendToDesktopDown"><wrap>no</wrap></action>
161 <action name="Desktop"><desktop>1</desktop></action>
164 <action name="Desktop"><desktop>2</desktop></action>
167 <action name="Desktop"><desktop>3</desktop></action>
170 <action name="Desktop"><desktop>4</desktop></action>
173 <action name="ToggleShowDesktop"/>
176 <!-- Keybindings for windows -->
178 <action name="Close"/>
180 <keybind key="A-Escape">
181 <action name="Lower"/>
182 <action name="FocusToBottom"/>
183 <action name="Unfocus"/>
185 <keybind key="A-space">
186 <action name="ShowMenu"><menu>client-menu</menu></action>
189 <!-- Keybindings for window switching -->
190 <keybind key="A-Tab">
191 <action name="NextWindow"/>
193 <keybind key="A-S-Tab">
194 <action name="PreviousWindow"/>
196 <keybind key="C-A-Tab">
197 <action name="NextWindow">
198 <panels>yes</panels><desktop>yes</desktop>
202 <!-- Keybindings for running applications -->
204 <action name="Execute">
206 <enabled>true</enabled>
207 <name>Konqueror</name>
209 <execute>kfmclient openProfile filemanagement</execute>
215 <dragThreshold>3</dragThreshold>
216 <!-- number of pixels the mouse must move before a drag begins -->
217 <doubleClickTime>200</doubleClickTime>
218 <!-- in milliseconds (1000 = 1 second) -->
220 <context name="Frame">
221 <mousebind button="A-Left" action="Press">
222 <action name="Activate"/>
224 <mousebind button="A-Left" action="Drag">
225 <action name="Move"/>
228 <mousebind button="A-Right" action="Press">
229 <action name="Activate"/>
231 <mousebind button="A-Right" action="Drag">
232 <action name="Resize"/>
235 <mousebind button="A-Middle" action="Press">
236 <action name="Lower"/>
237 <action name="FocusToBottom"/>
238 <action name="Unfocus"/>
241 <mousebind button="A-Up" action="Click">
242 <action name="DesktopPrevious"/>
244 <mousebind button="A-Down" action="Click">
245 <action name="DesktopNext"/>
247 <mousebind button="A-S-Up" action="Click">
248 <action name="SendToDesktopPrevious"/>
250 <mousebind button="A-S-Down" action="Click">
251 <action name="SendToDesktopNext"/>
255 <context name="Titlebar">
256 <mousebind button="Left" action="Press">
257 <action name="Activate"/>
259 <mousebind button="Left" action="Drag">
260 <action name="Move"/>
262 <mousebind button="Left" action="DoubleClick">
263 <action name="ToggleMaximizeFull"/>
266 <mousebind button="Middle" action="Press">
267 <action name="Lower"/>
268 <action name="FocusToBottom"/>
269 <action name="Unfocus"/>
272 <mousebind button="Up" action="Click">
273 <action name="Shade"/>
274 <action name="FocusToBottom"/>
275 <action name="Unfocus"/>
277 <mousebind button="Down" action="Click">
278 <action name="Unshade"/>
281 <mousebind button="Right" action="Press">
282 <action name="Activate"/>
283 <action name="ShowMenu"><menu>client-menu</menu></action>
288 <mousebind button="Left" action="Press">
289 <action name="Activate"/>
291 <mousebind button="Left" action="Drag">
292 <action name="Resize"><edge>top</edge></action>
296 <context name="Left">
297 <mousebind button="Left" action="Press">
298 <action name="Activate"/>
300 <mousebind button="Left" action="Drag">
301 <action name="Resize"><edge>left</edge></action>
305 <context name="Right">
306 <mousebind button="Left" action="Press">
307 <action name="Activate"/>
309 <mousebind button="Left" action="Drag">
310 <action name="Resize"><edge>right</edge></action>
314 <context name="Bottom">
315 <mousebind button="Left" action="Press">
316 <action name="Activate"/>
318 <mousebind button="Left" action="Drag">
319 <action name="Resize"><edge>bottom</edge></action>
322 <mousebind button="Middle" action="Press">
323 <action name="Lower"/>
324 <action name="FocusToBottom"/>
325 <action name="Unfocus"/>
328 <mousebind button="Right" action="Press">
329 <action name="Activate"/>
330 <action name="ShowMenu"><menu>client-menu</menu></action>
334 <context name="BLCorner">
335 <mousebind button="Left" action="Press">
336 <action name="Activate"/>
338 <mousebind button="Left" action="Drag">
339 <action name="Resize"/>
343 <context name="BRCorner">
344 <mousebind button="Left" action="Press">
345 <action name="Activate"/>
347 <mousebind button="Left" action="Drag">
348 <action name="Resize"/>
352 <context name="TLCorner">
353 <mousebind button="Left" action="Press">
354 <action name="Activate"/>
356 <mousebind button="Left" action="Drag">
357 <action name="Resize"/>
361 <context name="TRCorner">
362 <mousebind button="Left" action="Press">
363 <action name="Activate"/>
365 <mousebind button="Left" action="Drag">
366 <action name="Resize"/>
370 <context name="Client">
371 <mousebind button="Left" action="Press">
372 <action name="Activate"/>
374 <mousebind button="Middle" action="Press">
375 <action name="Activate"/>
377 <mousebind button="Right" action="Press">
378 <action name="Activate"/>
382 <context name="Icon">
383 <mousebind button="Left" action="Press">
384 <action name="Activate"/>
385 <action name="ShowMenu"><menu>client-menu</menu></action>
387 <mousebind button="Right" action="Press">
388 <action name="Activate"/>
389 <action name="ShowMenu"><menu>client-menu</menu></action>
393 <context name="AllDesktops">
394 <mousebind button="Left" action="Press">
395 <action name="Activate"/>
397 <mousebind button="Left" action="Click">
398 <action name="ToggleOmnipresent"/>
402 <context name="Shade">
403 <mousebind button="Left" action="Press">
404 <action name="Activate"/>
406 <mousebind button="Left" action="Click">
407 <action name="ToggleShade"/>
411 <context name="Iconify">
412 <mousebind button="Left" action="Press">
413 <action name="Activate"/>
415 <mousebind button="Left" action="Click">
416 <action name="Iconify"/>
420 <context name="Maximize">
421 <mousebind button="Left" action="Press">
422 <action name="Activate"/>
424 <mousebind button="Middle" action="Press">
425 <action name="Activate"/>
427 <mousebind button="Right" action="Press">
428 <action name="Activate"/>
430 <mousebind button="Left" action="Click">
431 <action name="ToggleMaximizeFull"/>
433 <mousebind button="Middle" action="Click">
434 <action name="ToggleMaximizeVert"/>
436 <mousebind button="Right" action="Click">
437 <action name="ToggleMaximizeHorz"/>
441 <context name="Close">
442 <mousebind button="Left" action="Press">
443 <action name="Activate"/>
445 <mousebind button="Left" action="Click">
446 <action name="Close"/>
450 <context name="Desktop">
451 <mousebind button="Up" action="Press">
452 <action name="DesktopPrevious"/>
454 <mousebind button="Down" action="Press">
455 <action name="DesktopNext"/>
458 <mousebind button="A-Up" action="Press">
459 <action name="DesktopPrevious"/>
461 <mousebind button="A-Down" action="Press">
462 <action name="DesktopNext"/>
465 <mousebind button="Left" action="Press">
466 <action name="Activate"/>
470 <context name="Root">
472 <mousebind button="Middle" action="Press">
473 <action name="ShowMenu"><menu>client-list-combined-menu</menu></action>
475 <mousebind button="Right" action="Press">
476 <action name="ShowMenu"><menu>root-menu</menu></action>
480 <context name="MoveResize">
481 <mousebind button="Up" action="Press">
482 <action name="DesktopPrevious"/>
484 <mousebind button="Down" action="Press">
485 <action name="DesktopNext"/>
487 <mousebind button="A-Up" action="Press">
488 <action name="DesktopPrevious"/>
490 <mousebind button="A-Down" action="Press">
491 <action name="DesktopNext"/>
497 <!-- You can specify more than one menu file in here and they are all loaded,
498 just don't make menu ids clash or, well, it'll be kind of pointless -->
500 <!-- default menu file (or custom one in $HOME/.config/openbox/) -->
501 <file>menu.xml</file>
502 <hideDelay>200</hideDelay>
504 <submenuShowDelay>100</submenuShowDelay>
505 <applicationIcons>yes</applicationIcons>
510 # this is an example with comments through out. use these to make your
511 # own rules, but without the comments of course.
513 <application name="first element of window's WM_CLASS property (see xprop)"
514 class="second element of window's WM_CLASS property (see xprop)"
515 role="the window's WM_WINDOW_ROLE property (see xprop)">
516 # the name or the class can be set, or both. this is used to match
517 # windows when they appear. role can optionally be set as well, to
518 # further restrict your matches.
520 # the name, class, and role use simple wildcard matching such as those
521 # used by a shell. you can use * to match any characters and ? to match
522 # any single character.
524 # when multiple rules match a window, they will all be applied, in the
525 # order that they appear in this list
528 # each element can be left out or set to 'default' to specify to not
529 # change that attribute of the window
532 # enable or disable window decorations
535 # make the window shaded when it appears, or not
538 # the position is only used if both an x and y coordinate are provided
539 # (and not set to 'default')
541 # a number like 50, or 'center' to center on screen
543 # a number like 50, or 'center' to center on screen
545 # specifies the monitor in a xinerama setup.
546 # 1 is the first head, or 'mouse' for wherever the mouse is
550 # if the window should try be given focus when it appears. if this is set
551 # to yes it doesn't guarantee the window will be given focus. some
552 # restrictions may apply, but Openbox will try to
555 # 1 is the first desktop, 'all' for all desktops
557 <layer>normal</layer>
558 # 'above', 'normal', or 'below'
561 # make the window iconified when it appears, or not
563 <skip_pager>no</skip_pager>
564 # asks to not be shown in pagers
566 <skip_taskbar>no</skip_taskbar>
567 # asks to not be shown in taskbars. window cycling actions will also
568 # skip past such windows
570 <fullscreen>yes</fullscreen>
571 # make the window in fullscreen mode when it appears
573 <maximized>true</maximized>
574 # 'Horizontal', 'Vertical' or boolean (yes/no)