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 <!-- always try to focus new windows when they appear. other rules do
17 <followMouse>yes
</followMouse>
18 <!-- move focus to a window when you move the mouse into it -->
19 <focusLast>yes
</focusLast>
20 <!-- focus the last used window when changing desktops, instead of the one
21 under the mouse pointer. when followMouse is enabled -->
22 <underMouse>no
</underMouse>
23 <!-- move focus under the mouse, even when the mouse is not moving -->
24 <focusDelay>200</focusDelay>
25 <!-- when followMouse is enabled, the mouse must be inside the window for
26 this many milliseconds (1000 = 1 sec) before moving focus to it -->
27 <raiseOnFocus>no
</raiseOnFocus>
28 <!-- when followMouse is enabled, and a window is given focus by moving the
29 mouse into it, also raise the window -->
33 <policy>Smart
</policy>
34 <!-- 'Smart' or 'UnderMouse' -->
38 <name>Clearlooks
</name>
39 <titleLayout>NLIMC
</titleLayout>
41 avaible characters are NDSLIMC, each can occur at most once.
43 L: window label (AKA title).
47 S: shade (roll up/down)
48 D: omnipresent (on all desktops).
50 <keepBorder>yes
</keepBorder>
51 <animateIconify>yes
</animateIconify>
52 <font place=
"ActiveWindow">
55 <!-- font size in points -->
57 <!-- 'bold' or 'normal' -->
59 <!-- 'italic' or 'normal' -->
61 <font place=
"InactiveWindow">
64 <!-- font size in points -->
66 <!-- 'bold' or 'normal' -->
68 <!-- 'italic' or 'normal' -->
70 <font place=
"MenuHeader">
73 <!-- font size in points -->
74 <weight>normal
</weight>
75 <!-- 'bold' or 'normal' -->
77 <!-- 'italic' or 'normal' -->
79 <font place=
"MenuItem">
82 <!-- font size in points -->
83 <weight>normal
</weight>
84 <!-- 'bold' or 'normal' -->
86 <!-- 'italic' or 'normal' -->
88 <font place=
"OnScreenDisplay">
91 <!-- font size in points -->
93 <!-- 'bold' or 'normal' -->
95 <!-- 'italic' or 'normal' -->
100 <!-- this stuff is only used at startup, pagers allow you to change them
103 these are default values to use when other ones are not already set
104 by other applications, or saved in your session
106 use obconf if you want to change these without having to log out
109 <firstdesk>1</firstdesk>
111 <!-- set names up here if you want to, like this:
112 <name>desktop 1</name>
113 <name>desktop 2</name>
119 <drawContents>yes
</drawContents>
120 <popupShow>Nonpixel
</popupShow>
121 <!-- 'Always', 'Never', or 'Nonpixel' (xterms and such) -->
122 <popupPosition>Center
</popupPosition>
123 <!-- 'Center' or 'Top' -->
127 <position>TopLeft
</position>
128 <!-- (Top|Bottom)(Left|Right|)|Top|Bottom|Left|Right|Floating -->
129 <floatingX>0</floatingX>
130 <floatingY>0</floatingY>
131 <noStrut>no
</noStrut>
132 <stacking>Above
</stacking>
133 <!-- 'Above', 'Normal', or 'Below' -->
134 <direction>Vertical
</direction>
135 <!-- 'Vertical' or 'Horizontal' -->
136 <autoHide>no
</autoHide>
137 <hideDelay>300</hideDelay>
138 <!-- in milliseconds (1000 = 1 second) -->
139 <showDelay>300</showDelay>
140 <!-- in milliseconds (1000 = 1 second) -->
141 <moveButton>Middle
</moveButton>
142 <!-- 'Left', 'Middle', 'Right' -->
146 <chainQuitKey>C-g
</chainQuitKey>
148 <!-- Keybindings for desktop switching -->
149 <keybind key=
"C-A-Left">
150 <action name=
"DesktopLeft"><wrap>no
</wrap></action>
152 <keybind key=
"C-A-Right">
153 <action name=
"DesktopRight"><wrap>no
</wrap></action>
155 <keybind key=
"C-A-Up">
156 <action name=
"DesktopUp"><wrap>no
</wrap></action>
158 <keybind key=
"C-A-Down">
159 <action name=
"DesktopDown"><wrap>no
</wrap></action>
161 <keybind key=
"S-A-Left">
162 <action name=
"SendToDesktopLeft"><wrap>no
</wrap></action>
164 <keybind key=
"S-A-Right">
165 <action name=
"SendToDesktopRight"><wrap>no
</wrap></action>
167 <keybind key=
"S-A-Up">
168 <action name=
"SendToDesktopUp"><wrap>no
</wrap></action>
170 <keybind key=
"S-A-Down">
171 <action name=
"SendToDesktopDown"><wrap>no
</wrap></action>
174 <action name=
"Desktop"><desktop>1</desktop></action>
177 <action name=
"Desktop"><desktop>2</desktop></action>
180 <action name=
"Desktop"><desktop>3</desktop></action>
183 <action name=
"Desktop"><desktop>4</desktop></action>
186 <action name=
"ToggleShowDesktop"/>
189 <!-- Keybindings for windows -->
191 <action name=
"Close"/>
193 <keybind key=
"A-Escape">
194 <action name=
"Lower"/>
196 <keybind key=
"A-space">
197 <action name=
"ShowMenu"><menu>client-menu
</menu></action>
200 <!-- Keybindings for window switching -->
201 <keybind key=
"A-Tab">
202 <action name=
"NextWindow"/>
204 <keybind key=
"A-S-Tab">
205 <action name=
"PreviousWindow"/>
207 <keybind key=
"C-A-Tab">
208 <action name=
"NextWindow">
209 <panels>yes
</panels><desktop>yes
</desktop>
213 <!-- Keybindings for running applications -->
215 <action name=
"Execute">
217 <enabled>true
</enabled>
218 <name>Konqueror
</name>
220 <command>kfmclient openProfile filemanagement
</command>
226 <dragThreshold>8</dragThreshold>
227 <!-- number of pixels the mouse must move before a drag begins -->
228 <doubleClickTime>200</doubleClickTime>
229 <!-- in milliseconds (1000 = 1 second) -->
231 <context name=
"Frame">
232 <mousebind button=
"A-Left" action=
"Press">
233 <action name=
"Focus"/>
235 <mousebind button=
"A-Left" action=
"Click">
236 <action name=
"Raise"/>
238 <mousebind button=
"A-Left" action=
"Drag">
239 <action name=
"Move"/>
242 <mousebind button=
"A-Right" action=
"Press">
243 <action name=
"Focus"/>
245 <mousebind button=
"A-Right" action=
"Press">
246 <action name=
"Raise"/>
248 <mousebind button=
"A-Right" action=
"Drag">
249 <action name=
"Resize"/>
252 <mousebind button=
"A-Middle" action=
"Press">
253 <action name=
"Focus"/>
254 <action name=
"Lower"/>
257 <mousebind button=
"A-Up" action=
"Click">
258 <action name=
"DesktopPrevious"/>
260 <mousebind button=
"A-Down" action=
"Click">
261 <action name=
"DesktopNext"/>
263 <mousebind button=
"C-A-Up" action=
"Click">
264 <action name=
"DesktopPrevious"/>
266 <mousebind button=
"C-A-Down" action=
"Click">
267 <action name=
"DesktopNext"/>
269 <mousebind button=
"A-S-Up" action=
"Click">
270 <action name=
"SendToDesktopPrevious"/>
272 <mousebind button=
"A-S-Down" action=
"Click">
273 <action name=
"SendToDesktopNext"/>
277 <context name=
"Titlebar">
278 <mousebind button=
"Left" action=
"Press">
279 <action name=
"Focus"/>
281 <mousebind button=
"Left" action=
"Click">
282 <action name=
"Raise"/>
284 <mousebind button=
"Left" action=
"Drag">
285 <action name=
"Move"/>
287 <mousebind button=
"Left" action=
"DoubleClick">
288 <action name=
"ToggleMaximizeFull"/>
291 <mousebind button=
"Middle" action=
"Press">
292 <action name=
"Focus"/>
293 <action name=
"Lower"/>
296 <mousebind button=
"Up" action=
"Click">
297 <action name=
"Shade"/>
299 <mousebind button=
"Down" action=
"Click">
300 <action name=
"Unshade"/>
303 <mousebind button=
"Right" action=
"Press">
304 <action name=
"Focus"/>
305 <action name=
"ShowMenu"><menu>client-menu
</menu></action>
310 <mousebind button=
"Left" action=
"Press">
311 <action name=
"Focus"/>
313 <mousebind button=
"Left" action=
"Click">
314 <action name=
"Raise"/>
316 <mousebind button=
"Left" action=
"Drag">
317 <action name=
"Resize"><edge>top
</edge></action>
321 <context name=
"Left">
322 <mousebind button=
"Left" action=
"Press">
323 <action name=
"Focus"/>
325 <mousebind button=
"Left" action=
"Click">
326 <action name=
"Raise"/>
328 <mousebind button=
"Left" action=
"Drag">
329 <action name=
"Resize"><edge>left
</edge></action>
333 <context name=
"Right">
334 <mousebind button=
"Left" action=
"Press">
335 <action name=
"Focus"/>
337 <mousebind button=
"Left" action=
"Click">
338 <action name=
"Raise"/>
340 <mousebind button=
"Left" action=
"Drag">
341 <action name=
"Resize"><edge>right
</edge></action>
345 <context name=
"Handle">
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"><edge>bottom
</edge></action>
356 <mousebind button=
"Middle" action=
"Press">
357 <action name=
"Focus"/>
358 <action name=
"Lower"/>
361 <mousebind button=
"Right" action=
"Press">
362 <action name=
"Focus"/>
363 <action name=
"ShowMenu"><menu>client-menu
</menu></action>
367 <context name=
"BLCorner">
368 <mousebind button=
"Left" action=
"Press">
369 <action name=
"Focus"/>
371 <mousebind button=
"Left" action=
"Click">
372 <action name=
"Raise"/>
374 <mousebind button=
"Left" action=
"Drag">
375 <action name=
"Resize"/>
379 <context name=
"BRCorner">
380 <mousebind button=
"Left" action=
"Press">
381 <action name=
"Focus"/>
383 <mousebind button=
"Left" action=
"Click">
384 <action name=
"Raise"/>
386 <mousebind button=
"Left" action=
"Drag">
387 <action name=
"Resize"/>
391 <context name=
"TLCorner">
392 <mousebind button=
"Left" action=
"Press">
393 <action name=
"Focus"/>
395 <mousebind button=
"Left" action=
"Click">
396 <action name=
"Raise"/>
398 <mousebind button=
"Left" action=
"Drag">
399 <action name=
"Resize"/>
403 <context name=
"TRCorner">
404 <mousebind button=
"Left" action=
"Press">
405 <action name=
"Focus"/>
407 <mousebind button=
"Left" action=
"Click">
408 <action name=
"Raise"/>
410 <mousebind button=
"Left" action=
"Drag">
411 <action name=
"Resize"/>
415 <context name=
"Client">
416 <mousebind button=
"Left" action=
"Press">
417 <action name=
"Focus"/>
419 <mousebind button=
"Middle" action=
"Press">
420 <action name=
"Focus"/>
422 <mousebind button=
"Right" action=
"Press">
423 <action name=
"Focus"/>
427 <context name=
"Icon">
428 <mousebind button=
"Left" action=
"Press">
429 <action name=
"Focus"/>
430 <action name=
"ShowMenu"><menu>client-menu
</menu></action>
432 <mousebind button=
"Right" action=
"Press">
433 <action name=
"Focus"/>
434 <action name=
"ShowMenu"><menu>client-menu
</menu></action>
438 <context name=
"AllDesktops">
439 <mousebind button=
"Left" action=
"Press">
440 <action name=
"Focus"/>
442 <mousebind button=
"Left" action=
"Click">
443 <action name=
"ToggleOmnipresent"/>
447 <context name=
"Shade">
448 <mousebind button=
"Left" action=
"Press">
449 <action name=
"Focus"/>
451 <mousebind button=
"Left" action=
"Click">
452 <action name=
"ToggleShade"/>
456 <context name=
"Iconify">
457 <mousebind button=
"Left" action=
"Press">
458 <action name=
"Focus"/>
460 <mousebind button=
"Left" action=
"Click">
461 <action name=
"Iconify"/>
465 <context name=
"Maximize">
466 <mousebind button=
"Left" action=
"Press">
467 <action name=
"Focus"/>
469 <mousebind button=
"Middle" action=
"Press">
470 <action name=
"Focus"/>
472 <mousebind button=
"Right" action=
"Press">
473 <action name=
"Focus"/>
475 <mousebind button=
"Left" action=
"Click">
476 <action name=
"ToggleMaximizeFull"/>
478 <mousebind button=
"Middle" action=
"Click">
479 <action name=
"ToggleMaximizeVert"/>
481 <mousebind button=
"Right" action=
"Click">
482 <action name=
"ToggleMaximizeHorz"/>
486 <context name=
"Close">
487 <mousebind button=
"Left" action=
"Press">
488 <action name=
"Focus"/>
490 <mousebind button=
"Left" action=
"Click">
491 <action name=
"Close"/>
495 <context name=
"Desktop">
496 <mousebind button=
"Up" action=
"Press">
497 <action name=
"DesktopPrevious"/>
499 <mousebind button=
"Down" action=
"Press">
500 <action name=
"DesktopNext"/>
503 <mousebind button=
"A-Up" action=
"Press">
504 <action name=
"DesktopPrevious"/>
506 <mousebind button=
"A-Down" action=
"Press">
507 <action name=
"DesktopNext"/>
509 <mousebind button=
"C-A-Up" action=
"Press">
510 <action name=
"DesktopPrevious"/>
512 <mousebind button=
"C-A-Down" action=
"Press">
513 <action name=
"DesktopNext"/>
516 <mousebind button=
"Left" action=
"Press">
517 <action name=
"Focus"/>
519 <mousebind button=
"Right" action=
"Press">
520 <action name=
"Focus"/>
524 <context name=
"Root">
526 <mousebind button=
"Middle" action=
"Press">
527 <action name=
"ShowMenu"><menu>client-list-combined-menu
</menu></action>
529 <mousebind button=
"Right" action=
"Press">
530 <action name=
"ShowMenu"><menu>root-menu
</menu></action>
534 <context name=
"MoveResize">
535 <mousebind button=
"Up" action=
"Press">
536 <action name=
"DesktopPrevious"/>
538 <mousebind button=
"Down" action=
"Press">
539 <action name=
"DesktopNext"/>
541 <mousebind button=
"A-Up" action=
"Press">
542 <action name=
"DesktopPrevious"/>
544 <mousebind button=
"A-Down" action=
"Press">
545 <action name=
"DesktopNext"/>
551 <!-- You can specify more than one menu file in here and they are all loaded,
552 just don't make menu ids clash or, well, it'll be kind of pointless -->
554 <!-- default menu file (or custom one in $HOME/.config/openbox/) -->
555 <file>menu.xml
</file>
556 <hideDelay>200</hideDelay>
558 <submenuShowDelay>100</submenuShowDelay>
559 <applicationIcons>yes
</applicationIcons>
564 # this is an example with comments through out. use these to make your
565 # own rules, but without the comments of course.
567 <application name="first element of window's WM_CLASS property (see xprop)"
568 class="second element of window's WM_CLASS property (see xprop)"
569 role="the window's WM_WINDOW_ROLE property (see xprop)">
570 # the name or the class can be set, or both. this is used to match
571 # windows when they appear. role can optionally be set as well, to
572 # further restrict your matches.
574 # the name, class, and role use simple wildcard matching such as those
575 # used by a shell. you can use * to match any characters and ? to match
576 # any single character.
578 # when multiple rules match a window, they will all be applied, in the
579 # order that they appear in this list
582 # each element can be left out or set to 'default' to specify to not
583 # change that attribute of the window
586 # enable or disable window decorations
589 # make the window shaded when it appears, or not
592 # the position is only used if both an x and y coordinate are provided
593 # (and not set to 'default')
595 # a number like 50, or 'center' to center on screen
597 # a number like 50, or 'center' to center on screen
599 # specifies the monitor in a xinerama setup.
600 # 1 is the first head, or 'mouse' for wherever the mouse is
604 # if the window should try be given focus when it appears. if this is set
605 # to yes it doesn't guarantee the window will be given focus. some
606 # restrictions may apply, but Openbox will try to
609 # 1 is the first desktop, 'all' for all desktops
611 <layer>normal</layer>
612 # 'above', 'normal', or 'below'
615 # make the window iconified when it appears, or not
617 <skip_pager>no</skip_pager>
618 # asks to not be shown in pagers
620 <skip_taskbar>no</skip_taskbar>
621 # asks to not be shown in taskbars. window cycling actions will also
622 # skip past such windows
624 <fullscreen>yes</fullscreen>
625 # make the window in fullscreen mode when it appears
627 <maximized>true</maximized>
628 # 'Horizontal', 'Vertical' or boolean (yes/no)