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 use obconf if you want to change these without having to log out
96 <firstdesk>1</firstdesk>
98 <!-- set names up here if you want to, like this:
99 <name>desktop 1</name>
100 <name>desktop 2</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"/>
183 <keybind key=
"A-space">
184 <action name=
"ShowMenu"><menu>client-menu
</menu></action>
187 <!-- Keybindings for window switching -->
188 <keybind key=
"A-Tab">
189 <action name=
"NextWindow"/>
191 <keybind key=
"A-S-Tab">
192 <action name=
"PreviousWindow"/>
194 <keybind key=
"C-A-Tab">
195 <action name=
"NextWindow">
196 <panels>yes
</panels><desktop>yes
</desktop>
200 <!-- Keybindings for running applications -->
202 <action name=
"Execute">
204 <enabled>true
</enabled>
205 <name>Konqueror
</name>
207 <execute>kfmclient openProfile filemanagement
</execute>
213 <dragThreshold>3</dragThreshold>
214 <!-- number of pixels the mouse must move before a drag begins -->
215 <doubleClickTime>200</doubleClickTime>
216 <!-- in milliseconds (1000 = 1 second) -->
218 <context name=
"Frame">
219 <mousebind button=
"A-Left" action=
"Press">
220 <action name=
"Focus"/>
222 <mousebind button=
"A-Left" action=
"Click">
223 <action name=
"Raise"/>
225 <mousebind button=
"A-Left" action=
"Drag">
226 <action name=
"Move"/>
229 <mousebind button=
"A-Right" action=
"Press">
230 <action name=
"Focus"/>
232 <mousebind button=
"A-Right" action=
"Press">
233 <action name=
"Raise"/>
235 <mousebind button=
"A-Right" action=
"Drag">
236 <action name=
"Resize"/>
239 <mousebind button=
"A-Middle" action=
"Press">
240 <action name=
"Focus"/>
241 <action name=
"Lower"/>
244 <mousebind button=
"A-Up" action=
"Click">
245 <action name=
"DesktopPrevious"/>
247 <mousebind button=
"A-Down" action=
"Click">
248 <action name=
"DesktopNext"/>
250 <mousebind button=
"A-S-Up" action=
"Click">
251 <action name=
"SendToDesktopPrevious"/>
253 <mousebind button=
"A-S-Down" action=
"Click">
254 <action name=
"SendToDesktopNext"/>
258 <context name=
"Titlebar">
259 <mousebind button=
"Left" action=
"Press">
260 <action name=
"Focus"/>
262 <mousebind button=
"Left" action=
"Click">
263 <action name=
"Raise"/>
265 <mousebind button=
"Left" action=
"Drag">
266 <action name=
"Move"/>
268 <mousebind button=
"Left" action=
"DoubleClick">
269 <action name=
"ToggleMaximizeFull"/>
272 <mousebind button=
"Middle" action=
"Press">
273 <action name=
"Focus"/>
274 <action name=
"Lower"/>
277 <mousebind button=
"Up" action=
"Click">
278 <action name=
"Shade"/>
280 <mousebind button=
"Down" action=
"Click">
281 <action name=
"Unshade"/>
284 <mousebind button=
"Right" action=
"Press">
285 <action name=
"Focus"/>
286 <action name=
"ShowMenu"><menu>client-menu
</menu></action>
291 <mousebind button=
"Left" action=
"Press">
292 <action name=
"Focus"/>
294 <mousebind button=
"Left" action=
"Click">
295 <action name=
"Raise"/>
297 <mousebind button=
"Left" action=
"Drag">
298 <action name=
"Resize"><edge>top
</edge></action>
302 <context name=
"Left">
303 <mousebind button=
"Left" action=
"Press">
304 <action name=
"Focus"/>
306 <mousebind button=
"Left" action=
"Click">
307 <action name=
"Raise"/>
309 <mousebind button=
"Left" action=
"Drag">
310 <action name=
"Resize"><edge>top
</edge></action>
314 <context name=
"Right">
315 <mousebind button=
"Left" action=
"Press">
316 <action name=
"Focus"/>
318 <mousebind button=
"Left" action=
"Click">
319 <action name=
"Raise"/>
321 <mousebind button=
"Left" action=
"Drag">
322 <action name=
"Resize"><edge>top
</edge></action>
326 <context name=
"Handle">
327 <mousebind button=
"Left" action=
"Press">
328 <action name=
"Focus"/>
330 <mousebind button=
"Left" action=
"Click">
331 <action name=
"Raise"/>
333 <mousebind button=
"Left" action=
"Drag">
334 <action name=
"Resize"><edge>bottom
</edge></action>
337 <mousebind button=
"Middle" action=
"Press">
338 <action name=
"Focus"/>
339 <action name=
"Lower"/>
342 <mousebind button=
"Right" action=
"Press">
343 <action name=
"Focus"/>
344 <action name=
"ShowMenu"><menu>client-menu
</menu></action>
348 <context name=
"BLCorner">
349 <mousebind button=
"Left" action=
"Press">
350 <action name=
"Focus"/>
352 <mousebind button=
"Left" action=
"Click">
353 <action name=
"Raise"/>
355 <mousebind button=
"Left" action=
"Drag">
356 <action name=
"Resize"/>
360 <context name=
"BRCorner">
361 <mousebind button=
"Left" action=
"Press">
362 <action name=
"Focus"/>
364 <mousebind button=
"Left" action=
"Click">
365 <action name=
"Raise"/>
367 <mousebind button=
"Left" action=
"Drag">
368 <action name=
"Resize"/>
372 <context name=
"TLCorner">
373 <mousebind button=
"Left" action=
"Press">
374 <action name=
"Focus"/>
376 <mousebind button=
"Left" action=
"Click">
377 <action name=
"Raise"/>
379 <mousebind button=
"Left" action=
"Drag">
380 <action name=
"Resize"/>
384 <context name=
"TRCorner">
385 <mousebind button=
"Left" action=
"Press">
386 <action name=
"Focus"/>
388 <mousebind button=
"Left" action=
"Click">
389 <action name=
"Raise"/>
391 <mousebind button=
"Left" action=
"Drag">
392 <action name=
"Resize"/>
396 <context name=
"Client">
397 <mousebind button=
"Left" action=
"Press">
398 <action name=
"Activate"/>
400 <mousebind button=
"Middle" action=
"Press">
401 <action name=
"Activate"/>
403 <mousebind button=
"Right" action=
"Press">
404 <action name=
"Activate"/>
408 <context name=
"Icon">
409 <mousebind button=
"Left" action=
"Press">
410 <action name=
"Focus"/>
411 <action name=
"ShowMenu"><menu>client-menu
</menu></action>
413 <mousebind button=
"Right" action=
"Press">
414 <action name=
"Focus"/>
415 <action name=
"ShowMenu"><menu>client-menu
</menu></action>
419 <context name=
"AllDesktops">
420 <mousebind button=
"Left" action=
"Press">
421 <action name=
"Focus"/>
423 <mousebind button=
"Left" action=
"Click">
424 <action name=
"ToggleOmnipresent"/>
428 <context name=
"Shade">
429 <mousebind button=
"Left" action=
"Press">
430 <action name=
"Focus"/>
432 <mousebind button=
"Left" action=
"Click">
433 <action name=
"ToggleShade"/>
437 <context name=
"Iconify">
438 <mousebind button=
"Left" action=
"Press">
439 <action name=
"Focus"/>
441 <mousebind button=
"Left" action=
"Click">
442 <action name=
"Iconify"/>
446 <context name=
"Maximize">
447 <mousebind button=
"Left" action=
"Press">
448 <action name=
"Focus"/>
450 <mousebind button=
"Middle" action=
"Press">
451 <action name=
"Focus"/>
453 <mousebind button=
"Right" action=
"Press">
454 <action name=
"Focus"/>
456 <mousebind button=
"Left" action=
"Click">
457 <action name=
"ToggleMaximizeFull"/>
459 <mousebind button=
"Middle" action=
"Click">
460 <action name=
"ToggleMaximizeVert"/>
462 <mousebind button=
"Right" action=
"Click">
463 <action name=
"ToggleMaximizeHorz"/>
467 <context name=
"Close">
468 <mousebind button=
"Left" action=
"Press">
469 <action name=
"Focus"/>
471 <mousebind button=
"Left" action=
"Click">
472 <action name=
"Close"/>
476 <context name=
"Desktop">
477 <mousebind button=
"Up" action=
"Press">
478 <action name=
"DesktopPrevious"/>
480 <mousebind button=
"Down" action=
"Press">
481 <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"/>
491 <mousebind button=
"Left" action=
"Press">
492 <action name=
"Activate"/>
496 <context name=
"Root">
498 <mousebind button=
"Middle" action=
"Press">
499 <action name=
"ShowMenu"><menu>client-list-combined-menu
</menu></action>
501 <mousebind button=
"Right" action=
"Press">
502 <action name=
"ShowMenu"><menu>root-menu
</menu></action>
506 <context name=
"MoveResize">
507 <mousebind button=
"Up" action=
"Press">
508 <action name=
"DesktopPrevious"/>
510 <mousebind button=
"Down" action=
"Press">
511 <action name=
"DesktopNext"/>
513 <mousebind button=
"A-Up" action=
"Press">
514 <action name=
"DesktopPrevious"/>
516 <mousebind button=
"A-Down" action=
"Press">
517 <action name=
"DesktopNext"/>
523 <!-- You can specify more than one menu file in here and they are all loaded,
524 just don't make menu ids clash or, well, it'll be kind of pointless -->
526 <!-- default menu file (or custom one in $HOME/.config/openbox/) -->
527 <file>menu.xml
</file>
528 <hideDelay>200</hideDelay>
530 <submenuShowDelay>100</submenuShowDelay>
531 <applicationIcons>yes
</applicationIcons>
536 # this is an example with comments through out. use these to make your
537 # own rules, but without the comments of course.
539 <application name="first element of window's WM_CLASS property (see xprop)"
540 class="second element of window's WM_CLASS property (see xprop)"
541 role="the window's WM_WINDOW_ROLE property (see xprop)">
542 # the name or the class can be set, or both. this is used to match
543 # windows when they appear. role can optionally be set as well, to
544 # further restrict your matches.
546 # the name, class, and role use simple wildcard matching such as those
547 # used by a shell. you can use * to match any characters and ? to match
548 # any single character.
550 # when multiple rules match a window, they will all be applied, in the
551 # order that they appear in this list
554 # each element can be left out or set to 'default' to specify to not
555 # change that attribute of the window
558 # enable or disable window decorations
561 # make the window shaded when it appears, or not
564 # the position is only used if both an x and y coordinate are provided
565 # (and not set to 'default')
567 # a number like 50, or 'center' to center on screen
569 # a number like 50, or 'center' to center on screen
571 # specifies the monitor in a xinerama setup.
572 # 1 is the first head, or 'mouse' for wherever the mouse is
576 # if the window should try be given focus when it appears. if this is set
577 # to yes it doesn't guarantee the window will be given focus. some
578 # restrictions may apply, but Openbox will try to
581 # 1 is the first desktop, 'all' for all desktops
583 <layer>normal</layer>
584 # 'above', 'normal', or 'below'
587 # make the window iconified when it appears, or not
589 <skip_pager>no</skip_pager>
590 # asks to not be shown in pagers
592 <skip_taskbar>no</skip_taskbar>
593 # asks to not be shown in taskbars. window cycling actions will also
594 # skip past such windows
596 <fullscreen>yes</fullscreen>
597 # make the window in fullscreen mode when it appears
599 <maximized>true</maximized>
600 # 'Horizontal', 'Vertical' or boolean (yes/no)