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>1</desktop></action>
164 <action name=
"Desktop"><desktop>1</desktop></action>
167 <action name=
"Desktop"><desktop>1</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=
"Bottom">
294 <mousebind button=
"Left" action=
"Press">
295 <action name=
"Activate"/>
297 <mousebind button=
"Left" action=
"Drag">
298 <action name=
"Resize"><edge>bottom
</edge></action>
301 <mousebind button=
"Middle" action=
"Press">
302 <action name=
"Lower"/>
303 <action name=
"FocusToBottom"/>
304 <action name=
"Unfocus"/>
307 <mousebind button=
"Right" action=
"Press">
308 <action name=
"Activate"/>
309 <action name=
"ShowMenu"><menu>client-menu
</menu></action>
313 <context name=
"BLCorner">
314 <mousebind button=
"Left" action=
"Press">
315 <action name=
"Activate"/>
317 <mousebind button=
"Left" action=
"Drag">
318 <action name=
"Resize"/>
322 <context name=
"BRCorner">
323 <mousebind button=
"Left" action=
"Press">
324 <action name=
"Activate"/>
326 <mousebind button=
"Left" action=
"Drag">
327 <action name=
"Resize"/>
331 <context name=
"TLCorner">
332 <mousebind button=
"Left" action=
"Press">
333 <action name=
"Activate"/>
335 <mousebind button=
"Left" action=
"Drag">
336 <action name=
"Resize"/>
340 <context name=
"TRCorner">
341 <mousebind button=
"Left" action=
"Press">
342 <action name=
"Activate"/>
344 <mousebind button=
"Left" action=
"Drag">
345 <action name=
"Resize"/>
349 <context name=
"Client">
350 <mousebind button=
"Left" action=
"Press">
351 <action name=
"Activate"/>
353 <mousebind button=
"Middle" action=
"Press">
354 <action name=
"Activate"/>
356 <mousebind button=
"Right" action=
"Press">
357 <action name=
"Activate"/>
361 <context name=
"Icon">
362 <mousebind button=
"Left" action=
"Press">
363 <action name=
"Activate"/>
364 <action name=
"ShowMenu"><menu>client-menu
</menu></action>
366 <mousebind button=
"Right" action=
"Press">
367 <action name=
"Activate"/>
368 <action name=
"ShowMenu"><menu>client-menu
</menu></action>
372 <context name=
"AllDesktops">
373 <mousebind button=
"Left" action=
"Press">
374 <action name=
"Activate"/>
376 <mousebind button=
"Left" action=
"Click">
377 <action name=
"ToggleOmnipresent"/>
381 <context name=
"Shade">
382 <mousebind button=
"Left" action=
"Press">
383 <action name=
"Activate"/>
385 <mousebind button=
"Left" action=
"Click">
386 <action name=
"ToggleShade"/>
390 <context name=
"Iconify">
391 <mousebind button=
"Left" action=
"Press">
392 <action name=
"Activate"/>
394 <mousebind button=
"Left" action=
"Click">
395 <action name=
"Iconify"/>
399 <context name=
"Maximize">
400 <mousebind button=
"Left" action=
"Press">
401 <action name=
"Activate"/>
403 <mousebind button=
"Middle" action=
"Press">
404 <action name=
"Activate"/>
406 <mousebind button=
"Right" action=
"Press">
407 <action name=
"Activate"/>
409 <mousebind button=
"Left" action=
"Click">
410 <action name=
"ToggleMaximizeFull"/>
412 <mousebind button=
"Middle" action=
"Click">
413 <action name=
"ToggleMaximizeVert"/>
415 <mousebind button=
"Right" action=
"Click">
416 <action name=
"ToggleMaximizeHorz"/>
420 <context name=
"Close">
421 <mousebind button=
"Left" action=
"Press">
422 <action name=
"Activate"/>
424 <mousebind button=
"Left" action=
"Click">
425 <action name=
"Close"/>
429 <context name=
"Desktop">
430 <mousebind button=
"Up" action=
"Press">
431 <action name=
"DesktopPrevious"/>
433 <mousebind button=
"Down" action=
"Press">
434 <action name=
"DesktopNext"/>
437 <mousebind button=
"A-Up" action=
"Press">
438 <action name=
"DesktopPrevious"/>
440 <mousebind button=
"A-Down" action=
"Press">
441 <action name=
"DesktopNext"/>
444 <mousebind button=
"Left" action=
"Press">
445 <action name=
"Activate"/>
448 <!-- Menus are disabled since the DE will provide root window menus -->
450 <mousebind button="Middle" action="Press">
451 <action name="ShowMenu"><menu>client-list-combined-menu</menu></action>
453 <mousebind button="Right" action="Press">
454 <action name="ShowMenu"><menu>root-menu</menu></action>
459 <context name=
"MoveResize">
460 <mousebind button=
"Up" action=
"Press">
461 <action name=
"DesktopPrevious"/>
463 <mousebind button=
"Down" action=
"Press">
464 <action name=
"DesktopNext"/>
466 <mousebind button=
"A-Up" action=
"Press">
467 <action name=
"DesktopPrevious"/>
469 <mousebind button=
"A-Down" action=
"Press">
470 <action name=
"DesktopNext"/>
476 <!-- You can specify more than one menu file in here and they are all loaded,
477 just don't make menu ids clash or, well, it'll be kind of pointless -->
479 <!-- default menu file (or custom one in $HOME/.config/openbox/) -->
480 <file>menu.xml
</file>
481 <hideDelay>200</hideDelay>
483 <submenuShowDelay>100</submenuShowDelay>
484 <applicationIcons>yes
</applicationIcons>
487 <!-- this section is commented out.. remove this and the ending comment if you
490 <!-- the name or the class can be set, or both. this is used to match
491 windows when they appear
493 role can optionally be set, and only as much as you provide will be
494 checked to see if it matches, eg. if you set role="abc" and the window's
495 role is actually "abcde" it would match.
497 <application name=
"first element of window's WM_CLASS property (see xprop)"
498 class=
"second element of window's WM_CLASS property (see xprop)"
499 role=
"the window's WM_WINDOW_ROLE property (see xprop)">
501 <!-- each element can be left out or set to 'default' to specify to not
502 change that attribute of the window -->
509 <!-- the position is only used if both an x and y coordinate are provided
510 (and not set to 'default') -->
512 <!-- a number or 'center' to center on screen -->
514 <!-- a number or 'center' to center on screen -->
516 <!-- specifies the monitor in a xinerama setup.
517 1 is the first head, or 'mouse' for wherever the mouse is -->
521 <!-- if the window should try be given focus when it appears -->
524 <!-- 1 is the first desktop, 'all' for all desktops -->
526 <layer>normal
</layer>
527 <!-- 'above', 'normal', or 'below' -->
531 <skip_pager>no
</skip_pager>
532 <!-- asks to not be shown in pagers -->
534 <skip_taskbar>no
</skip_taskbar>
535 <!-- asks to not be shown in taskbars. window cycling actions will also
536 skip past such windows -->
538 <fullscreen>yes
</fullscreen>
540 <maximized>true
</maximized>
541 <!-- 'Horizontal', 'Vertical' or boolean (yes/no/on/off/true/false) -->