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 <firstdesk>1</firstdesk>
95 <name>desktop one
</name>
96 <name>desktop two
</name>
97 <name>desktop three
</name>
98 <name>desktop four
</name>
103 <drawContents>yes
</drawContents>
104 <popupShow>Nonpixel
</popupShow>
105 <!-- 'Always', 'Never', or 'Nonpixel' (xterms and such) -->
106 <popupPosition>Center
</popupPosition>
107 <!-- 'Center' or 'Top' -->
111 <position>TopLeft
</position>
112 <!-- (Top|Bottom)(Left|Right|)|Top|Bottom|Left|Right|Floating -->
113 <floatingX>0</floatingX>
114 <floatingY>0</floatingY>
115 <noStrut>no
</noStrut>
116 <stacking>Above
</stacking>
117 <!-- 'Above', 'Normal', or 'Below' -->
118 <direction>Vertical
</direction>
119 <!-- 'Vertical' or 'Horizontal' -->
120 <autoHide>no
</autoHide>
121 <hideDelay>300</hideDelay>
122 <!-- in milliseconds (1000 = 1 second) -->
123 <showDelay>300</showDelay>
124 <!-- in milliseconds (1000 = 1 second) -->
125 <moveButton>Middle
</moveButton>
126 <!-- 'Left', 'Middle', 'Right' -->
130 <chainQuitKey>C-g
</chainQuitKey>
132 <!-- Keybindings for desktop switching -->
133 <keybind key=
"C-A-Left">
134 <action name=
"DesktopLeft"><wrap>no
</wrap></action>
136 <keybind key=
"C-A-Right">
137 <action name=
"DesktopRight"><wrap>no
</wrap></action>
139 <keybind key=
"C-A-Up">
140 <action name=
"DesktopUp"><wrap>no
</wrap></action>
142 <keybind key=
"C-A-Down">
143 <action name=
"DesktopDown"><wrap>no
</wrap></action>
145 <keybind key=
"S-A-Left">
146 <action name=
"SendToDesktopLeft"><wrap>no
</wrap></action>
148 <keybind key=
"S-A-Right">
149 <action name=
"SendToDesktopRight"><wrap>no
</wrap></action>
151 <keybind key=
"S-A-Up">
152 <action name=
"SendToDesktopUp"><wrap>no
</wrap></action>
154 <keybind key=
"S-A-Down">
155 <action name=
"SendToDesktopDown"><wrap>no
</wrap></action>
158 <action name=
"Desktop"><desktop>1</desktop></action>
161 <action name=
"Desktop"><desktop>2</desktop></action>
164 <action name=
"Desktop"><desktop>3</desktop></action>
167 <action name=
"Desktop"><desktop>4</desktop></action>
170 <action name=
"ToggleShowDesktop"/>
173 <!-- Keybindings for windows -->
175 <action name=
"Close"/>
177 <keybind key=
"A-Escape">
178 <action name=
"Lower"/>
179 <action name=
"FocusToBottom"/>
180 <action name=
"Unfocus"/>
182 <keybind key=
"A-space">
183 <action name=
"ShowMenu"><menu>client-menu
</menu></action>
186 <!-- Keybindings for window switching -->
187 <keybind key=
"A-Tab">
188 <action name=
"NextWindow"/>
190 <keybind key=
"A-S-Tab">
191 <action name=
"PreviousWindow"/>
193 <keybind key=
"C-A-Tab">
194 <action name=
"NextWindow">
195 <panels>yes
</panels><desktop>yes
</desktop>
199 <!-- Keybindings for running applications -->
201 <action name=
"Execute">
203 <enabled>true
</enabled>
204 <name>Konqueror
</name>
206 <execute>kfmclient openProfile filemanagement
</execute>
212 <dragThreshold>3</dragThreshold>
213 <!-- number of pixels the mouse must move before a drag begins -->
214 <doubleClickTime>200</doubleClickTime>
215 <!-- in milliseconds (1000 = 1 second) -->
217 <context name=
"Frame">
218 <mousebind button=
"A-Left" action=
"Press">
219 <action name=
"Activate"/>
221 <mousebind button=
"A-Left" action=
"Drag">
222 <action name=
"Move"/>
225 <mousebind button=
"A-Right" action=
"Press">
226 <action name=
"Activate"/>
228 <mousebind button=
"A-Right" action=
"Drag">
229 <action name=
"Resize"/>
232 <mousebind button=
"A-Middle" action=
"Press">
233 <action name=
"Lower"/>
234 <action name=
"FocusToBottom"/>
235 <action name=
"Unfocus"/>
238 <mousebind button=
"A-Up" action=
"Click">
239 <action name=
"DesktopPrevious"/>
241 <mousebind button=
"A-Down" action=
"Click">
242 <action name=
"DesktopNext"/>
244 <mousebind button=
"A-S-Up" action=
"Click">
245 <action name=
"SendToDesktopPrevious"/>
247 <mousebind button=
"A-S-Down" action=
"Click">
248 <action name=
"SendToDesktopNext"/>
252 <context name=
"Titlebar">
253 <mousebind button=
"Left" action=
"Press">
254 <action name=
"Activate"/>
256 <mousebind button=
"Left" action=
"Drag">
257 <action name=
"Move"/>
259 <mousebind button=
"Left" action=
"DoubleClick">
260 <action name=
"ToggleMaximizeFull"/>
263 <mousebind button=
"Middle" action=
"Press">
264 <action name=
"Lower"/>
265 <action name=
"FocusToBottom"/>
266 <action name=
"Unfocus"/>
269 <mousebind button=
"Up" action=
"Click">
270 <action name=
"Shade"/>
271 <action name=
"FocusToBottom"/>
272 <action name=
"Unfocus"/>
274 <mousebind button=
"Down" action=
"Click">
275 <action name=
"Unshade"/>
278 <mousebind button=
"Right" action=
"Press">
279 <action name=
"Activate"/>
280 <action name=
"ShowMenu"><menu>client-menu
</menu></action>
285 <mousebind button=
"Left" action=
"Press">
286 <action name=
"Activate"/>
288 <mousebind button=
"Left" action=
"Drag">
289 <action name=
"Resize"><edge>top
</edge></action>
293 <context name=
"Left">
294 <mousebind button=
"Left" action=
"Press">
295 <action name=
"Activate"/>
297 <mousebind button=
"Left" action=
"Drag">
298 <action name=
"Resize"><edge>left
</edge></action>
302 <context name=
"Right">
303 <mousebind button=
"Left" action=
"Press">
304 <action name=
"Activate"/>
306 <mousebind button=
"Left" action=
"Drag">
307 <action name=
"Resize"><edge>right
</edge></action>
311 <context name=
"Bottom">
312 <mousebind button=
"Left" action=
"Press">
313 <action name=
"Activate"/>
315 <mousebind button=
"Left" action=
"Drag">
316 <action name=
"Resize"><edge>bottom
</edge></action>
319 <mousebind button=
"Middle" action=
"Press">
320 <action name=
"Lower"/>
321 <action name=
"FocusToBottom"/>
322 <action name=
"Unfocus"/>
325 <mousebind button=
"Right" action=
"Press">
326 <action name=
"Activate"/>
327 <action name=
"ShowMenu"><menu>client-menu
</menu></action>
331 <context name=
"BLCorner">
332 <mousebind button=
"Left" action=
"Press">
333 <action name=
"Activate"/>
335 <mousebind button=
"Left" action=
"Drag">
336 <action name=
"Resize"/>
340 <context name=
"BRCorner">
341 <mousebind button=
"Left" action=
"Press">
342 <action name=
"Activate"/>
344 <mousebind button=
"Left" action=
"Drag">
345 <action name=
"Resize"/>
349 <context name=
"TLCorner">
350 <mousebind button=
"Left" action=
"Press">
351 <action name=
"Activate"/>
353 <mousebind button=
"Left" action=
"Drag">
354 <action name=
"Resize"/>
358 <context name=
"TRCorner">
359 <mousebind button=
"Left" action=
"Press">
360 <action name=
"Activate"/>
362 <mousebind button=
"Left" action=
"Drag">
363 <action name=
"Resize"/>
367 <context name=
"Client">
368 <mousebind button=
"Left" action=
"Press">
369 <action name=
"Activate"/>
371 <mousebind button=
"Middle" action=
"Press">
372 <action name=
"Activate"/>
374 <mousebind button=
"Right" action=
"Press">
375 <action name=
"Activate"/>
379 <context name=
"Icon">
380 <mousebind button=
"Left" action=
"Press">
381 <action name=
"Activate"/>
382 <action name=
"ShowMenu"><menu>client-menu
</menu></action>
384 <mousebind button=
"Right" action=
"Press">
385 <action name=
"Activate"/>
386 <action name=
"ShowMenu"><menu>client-menu
</menu></action>
390 <context name=
"AllDesktops">
391 <mousebind button=
"Left" action=
"Press">
392 <action name=
"Activate"/>
394 <mousebind button=
"Left" action=
"Click">
395 <action name=
"ToggleOmnipresent"/>
399 <context name=
"Shade">
400 <mousebind button=
"Left" action=
"Press">
401 <action name=
"Activate"/>
403 <mousebind button=
"Left" action=
"Click">
404 <action name=
"ToggleShade"/>
408 <context name=
"Iconify">
409 <mousebind button=
"Left" action=
"Press">
410 <action name=
"Activate"/>
412 <mousebind button=
"Left" action=
"Click">
413 <action name=
"Iconify"/>
417 <context name=
"Maximize">
418 <mousebind button=
"Left" action=
"Press">
419 <action name=
"Activate"/>
421 <mousebind button=
"Middle" action=
"Press">
422 <action name=
"Activate"/>
424 <mousebind button=
"Right" action=
"Press">
425 <action name=
"Activate"/>
427 <mousebind button=
"Left" action=
"Click">
428 <action name=
"ToggleMaximizeFull"/>
430 <mousebind button=
"Middle" action=
"Click">
431 <action name=
"ToggleMaximizeVert"/>
433 <mousebind button=
"Right" action=
"Click">
434 <action name=
"ToggleMaximizeHorz"/>
438 <context name=
"Close">
439 <mousebind button=
"Left" action=
"Press">
440 <action name=
"Activate"/>
442 <mousebind button=
"Left" action=
"Click">
443 <action name=
"Close"/>
447 <context name=
"Desktop">
448 <mousebind button=
"Up" action=
"Press">
449 <action name=
"DesktopPrevious"/>
451 <mousebind button=
"Down" action=
"Press">
452 <action name=
"DesktopNext"/>
455 <mousebind button=
"A-Up" action=
"Press">
456 <action name=
"DesktopPrevious"/>
458 <mousebind button=
"A-Down" action=
"Press">
459 <action name=
"DesktopNext"/>
462 <mousebind button=
"Left" action=
"Press">
463 <action name=
"Activate"/>
467 <context name=
"Root">
469 <mousebind button=
"Middle" action=
"Press">
470 <action name=
"ShowMenu"><menu>client-list-combined-menu
</menu></action>
472 <mousebind button=
"Right" action=
"Press">
473 <action name=
"ShowMenu"><menu>root-menu
</menu></action>
477 <context name=
"MoveResize">
478 <mousebind button=
"Up" action=
"Press">
479 <action name=
"DesktopPrevious"/>
481 <mousebind button=
"Down" action=
"Press">
482 <action name=
"DesktopNext"/>
484 <mousebind button=
"A-Up" action=
"Press">
485 <action name=
"DesktopPrevious"/>
487 <mousebind button=
"A-Down" action=
"Press">
488 <action name=
"DesktopNext"/>
494 <!-- You can specify more than one menu file in here and they are all loaded,
495 just don't make menu ids clash or, well, it'll be kind of pointless -->
497 <!-- default menu file (or custom one in $HOME/.config/openbox/) -->
498 <file>menu.xml
</file>
499 <hideDelay>200</hideDelay>
501 <submenuShowDelay>100</submenuShowDelay>
502 <applicationIcons>yes
</applicationIcons>
507 # this is an example with comments through out. use these to make your
508 # own rules, but without the comments of course.
510 <application name="first element of window's WM_CLASS property (see xprop)"
511 class="second element of window's WM_CLASS property (see xprop)"
512 role="the window's WM_WINDOW_ROLE property (see xprop)">
513 # the name or the class can be set, or both. this is used to match
514 # windows when they appear. role can optionally be set as well, to
515 # further restrict your matches.
517 # the name, class, and role use simple wildcard matching such as those
518 # used by a shell. you can use * to match any characters and ? to match
519 # any single character.
521 # when multiple rules match a window, they will all be applied, in the
522 # order that they appear in this list
525 # each element can be left out or set to 'default' to specify to not
526 # change that attribute of the window
529 # enable or disable window decorations
532 # make the window shaded when it appears, or not
535 # the position is only used if both an x and y coordinate are provided
536 # (and not set to 'default')
538 # a number like 50, or 'center' to center on screen
540 # a number like 50, or 'center' to center on screen
542 # specifies the monitor in a xinerama setup.
543 # 1 is the first head, or 'mouse' for wherever the mouse is
547 # if the window should try be given focus when it appears. if this is set
548 # to yes it doesn't guarantee the window will be given focus. some
549 # restrictions may apply, but Openbox will try to
552 # 1 is the first desktop, 'all' for all desktops
554 <layer>normal</layer>
555 # 'above', 'normal', or 'below'
558 # make the window iconified when it appears, or not
560 <skip_pager>no</skip_pager>
561 # asks to not be shown in pagers
563 <skip_taskbar>no</skip_taskbar>
564 # asks to not be shown in taskbars. window cycling actions will also
565 # skip past such windows
567 <fullscreen>yes</fullscreen>
568 # make the window in fullscreen mode when it appears
570 <maximized>true</maximized>
571 # 'Horizontal', 'Vertical' or boolean (yes/no)