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>
30 avaible characters are NDSLIMC, each can occur at most once.
32 L: window label (AKA title).
36 S: shade (roll up/down)
37 D: omnipresent (on all desktops).
39 <keepBorder>yes
</keepBorder>
40 <animateIconify>yes
</animateIconify>
41 <font place=
"ActiveWindow">
44 <!-- font size in points -->
46 <!-- 'bold' or 'normal' -->
48 <!-- 'italic' or 'normal' -->
50 <font place=
"InactiveWindow">
53 <!-- font size in points -->
55 <!-- 'bold' or 'normal' -->
57 <!-- 'italic' or 'normal' -->
59 <font place=
"MenuHeader">
62 <!-- font size in points -->
63 <weight>normal
</weight>
64 <!-- 'bold' or 'normal' -->
66 <!-- 'italic' or 'normal' -->
68 <font place=
"MenuItem">
71 <!-- font size in points -->
72 <weight>normal
</weight>
73 <!-- 'bold' or 'normal' -->
75 <!-- 'italic' or 'normal' -->
77 <font place=
"OnScreenDisplay">
80 <!-- font size in points -->
82 <!-- 'bold' or 'normal' -->
84 <!-- 'italic' or 'normal' -->
89 <!-- this stuff is only used at startup, pagers allow you to change them
92 these are default values to use when other ones are not already set
93 by other applications, or saved in your session
95 use obconf if you want to change these without having to log out
98 <firstdesk>1</firstdesk>
100 <!-- set names up here if you want to, like this:
101 <name>desktop 1</name>
102 <name>desktop 2</name>
108 <drawContents>yes
</drawContents>
109 <popupShow>Nonpixel
</popupShow>
110 <!-- 'Always', 'Never', or 'Nonpixel' (xterms and such) -->
111 <popupPosition>Center
</popupPosition>
112 <!-- 'Center' or 'Top' -->
116 <position>TopLeft
</position>
117 <!-- (Top|Bottom)(Left|Right|)|Top|Bottom|Left|Right|Floating -->
118 <floatingX>0</floatingX>
119 <floatingY>0</floatingY>
120 <noStrut>no
</noStrut>
121 <stacking>Above
</stacking>
122 <!-- 'Above', 'Normal', or 'Below' -->
123 <direction>Vertical
</direction>
124 <!-- 'Vertical' or 'Horizontal' -->
125 <autoHide>no
</autoHide>
126 <hideDelay>300</hideDelay>
127 <!-- in milliseconds (1000 = 1 second) -->
128 <showDelay>300</showDelay>
129 <!-- in milliseconds (1000 = 1 second) -->
130 <moveButton>Middle
</moveButton>
131 <!-- 'Left', 'Middle', 'Right' -->
135 <chainQuitKey>C-g
</chainQuitKey>
137 <!-- Keybindings for desktop switching -->
138 <keybind key=
"C-A-Left">
139 <action name=
"DesktopLeft"><wrap>no
</wrap></action>
141 <keybind key=
"C-A-Right">
142 <action name=
"DesktopRight"><wrap>no
</wrap></action>
144 <keybind key=
"C-A-Up">
145 <action name=
"DesktopUp"><wrap>no
</wrap></action>
147 <keybind key=
"C-A-Down">
148 <action name=
"DesktopDown"><wrap>no
</wrap></action>
150 <keybind key=
"S-A-Left">
151 <action name=
"SendToDesktopLeft"><wrap>no
</wrap></action>
153 <keybind key=
"S-A-Right">
154 <action name=
"SendToDesktopRight"><wrap>no
</wrap></action>
156 <keybind key=
"S-A-Up">
157 <action name=
"SendToDesktopUp"><wrap>no
</wrap></action>
159 <keybind key=
"S-A-Down">
160 <action name=
"SendToDesktopDown"><wrap>no
</wrap></action>
163 <action name=
"Desktop"><desktop>1</desktop></action>
166 <action name=
"Desktop"><desktop>2</desktop></action>
169 <action name=
"Desktop"><desktop>3</desktop></action>
172 <action name=
"Desktop"><desktop>4</desktop></action>
175 <action name=
"ToggleShowDesktop"/>
178 <!-- Keybindings for windows -->
180 <action name=
"Close"/>
182 <keybind key=
"A-Escape">
183 <action name=
"Lower"/>
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=
"Focus"/>
224 <mousebind button=
"A-Left" action=
"Click">
225 <action name=
"Raise"/>
227 <mousebind button=
"A-Left" action=
"Drag">
228 <action name=
"Move"/>
231 <mousebind button=
"A-Right" action=
"Press">
232 <action name=
"Focus"/>
234 <mousebind button=
"A-Right" action=
"Press">
235 <action name=
"Raise"/>
237 <mousebind button=
"A-Right" action=
"Drag">
238 <action name=
"Resize"/>
241 <mousebind button=
"A-Middle" action=
"Press">
242 <action name=
"Focus"/>
243 <action name=
"Lower"/>
246 <mousebind button=
"A-Up" action=
"Click">
247 <action name=
"DesktopPrevious"/>
249 <mousebind button=
"A-Down" action=
"Click">
250 <action name=
"DesktopNext"/>
252 <mousebind button=
"A-S-Up" action=
"Click">
253 <action name=
"SendToDesktopPrevious"/>
255 <mousebind button=
"A-S-Down" action=
"Click">
256 <action name=
"SendToDesktopNext"/>
260 <context name=
"Titlebar">
261 <mousebind button=
"Left" action=
"Press">
262 <action name=
"Focus"/>
264 <mousebind button=
"Left" action=
"Click">
265 <action name=
"Raise"/>
267 <mousebind button=
"Left" action=
"Drag">
268 <action name=
"Move"/>
270 <mousebind button=
"Left" action=
"DoubleClick">
271 <action name=
"ToggleMaximizeFull"/>
274 <mousebind button=
"Middle" action=
"Press">
275 <action name=
"Focus"/>
276 <action name=
"Lower"/>
279 <mousebind button=
"Up" action=
"Click">
280 <action name=
"Shade"/>
282 <mousebind button=
"Down" action=
"Click">
283 <action name=
"Unshade"/>
286 <mousebind button=
"Right" action=
"Press">
287 <action name=
"Focus"/>
288 <action name=
"ShowMenu"><menu>client-menu
</menu></action>
293 <mousebind button=
"Left" action=
"Press">
294 <action name=
"Focus"/>
296 <mousebind button=
"Left" action=
"Click">
297 <action name=
"Raise"/>
299 <mousebind button=
"Left" action=
"Drag">
300 <action name=
"Resize"><edge>top
</edge></action>
304 <context name=
"Left">
305 <mousebind button=
"Left" action=
"Press">
306 <action name=
"Focus"/>
308 <mousebind button=
"Left" action=
"Click">
309 <action name=
"Raise"/>
311 <mousebind button=
"Left" action=
"Drag">
312 <action name=
"Resize"><edge>top
</edge></action>
316 <context name=
"Right">
317 <mousebind button=
"Left" action=
"Press">
318 <action name=
"Focus"/>
320 <mousebind button=
"Left" action=
"Click">
321 <action name=
"Raise"/>
323 <mousebind button=
"Left" action=
"Drag">
324 <action name=
"Resize"><edge>top
</edge></action>
328 <context name=
"Handle">
329 <mousebind button=
"Left" action=
"Press">
330 <action name=
"Focus"/>
332 <mousebind button=
"Left" action=
"Click">
333 <action name=
"Raise"/>
335 <mousebind button=
"Left" action=
"Drag">
336 <action name=
"Resize"><edge>bottom
</edge></action>
339 <mousebind button=
"Middle" action=
"Press">
340 <action name=
"Focus"/>
341 <action name=
"Lower"/>
344 <mousebind button=
"Right" action=
"Press">
345 <action name=
"Focus"/>
346 <action name=
"ShowMenu"><menu>client-menu
</menu></action>
350 <context name=
"BLCorner">
351 <mousebind button=
"Left" action=
"Press">
352 <action name=
"Focus"/>
354 <mousebind button=
"Left" action=
"Click">
355 <action name=
"Raise"/>
357 <mousebind button=
"Left" action=
"Drag">
358 <action name=
"Resize"/>
362 <context name=
"BRCorner">
363 <mousebind button=
"Left" action=
"Press">
364 <action name=
"Focus"/>
366 <mousebind button=
"Left" action=
"Click">
367 <action name=
"Raise"/>
369 <mousebind button=
"Left" action=
"Drag">
370 <action name=
"Resize"/>
374 <context name=
"TLCorner">
375 <mousebind button=
"Left" action=
"Press">
376 <action name=
"Focus"/>
378 <mousebind button=
"Left" action=
"Click">
379 <action name=
"Raise"/>
381 <mousebind button=
"Left" action=
"Drag">
382 <action name=
"Resize"/>
386 <context name=
"TRCorner">
387 <mousebind button=
"Left" action=
"Press">
388 <action name=
"Focus"/>
390 <mousebind button=
"Left" action=
"Click">
391 <action name=
"Raise"/>
393 <mousebind button=
"Left" action=
"Drag">
394 <action name=
"Resize"/>
398 <context name=
"Client">
399 <mousebind button=
"Left" action=
"Press">
400 <action name=
"Focus"/>
401 <action name=
"Raise"/>
403 <mousebind button=
"Middle" action=
"Press">
404 <action name=
"Focus"/>
405 <action name=
"Raise"/>
407 <mousebind button=
"Right" action=
"Press">
408 <action name=
"Focus"/>
409 <action name=
"Raise"/>
413 <context name=
"Icon">
414 <mousebind button=
"Left" action=
"Press">
415 <action name=
"Focus"/>
416 <action name=
"ShowMenu"><menu>client-menu
</menu></action>
418 <mousebind button=
"Right" action=
"Press">
419 <action name=
"Focus"/>
420 <action name=
"ShowMenu"><menu>client-menu
</menu></action>
424 <context name=
"AllDesktops">
425 <mousebind button=
"Left" action=
"Press">
426 <action name=
"Focus"/>
428 <mousebind button=
"Left" action=
"Click">
429 <action name=
"ToggleOmnipresent"/>
433 <context name=
"Shade">
434 <mousebind button=
"Left" action=
"Press">
435 <action name=
"Focus"/>
437 <mousebind button=
"Left" action=
"Click">
438 <action name=
"ToggleShade"/>
442 <context name=
"Iconify">
443 <mousebind button=
"Left" action=
"Press">
444 <action name=
"Focus"/>
446 <mousebind button=
"Left" action=
"Click">
447 <action name=
"Iconify"/>
451 <context name=
"Maximize">
452 <mousebind button=
"Left" action=
"Press">
453 <action name=
"Focus"/>
455 <mousebind button=
"Middle" action=
"Press">
456 <action name=
"Focus"/>
458 <mousebind button=
"Right" action=
"Press">
459 <action name=
"Focus"/>
461 <mousebind button=
"Left" action=
"Click">
462 <action name=
"ToggleMaximizeFull"/>
464 <mousebind button=
"Middle" action=
"Click">
465 <action name=
"ToggleMaximizeVert"/>
467 <mousebind button=
"Right" action=
"Click">
468 <action name=
"ToggleMaximizeHorz"/>
472 <context name=
"Close">
473 <mousebind button=
"Left" action=
"Press">
474 <action name=
"Focus"/>
476 <mousebind button=
"Left" action=
"Click">
477 <action name=
"Close"/>
481 <context name=
"Desktop">
482 <mousebind button=
"Up" action=
"Press">
483 <action name=
"DesktopPrevious"/>
485 <mousebind button=
"Down" action=
"Press">
486 <action name=
"DesktopNext"/>
489 <mousebind button=
"A-Up" action=
"Press">
490 <action name=
"DesktopPrevious"/>
492 <mousebind button=
"A-Down" action=
"Press">
493 <action name=
"DesktopNext"/>
496 <mousebind button=
"Left" action=
"Press">
497 <action name=
"Focus"/>
501 <context name=
"Root">
503 <mousebind button=
"Middle" action=
"Press">
504 <action name=
"ShowMenu"><menu>client-list-combined-menu
</menu></action>
506 <mousebind button=
"Right" action=
"Press">
507 <action name=
"ShowMenu"><menu>root-menu
</menu></action>
511 <context name=
"MoveResize">
512 <mousebind button=
"Up" action=
"Press">
513 <action name=
"DesktopPrevious"/>
515 <mousebind button=
"Down" action=
"Press">
516 <action name=
"DesktopNext"/>
518 <mousebind button=
"A-Up" action=
"Press">
519 <action name=
"DesktopPrevious"/>
521 <mousebind button=
"A-Down" action=
"Press">
522 <action name=
"DesktopNext"/>
528 <!-- You can specify more than one menu file in here and they are all loaded,
529 just don't make menu ids clash or, well, it'll be kind of pointless -->
531 <!-- default menu file (or custom one in $HOME/.config/openbox/) -->
532 <file>menu.xml
</file>
533 <hideDelay>200</hideDelay>
535 <submenuShowDelay>100</submenuShowDelay>
536 <applicationIcons>yes
</applicationIcons>
541 # this is an example with comments through out. use these to make your
542 # own rules, but without the comments of course.
544 <application name="first element of window's WM_CLASS property (see xprop)"
545 class="second element of window's WM_CLASS property (see xprop)"
546 role="the window's WM_WINDOW_ROLE property (see xprop)">
547 # the name or the class can be set, or both. this is used to match
548 # windows when they appear. role can optionally be set as well, to
549 # further restrict your matches.
551 # the name, class, and role use simple wildcard matching such as those
552 # used by a shell. you can use * to match any characters and ? to match
553 # any single character.
555 # when multiple rules match a window, they will all be applied, in the
556 # order that they appear in this list
559 # each element can be left out or set to 'default' to specify to not
560 # change that attribute of the window
563 # enable or disable window decorations
566 # make the window shaded when it appears, or not
569 # the position is only used if both an x and y coordinate are provided
570 # (and not set to 'default')
572 # a number like 50, or 'center' to center on screen
574 # a number like 50, or 'center' to center on screen
576 # specifies the monitor in a xinerama setup.
577 # 1 is the first head, or 'mouse' for wherever the mouse is
581 # if the window should try be given focus when it appears. if this is set
582 # to yes it doesn't guarantee the window will be given focus. some
583 # restrictions may apply, but Openbox will try to
586 # 1 is the first desktop, 'all' for all desktops
588 <layer>normal</layer>
589 # 'above', 'normal', or 'below'
592 # make the window iconified when it appears, or not
594 <skip_pager>no</skip_pager>
595 # asks to not be shown in pagers
597 <skip_taskbar>no</skip_taskbar>
598 # asks to not be shown in taskbars. window cycling actions will also
599 # skip past such windows
601 <fullscreen>yes</fullscreen>
602 # make the window in fullscreen mode when it appears
604 <maximized>true</maximized>
605 # 'Horizontal', 'Vertical' or boolean (yes/no)