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=
"Activate"/>
402 <mousebind button=
"Middle" action=
"Press">
403 <action name=
"Activate"/>
405 <mousebind button=
"Right" action=
"Press">
406 <action name=
"Activate"/>
410 <context name=
"Icon">
411 <mousebind button=
"Left" action=
"Press">
412 <action name=
"Focus"/>
413 <action name=
"ShowMenu"><menu>client-menu
</menu></action>
415 <mousebind button=
"Right" action=
"Press">
416 <action name=
"Focus"/>
417 <action name=
"ShowMenu"><menu>client-menu
</menu></action>
421 <context name=
"AllDesktops">
422 <mousebind button=
"Left" action=
"Press">
423 <action name=
"Focus"/>
425 <mousebind button=
"Left" action=
"Click">
426 <action name=
"ToggleOmnipresent"/>
430 <context name=
"Shade">
431 <mousebind button=
"Left" action=
"Press">
432 <action name=
"Focus"/>
434 <mousebind button=
"Left" action=
"Click">
435 <action name=
"ToggleShade"/>
439 <context name=
"Iconify">
440 <mousebind button=
"Left" action=
"Press">
441 <action name=
"Focus"/>
443 <mousebind button=
"Left" action=
"Click">
444 <action name=
"Iconify"/>
448 <context name=
"Maximize">
449 <mousebind button=
"Left" action=
"Press">
450 <action name=
"Focus"/>
452 <mousebind button=
"Middle" action=
"Press">
453 <action name=
"Focus"/>
455 <mousebind button=
"Right" action=
"Press">
456 <action name=
"Focus"/>
458 <mousebind button=
"Left" action=
"Click">
459 <action name=
"ToggleMaximizeFull"/>
461 <mousebind button=
"Middle" action=
"Click">
462 <action name=
"ToggleMaximizeVert"/>
464 <mousebind button=
"Right" action=
"Click">
465 <action name=
"ToggleMaximizeHorz"/>
469 <context name=
"Close">
470 <mousebind button=
"Left" action=
"Press">
471 <action name=
"Focus"/>
473 <mousebind button=
"Left" action=
"Click">
474 <action name=
"Close"/>
478 <context name=
"Desktop">
479 <mousebind button=
"Up" action=
"Press">
480 <action name=
"DesktopPrevious"/>
482 <mousebind button=
"Down" action=
"Press">
483 <action name=
"DesktopNext"/>
486 <mousebind button=
"A-Up" action=
"Press">
487 <action name=
"DesktopPrevious"/>
489 <mousebind button=
"A-Down" action=
"Press">
490 <action name=
"DesktopNext"/>
493 <mousebind button=
"Left" action=
"Press">
494 <action name=
"Activate"/>
498 <context name=
"Root">
500 <mousebind button=
"Middle" action=
"Press">
501 <action name=
"ShowMenu"><menu>client-list-combined-menu
</menu></action>
503 <mousebind button=
"Right" action=
"Press">
504 <action name=
"ShowMenu"><menu>root-menu
</menu></action>
508 <context name=
"MoveResize">
509 <mousebind button=
"Up" action=
"Press">
510 <action name=
"DesktopPrevious"/>
512 <mousebind button=
"Down" action=
"Press">
513 <action name=
"DesktopNext"/>
515 <mousebind button=
"A-Up" action=
"Press">
516 <action name=
"DesktopPrevious"/>
518 <mousebind button=
"A-Down" action=
"Press">
519 <action name=
"DesktopNext"/>
525 <!-- You can specify more than one menu file in here and they are all loaded,
526 just don't make menu ids clash or, well, it'll be kind of pointless -->
528 <!-- default menu file (or custom one in $HOME/.config/openbox/) -->
529 <file>menu.xml
</file>
530 <hideDelay>200</hideDelay>
532 <submenuShowDelay>100</submenuShowDelay>
533 <applicationIcons>yes
</applicationIcons>
538 # this is an example with comments through out. use these to make your
539 # own rules, but without the comments of course.
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)">
544 # the name or the class can be set, or both. this is used to match
545 # windows when they appear. role can optionally be set as well, to
546 # further restrict your matches.
548 # the name, class, and role use simple wildcard matching such as those
549 # used by a shell. you can use * to match any characters and ? to match
550 # any single character.
552 # when multiple rules match a window, they will all be applied, in the
553 # order that they appear in this list
556 # each element can be left out or set to 'default' to specify to not
557 # change that attribute of the window
560 # enable or disable window decorations
563 # make the window shaded when it appears, or not
566 # the position is only used if both an x and y coordinate are provided
567 # (and not set to 'default')
569 # a number like 50, or 'center' to center on screen
571 # a number like 50, or 'center' to center on screen
573 # specifies the monitor in a xinerama setup.
574 # 1 is the first head, or 'mouse' for wherever the mouse is
578 # if the window should try be given focus when it appears. if this is set
579 # to yes it doesn't guarantee the window will be given focus. some
580 # restrictions may apply, but Openbox will try to
583 # 1 is the first desktop, 'all' for all desktops
585 <layer>normal</layer>
586 # 'above', 'normal', or 'below'
589 # make the window iconified when it appears, or not
591 <skip_pager>no</skip_pager>
592 # asks to not be shown in pagers
594 <skip_taskbar>no</skip_taskbar>
595 # asks to not be shown in taskbars. window cycling actions will also
596 # skip past such windows
598 <fullscreen>yes</fullscreen>
599 # make the window in fullscreen mode when it appears
601 <maximized>true</maximized>
602 # 'Horizontal', 'Vertical' or boolean (yes/no)