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/3.4/rc">
9 <strength>10</strength>
10 <screen_edge_strength>20</screen_edge_strength>
14 <focusNew>yes
</focusNew>
15 <focusLast>yes
</focusLast>
16 <followMouse>yes
</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"/>
180 <keybind key=
"A-space">
181 <action name=
"ShowMenu"><menu>client-menu
</menu></action>
184 <!-- Keybindings for window switching -->
185 <keybind key=
"A-Tab">
186 <action name=
"NextWindow"/>
188 <keybind key=
"A-S-Tab">
189 <action name=
"PreviousWindow"/>
191 <keybind key=
"C-A-Tab">
192 <action name=
"NextWindow">
193 <panels>yes
</panels><desktop>yes
</desktop>
197 <!-- Keybindings for running applications -->
199 <action name=
"Execute">
201 <enabled>true
</enabled>
202 <name>Konqueror
</name>
204 <execute>kfmclient openProfile filemanagement
</execute>
210 <dragThreshold>3</dragThreshold>
211 <!-- number of pixels the mouse must move before a drag begins -->
212 <doubleClickTime>200</doubleClickTime>
213 <!-- in milliseconds (1000 = 1 second) -->
215 <context name=
"Frame">
216 <mousebind button=
"A-Left" action=
"Press">
217 <action name=
"Focus"/>
219 <mousebind button=
"A-Left" action=
"Click">
220 <action name=
"Raise"/>
222 <mousebind button=
"A-Left" action=
"Drag">
223 <action name=
"Move"/>
226 <mousebind button=
"A-Right" action=
"Press">
227 <action name=
"Focus"/>
229 <mousebind button=
"A-Right" action=
"Press">
230 <action name=
"Raise"/>
232 <mousebind button=
"A-Right" action=
"Drag">
233 <action name=
"Resize"/>
236 <mousebind button=
"A-Middle" action=
"Press">
237 <action name=
"Focus"/>
238 <action name=
"Lower"/>
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=
"Focus"/>
259 <mousebind button=
"Left" action=
"Click">
260 <action name=
"Raise"/>
262 <mousebind button=
"Left" action=
"Drag">
263 <action name=
"Move"/>
265 <mousebind button=
"Left" action=
"DoubleClick">
266 <action name=
"ToggleMaximizeFull"/>
269 <mousebind button=
"Middle" action=
"Press">
270 <action name=
"Focus"/>
271 <action name=
"Lower"/>
274 <mousebind button=
"Up" action=
"Click">
275 <action name=
"Shade"/>
277 <mousebind button=
"Down" action=
"Click">
278 <action name=
"Unshade"/>
281 <mousebind button=
"Right" action=
"Press">
282 <action name=
"Focus"/>
283 <action name=
"ShowMenu"><menu>client-menu
</menu></action>
288 <mousebind button=
"Left" action=
"Press">
289 <action name=
"Focus"/>
291 <mousebind button=
"Left" action=
"Click">
292 <action name=
"Raise"/>
294 <mousebind button=
"Left" action=
"Drag">
295 <action name=
"Resize"><edge>top
</edge></action>
299 <context name=
"Left">
300 <mousebind button=
"Left" action=
"Press">
301 <action name=
"Focus"/>
303 <mousebind button=
"Left" action=
"Click">
304 <action name=
"Raise"/>
306 <mousebind button=
"Left" action=
"Drag">
307 <action name=
"Resize"><edge>top
</edge></action>
311 <context name=
"Right">
312 <mousebind button=
"Left" action=
"Press">
313 <action name=
"Focus"/>
315 <mousebind button=
"Left" action=
"Click">
316 <action name=
"Raise"/>
318 <mousebind button=
"Left" action=
"Drag">
319 <action name=
"Resize"><edge>top
</edge></action>
323 <context name=
"Handle">
324 <mousebind button=
"Left" action=
"Press">
325 <action name=
"Focus"/>
327 <mousebind button=
"Left" action=
"Click">
328 <action name=
"Raise"/>
330 <mousebind button=
"Left" action=
"Drag">
331 <action name=
"Resize"><edge>bottom
</edge></action>
334 <mousebind button=
"Middle" action=
"Press">
335 <action name=
"Focus"/>
336 <action name=
"Lower"/>
339 <mousebind button=
"Right" action=
"Press">
340 <action name=
"Focus"/>
341 <action name=
"ShowMenu"><menu>client-menu
</menu></action>
345 <context name=
"BLCorner">
346 <mousebind button=
"Left" action=
"Press">
347 <action name=
"Focus"/>
349 <mousebind button=
"Left" action=
"Click">
350 <action name=
"Raise"/>
352 <mousebind button=
"Left" action=
"Drag">
353 <action name=
"Resize"/>
357 <context name=
"BRCorner">
358 <mousebind button=
"Left" action=
"Press">
359 <action name=
"Focus"/>
361 <mousebind button=
"Left" action=
"Click">
362 <action name=
"Raise"/>
364 <mousebind button=
"Left" action=
"Drag">
365 <action name=
"Resize"/>
369 <context name=
"TLCorner">
370 <mousebind button=
"Left" action=
"Press">
371 <action name=
"Focus"/>
373 <mousebind button=
"Left" action=
"Click">
374 <action name=
"Raise"/>
376 <mousebind button=
"Left" action=
"Drag">
377 <action name=
"Resize"/>
381 <context name=
"TRCorner">
382 <mousebind button=
"Left" action=
"Press">
383 <action name=
"Focus"/>
385 <mousebind button=
"Left" action=
"Click">
386 <action name=
"Raise"/>
388 <mousebind button=
"Left" action=
"Drag">
389 <action name=
"Resize"/>
393 <context name=
"Client">
394 <mousebind button=
"Left" action=
"Press">
395 <action name=
"Activate"/>
397 <mousebind button=
"Middle" action=
"Press">
398 <action name=
"Activate"/>
400 <mousebind button=
"Right" action=
"Press">
401 <action name=
"Activate"/>
405 <context name=
"Icon">
406 <mousebind button=
"Left" action=
"Press">
407 <action name=
"Focus"/>
408 <action name=
"ShowMenu"><menu>client-menu
</menu></action>
410 <mousebind button=
"Right" action=
"Press">
411 <action name=
"Focus"/>
412 <action name=
"ShowMenu"><menu>client-menu
</menu></action>
416 <context name=
"AllDesktops">
417 <mousebind button=
"Left" action=
"Press">
418 <action name=
"Focus"/>
420 <mousebind button=
"Left" action=
"Click">
421 <action name=
"ToggleOmnipresent"/>
425 <context name=
"Shade">
426 <mousebind button=
"Left" action=
"Press">
427 <action name=
"Focus"/>
429 <mousebind button=
"Left" action=
"Click">
430 <action name=
"ToggleShade"/>
434 <context name=
"Iconify">
435 <mousebind button=
"Left" action=
"Press">
436 <action name=
"Focus"/>
438 <mousebind button=
"Left" action=
"Click">
439 <action name=
"Iconify"/>
443 <context name=
"Maximize">
444 <mousebind button=
"Left" action=
"Press">
445 <action name=
"Focus"/>
447 <mousebind button=
"Middle" action=
"Press">
448 <action name=
"Focus"/>
450 <mousebind button=
"Right" action=
"Press">
451 <action name=
"Focus"/>
453 <mousebind button=
"Left" action=
"Click">
454 <action name=
"ToggleMaximizeFull"/>
456 <mousebind button=
"Middle" action=
"Click">
457 <action name=
"ToggleMaximizeVert"/>
459 <mousebind button=
"Right" action=
"Click">
460 <action name=
"ToggleMaximizeHorz"/>
464 <context name=
"Close">
465 <mousebind button=
"Left" action=
"Press">
466 <action name=
"Focus"/>
468 <mousebind button=
"Left" action=
"Click">
469 <action name=
"Close"/>
473 <context name=
"Desktop">
474 <mousebind button=
"Up" action=
"Press">
475 <action name=
"DesktopPrevious"/>
477 <mousebind button=
"Down" action=
"Press">
478 <action name=
"DesktopNext"/>
481 <mousebind button=
"A-Up" action=
"Press">
482 <action name=
"DesktopPrevious"/>
484 <mousebind button=
"A-Down" action=
"Press">
485 <action name=
"DesktopNext"/>
488 <mousebind button=
"Left" action=
"Press">
489 <action name=
"Activate"/>
493 <context name=
"Root">
495 <mousebind button=
"Middle" action=
"Press">
496 <action name=
"ShowMenu"><menu>client-list-combined-menu
</menu></action>
498 <mousebind button=
"Right" action=
"Press">
499 <action name=
"ShowMenu"><menu>root-menu
</menu></action>
503 <context name=
"MoveResize">
504 <mousebind button=
"Up" action=
"Press">
505 <action name=
"DesktopPrevious"/>
507 <mousebind button=
"Down" action=
"Press">
508 <action name=
"DesktopNext"/>
510 <mousebind button=
"A-Up" action=
"Press">
511 <action name=
"DesktopPrevious"/>
513 <mousebind button=
"A-Down" action=
"Press">
514 <action name=
"DesktopNext"/>
520 <!-- You can specify more than one menu file in here and they are all loaded,
521 just don't make menu ids clash or, well, it'll be kind of pointless -->
523 <!-- default menu file (or custom one in $HOME/.config/openbox/) -->
524 <file>menu.xml
</file>
525 <hideDelay>200</hideDelay>
527 <submenuShowDelay>100</submenuShowDelay>
528 <applicationIcons>yes
</applicationIcons>
531 <!-- this section is commented out.. remove this and the ending comment if you
534 <!-- the name or the class can be set, or both. this is used to match
535 windows when they appear
537 role can optionally be set, and only as much as you provide will be
538 checked to see if it matches, eg. if you set role="abc" and the window's
539 role is actually "abcde" it would match.
541 <application name=
"first element of window's WM_CLASS property (see xprop)"
542 class=
"second element of window's WM_CLASS property (see xprop)"
543 role=
"the window's WM_WINDOW_ROLE property (see xprop)">
545 <!-- each element can be left out or set to 'default' to specify to not
546 change that attribute of the window -->
553 <!-- the position is only used if both an x and y coordinate are provided
554 (and not set to 'default') -->
556 <!-- a number or 'center' to center on screen -->
558 <!-- a number or 'center' to center on screen -->
560 <!-- specifies the monitor in a xinerama setup.
561 1 is the first head, or 'mouse' for wherever the mouse is -->
565 <!-- if the window should try be given focus when it appears -->
568 <!-- 1 is the first desktop, 'all' for all desktops -->
570 <layer>normal
</layer>
571 <!-- 'above', 'normal', or 'below' -->
575 <skip_pager>no
</skip_pager>
576 <!-- asks to not be shown in pagers -->
578 <skip_taskbar>no
</skip_taskbar>
579 <!-- asks to not be shown in taskbars. window cycling actions will also
580 skip past such windows -->
582 <fullscreen>yes
</fullscreen>
584 <maximized>true
</maximized>
585 <!-- 'Horizontal', 'Vertical' or boolean (yes/no/on/off/true/false) -->