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>no
</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"/>
195 <action name=
"FocusToBottom"/>
196 <action name=
"Unfocus"/>
198 <keybind key=
"A-space">
199 <action name=
"ShowMenu"><menu>client-menu
</menu></action>
202 <!-- Keybindings for window switching -->
203 <keybind key=
"A-Tab">
204 <action name=
"NextWindow"/>
206 <keybind key=
"A-S-Tab">
207 <action name=
"PreviousWindow"/>
209 <keybind key=
"C-A-Tab">
210 <action name=
"NextWindow">
211 <panels>yes
</panels><desktop>yes
</desktop>
215 <!-- Keybindings for running applications -->
217 <action name=
"Execute">
219 <enabled>true
</enabled>
220 <name>Konqueror
</name>
222 <execute>kfmclient openProfile filemanagement
</execute>
228 <dragThreshold>8</dragThreshold>
229 <!-- number of pixels the mouse must move before a drag begins -->
230 <doubleClickTime>200</doubleClickTime>
231 <!-- in milliseconds (1000 = 1 second) -->
233 <context name=
"Frame">
234 <mousebind button=
"A-Left" action=
"Press">
235 <action name=
"Focus"/>
236 <action name=
"Raise"/>
238 <mousebind button=
"A-Left" action=
"Click">
239 <action name=
"Unshade"/>
241 <mousebind button=
"A-Left" action=
"Drag">
242 <action name=
"Move"/>
245 <mousebind button=
"A-Right" action=
"Press">
246 <action name=
"Focus"/>
247 <action name=
"Raise"/>
248 <action name=
"Unshade"/>
250 <mousebind button=
"A-Right" action=
"Drag">
251 <action name=
"Resize"/>
254 <mousebind button=
"A-Middle" action=
"Press">
255 <action name=
"Lower"/>
256 <action name=
"FocusToBottom"/>
257 <action name=
"Unfocus"/>
260 <mousebind button=
"A-Up" action=
"Click">
261 <action name=
"DesktopPrevious"/>
263 <mousebind button=
"A-Down" action=
"Click">
264 <action name=
"DesktopNext"/>
266 <mousebind button=
"C-A-Up" action=
"Click">
267 <action name=
"DesktopPrevious"/>
269 <mousebind button=
"C-A-Down" action=
"Click">
270 <action name=
"DesktopNext"/>
272 <mousebind button=
"A-S-Up" action=
"Click">
273 <action name=
"SendToDesktopPrevious"/>
275 <mousebind button=
"A-S-Down" action=
"Click">
276 <action name=
"SendToDesktopNext"/>
280 <context name=
"Titlebar">
281 <mousebind button=
"Left" action=
"Press">
282 <action name=
"Focus"/>
283 <action name=
"Raise"/>
285 <mousebind button=
"Left" action=
"Click">
286 <action name=
"Unshade"/>
288 <mousebind button=
"Left" action=
"Drag">
289 <action name=
"Move"/>
291 <mousebind button=
"Left" action=
"DoubleClick">
292 <action name=
"ToggleMaximizeFull"/>
295 <mousebind button=
"Middle" action=
"Press">
296 <action name=
"Lower"/>
297 <action name=
"FocusToBottom"/>
298 <action name=
"Unfocus"/>
301 <mousebind button=
"Up" action=
"Click">
302 <action name=
"Shade"/>
303 <action name=
"FocusToBottom"/>
304 <action name=
"Unfocus"/>
306 <mousebind button=
"Down" action=
"Click">
307 <action name=
"Unshade"/>
310 <mousebind button=
"Right" action=
"Press">
311 <action name=
"Focus"/>
312 <action name=
"Raise"/>
313 <action name=
"ShowMenu"><menu>client-menu
</menu></action>
318 <mousebind button=
"Left" action=
"Press">
319 <action name=
"Focus"/>
320 <action name=
"Raise"/>
321 <action name=
"Unshade"/>
323 <mousebind button=
"Left" action=
"Drag">
324 <action name=
"Resize"><edge>top
</edge></action>
328 <context name=
"Left">
329 <mousebind button=
"Left" action=
"Press">
330 <action name=
"Focus"/>
331 <action name=
"Raise"/>
333 <mousebind button=
"Left" action=
"Drag">
334 <action name=
"Resize"><edge>left
</edge></action>
338 <context name=
"Right">
339 <mousebind button=
"Left" action=
"Press">
340 <action name=
"Focus"/>
341 <action name=
"Raise"/>
343 <mousebind button=
"Left" action=
"Drag">
344 <action name=
"Resize"><edge>right
</edge></action>
348 <context name=
"Bottom">
349 <mousebind button=
"Left" action=
"Press">
350 <action name=
"Focus"/>
351 <action name=
"Raise"/>
353 <mousebind button=
"Left" action=
"Drag">
354 <action name=
"Resize"><edge>bottom
</edge></action>
357 <mousebind button=
"Middle" action=
"Press">
358 <action name=
"Lower"/>
359 <action name=
"FocusToBottom"/>
360 <action name=
"Unfocus"/>
363 <mousebind button=
"Right" action=
"Press">
364 <action name=
"Focus"/>
365 <action name=
"Raise"/>
366 <action name=
"ShowMenu"><menu>client-menu
</menu></action>
370 <context name=
"BLCorner">
371 <mousebind button=
"Left" action=
"Press">
372 <action name=
"Focus"/>
373 <action name=
"Raise"/>
375 <mousebind button=
"Left" action=
"Drag">
376 <action name=
"Resize"/>
380 <context name=
"BRCorner">
381 <mousebind button=
"Left" action=
"Press">
382 <action name=
"Focus"/>
383 <action name=
"Raise"/>
385 <mousebind button=
"Left" action=
"Drag">
386 <action name=
"Resize"/>
390 <context name=
"TLCorner">
391 <mousebind button=
"Left" action=
"Press">
392 <action name=
"Focus"/>
393 <action name=
"Raise"/>
394 <action name=
"Unshade"/>
396 <mousebind button=
"Left" action=
"Drag">
397 <action name=
"Resize"/>
401 <context name=
"TRCorner">
402 <mousebind button=
"Left" action=
"Press">
403 <action name=
"Focus"/>
404 <action name=
"Raise"/>
405 <action name=
"Unshade"/>
407 <mousebind button=
"Left" action=
"Drag">
408 <action name=
"Resize"/>
412 <context name=
"Client">
413 <mousebind button=
"Left" action=
"Press">
414 <action name=
"Focus"/>
415 <action name=
"Raise"/>
417 <mousebind button=
"Middle" action=
"Press">
418 <action name=
"Focus"/>
419 <action name=
"Raise"/>
421 <mousebind button=
"Right" action=
"Press">
422 <action name=
"Focus"/>
423 <action name=
"Raise"/>
427 <context name=
"Icon">
428 <mousebind button=
"Left" action=
"Press">
429 <action name=
"Focus"/>
430 <action name=
"Raise"/>
431 <action name=
"Unshade"/>
432 <action name=
"ShowMenu"><menu>client-menu
</menu></action>
434 <mousebind button=
"Right" action=
"Press">
435 <action name=
"Focus"/>
436 <action name=
"Raise"/>
437 <action name=
"ShowMenu"><menu>client-menu
</menu></action>
441 <context name=
"AllDesktops">
442 <mousebind button=
"Left" action=
"Press">
443 <action name=
"Focus"/>
444 <action name=
"Raise"/>
445 <action name=
"Unshade"/>
447 <mousebind button=
"Left" action=
"Click">
448 <action name=
"ToggleOmnipresent"/>
452 <context name=
"Shade">
453 <mousebind button=
"Left" action=
"Press">
454 <action name=
"Focus"/>
455 <action name=
"Raise"/>
457 <mousebind button=
"Left" action=
"Click">
458 <action name=
"ToggleShade"/>
462 <context name=
"Iconify">
463 <mousebind button=
"Left" action=
"Press">
464 <action name=
"Focus"/>
465 <action name=
"Raise"/>
467 <mousebind button=
"Left" action=
"Click">
468 <action name=
"Iconify"/>
472 <context name=
"Maximize">
473 <mousebind button=
"Left" action=
"Press">
474 <action name=
"Focus"/>
475 <action name=
"Raise"/>
476 <action name=
"Unshade"/>
478 <mousebind button=
"Middle" action=
"Press">
479 <action name=
"Focus"/>
480 <action name=
"Raise"/>
481 <action name=
"Unshade"/>
483 <mousebind button=
"Right" action=
"Press">
484 <action name=
"Focus"/>
485 <action name=
"Raise"/>
486 <action name=
"Unshade"/>
488 <mousebind button=
"Left" action=
"Click">
489 <action name=
"ToggleMaximizeFull"/>
491 <mousebind button=
"Middle" action=
"Click">
492 <action name=
"ToggleMaximizeVert"/>
494 <mousebind button=
"Right" action=
"Click">
495 <action name=
"ToggleMaximizeHorz"/>
499 <context name=
"Close">
500 <mousebind button=
"Left" action=
"Press">
501 <action name=
"Focus"/>
502 <action name=
"Raise"/>
503 <action name=
"Unshade"/>
505 <mousebind button=
"Left" action=
"Click">
506 <action name=
"Close"/>
510 <context name=
"Desktop">
511 <mousebind button=
"Up" action=
"Press">
512 <action name=
"DesktopPrevious"/>
514 <mousebind button=
"Down" action=
"Press">
515 <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"/>
524 <mousebind button=
"C-A-Up" action=
"Press">
525 <action name=
"DesktopPrevious"/>
527 <mousebind button=
"C-A-Down" action=
"Press">
528 <action name=
"DesktopNext"/>
531 <mousebind button=
"Left" action=
"Press">
532 <action name=
"Focus"/>
533 <action name=
"Raise"/>
537 <context name=
"Root">
539 <mousebind button=
"Middle" action=
"Press">
540 <action name=
"ShowMenu"><menu>client-list-combined-menu
</menu></action>
542 <mousebind button=
"Right" action=
"Press">
543 <action name=
"ShowMenu"><menu>root-menu
</menu></action>
547 <context name=
"MoveResize">
548 <mousebind button=
"Up" action=
"Press">
549 <action name=
"DesktopPrevious"/>
551 <mousebind button=
"Down" action=
"Press">
552 <action name=
"DesktopNext"/>
554 <mousebind button=
"A-Up" action=
"Press">
555 <action name=
"DesktopPrevious"/>
557 <mousebind button=
"A-Down" action=
"Press">
558 <action name=
"DesktopNext"/>
564 <!-- You can specify more than one menu file in here and they are all loaded,
565 just don't make menu ids clash or, well, it'll be kind of pointless -->
567 <!-- default menu file (or custom one in $HOME/.config/openbox/) -->
568 <file>menu.xml
</file>
569 <hideDelay>200</hideDelay>
571 <submenuShowDelay>100</submenuShowDelay>
572 <applicationIcons>yes
</applicationIcons>
577 # this is an example with comments through out. use these to make your
578 # own rules, but without the comments of course.
580 <application name="first element of window's WM_CLASS property (see xprop)"
581 class="second element of window's WM_CLASS property (see xprop)"
582 role="the window's WM_WINDOW_ROLE property (see xprop)">
583 # the name or the class can be set, or both. this is used to match
584 # windows when they appear. role can optionally be set as well, to
585 # further restrict your matches.
587 # the name, class, and role use simple wildcard matching such as those
588 # used by a shell. you can use * to match any characters and ? to match
589 # any single character.
591 # when multiple rules match a window, they will all be applied, in the
592 # order that they appear in this list
595 # each element can be left out or set to 'default' to specify to not
596 # change that attribute of the window
599 # enable or disable window decorations
602 # make the window shaded when it appears, or not
605 # the position is only used if both an x and y coordinate are provided
606 # (and not set to 'default')
608 # a number like 50, or 'center' to center on screen
610 # a number like 50, or 'center' to center on screen
612 # specifies the monitor in a xinerama setup.
613 # 1 is the first head, or 'mouse' for wherever the mouse is
617 # if the window should try be given focus when it appears. if this is set
618 # to yes it doesn't guarantee the window will be given focus. some
619 # restrictions may apply, but Openbox will try to
622 # 1 is the first desktop, 'all' for all desktops
624 <layer>normal</layer>
625 # 'above', 'normal', or 'below'
628 # make the window iconified when it appears, or not
630 <skip_pager>no</skip_pager>
631 # asks to not be shown in pagers
633 <skip_taskbar>no</skip_taskbar>
634 # asks to not be shown in taskbars. window cycling actions will also
635 # skip past such windows
637 <fullscreen>yes</fullscreen>
638 # make the window in fullscreen mode when it appears
640 <maximized>true</maximized>
641 # 'Horizontal', 'Vertical' or boolean (yes/no)