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' -->
36
<!-- whether to place windows in the center of the free area found or
37
the top left corner -->
38
<monitor>Active</monitor>
39
<!-- with Smart placement on a multi-monitor system, try to place new windows
40
on: 'Any' - any monitor, 'Mouse' - where the mouse is, 'Active' - where
41
the active window is -->
42
<primaryMonitor>1</primaryMonitor>
43
<!-- The monitor where Openbox should place popup dialogs such as the
44
focus cycling popup, or the desktop switch popup. It can be an index
45
from 1, specifying a particular monitor. Or it can be one of the
46
following: 'Mouse' - where the mouse is, or
47
'Active' - where the active window is -->
51
<name>Clearlooks</name>
52
<titleLayout>NLIMC</titleLayout>
54
available characters are NDSLIMC, each can occur at most once.
56
L: window label (AKA title).
60
S: shade (roll up/down)
61
D: omnipresent (on all desktops).
63
<keepBorder>yes</keepBorder>
64
<animateIconify>yes</animateIconify>
65
<font place="ActiveWindow">
68
<!-- font size in points -->
70
<!-- 'bold' or 'normal' -->
72
<!-- 'italic' or 'normal' -->
74
<font place="InactiveWindow">
77
<!-- font size in points -->
79
<!-- 'bold' or 'normal' -->
81
<!-- 'italic' or 'normal' -->
83
<font place="MenuHeader">
86
<!-- font size in points -->
87
<weight>normal</weight>
88
<!-- 'bold' or 'normal' -->
90
<!-- 'italic' or 'normal' -->
92
<font place="MenuItem">
95
<!-- font size in points -->
96
<weight>normal</weight>
97
<!-- 'bold' or 'normal' -->
99
<!-- 'italic' or 'normal' -->
101
<font place="OnScreenDisplay">
104
<!-- font size in points -->
105
<weight>bold</weight>
106
<!-- 'bold' or 'normal' -->
107
<slant>normal</slant>
108
<!-- 'italic' or 'normal' -->
113
<!-- this stuff is only used at startup, pagers allow you to change them
116
these are default values to use when other ones are not already set
117
by other applications, or saved in your session
119
use obconf if you want to change these without having to log out
122
<firstdesk>1</firstdesk>
124
<!-- set names up here if you want to, like this:
125
<name>desktop 1</name>
126
<name>desktop 2</name>
129
<popupTime>875</popupTime>
130
<!-- The number of milliseconds to show the popup for when switching
131
desktops. Set this to 0 to disable the popup. -->
135
<drawContents>yes</drawContents>
136
<popupShow>Nonpixel</popupShow>
137
<!-- 'Always', 'Never', or 'Nonpixel' (xterms and such) -->
138
<popupPosition>Center</popupPosition>
139
<!-- 'Center', 'Top', or 'Fixed' -->
141
<!-- these are used if popupPosition is set to 'Fixed' -->
144
<!-- positive number for distance from left edge, negative number for
145
distance from right edge, or 'Center' -->
147
<!-- positive number for distance from top edge, negative number for
148
distance from bottom edge, or 'Center' -->
149
</popupFixedPosition>
152
<!-- You can reserve a portion of your screen where windows will not cover when
153
they are maximized, or when they are initially placed.
154
Many programs reserve space automatically, but you can use this in other
164
<position>TopLeft</position>
165
<!-- (Top|Bottom)(Left|Right|)|Top|Bottom|Left|Right|Floating -->
166
<floatingX>0</floatingX>
167
<floatingY>0</floatingY>
168
<noStrut>no</noStrut>
169
<stacking>Above</stacking>
170
<!-- 'Above', 'Normal', or 'Below' -->
171
<direction>Vertical</direction>
172
<!-- 'Vertical' or 'Horizontal' -->
173
<autoHide>no</autoHide>
174
<hideDelay>300</hideDelay>
175
<!-- in milliseconds (1000 = 1 second) -->
176
<showDelay>300</showDelay>
177
<!-- in milliseconds (1000 = 1 second) -->
178
<moveButton>Middle</moveButton>
179
<!-- 'Left', 'Middle', 'Right' -->
183
<chainQuitKey>C-g</chainQuitKey>
185
<!-- Keybindings for desktop switching -->
186
<keybind key="C-A-Left">
187
<action name="DesktopLeft"><dialog>no</dialog><wrap>no</wrap></action>
189
<keybind key="C-A-Right">
190
<action name="DesktopRight"><dialog>no</dialog><wrap>no</wrap></action>
192
<keybind key="C-A-Up">
193
<action name="DesktopUp"><dialog>no</dialog><wrap>no</wrap></action>
195
<keybind key="C-A-Down">
196
<action name="DesktopDown"><dialog>no</dialog><wrap>no</wrap></action>
198
<keybind key="S-A-Left">
199
<action name="SendToDesktopLeft"><dialog>no</dialog><wrap>no</wrap></action>
201
<keybind key="S-A-Right">
202
<action name="SendToDesktopRight"><dialog>no</dialog><wrap>no</wrap></action>
204
<keybind key="S-A-Up">
205
<action name="SendToDesktopUp"><dialog>no</dialog><wrap>no</wrap></action>
207
<keybind key="S-A-Down">
208
<action name="SendToDesktopDown"><dialog>no</dialog><wrap>no</wrap></action>
211
<action name="Desktop"><desktop>1</desktop></action>
214
<action name="Desktop"><desktop>2</desktop></action>
217
<action name="Desktop"><desktop>3</desktop></action>
220
<action name="Desktop"><desktop>4</desktop></action>
223
<action name="ToggleShowDesktop"/>
226
<!-- Keybindings for windows -->
228
<action name="Close"/>
230
<keybind key="A-Escape">
231
<action name="Lower"/>
232
<action name="FocusToBottom"/>
233
<action name="Unfocus"/>
235
<keybind key="A-space">
236
<action name="ShowMenu"><menu>client-menu</menu></action>
239
<!-- Keybindings for window switching -->
240
<keybind key="A-Tab">
241
<action name="NextWindow"/>
243
<keybind key="A-S-Tab">
244
<action name="PreviousWindow"/>
246
<keybind key="C-A-Tab">
247
<action name="NextWindow">
248
<panels>yes</panels><desktop>yes</desktop>
252
<!-- Keybindings for running applications -->
254
<action name="Execute">
256
<enabled>true</enabled>
257
<name>Konqueror</name>
259
<command>kfmclient openProfile filemanagement</command>
265
<dragThreshold>8</dragThreshold>
266
<!-- number of pixels the mouse must move before a drag begins -->
267
<doubleClickTime>200</doubleClickTime>
268
<!-- in milliseconds (1000 = 1 second) -->
269
<screenEdgeWarpTime>400</screenEdgeWarpTime>
270
<!-- Time before changing desktops when the pointer touches the edge of the
271
screen while moving a window, in milliseconds (1000 = 1 second).
272
Set this to 0 to disable warping -->
274
<context name="Frame">
275
<mousebind button="A-Left" action="Press">
276
<action name="Focus"/>
277
<action name="Raise"/>
279
<mousebind button="A-Left" action="Click">
280
<action name="Unshade"/>
282
<mousebind button="A-Left" action="Drag">
283
<action name="Move"/>
286
<mousebind button="A-Right" action="Press">
287
<action name="Focus"/>
288
<action name="Raise"/>
289
<action name="Unshade"/>
291
<mousebind button="A-Right" action="Drag">
292
<action name="Resize"/>
295
<mousebind button="A-Middle" action="Press">
296
<action name="Lower"/>
297
<action name="FocusToBottom"/>
298
<action name="Unfocus"/>
301
<mousebind button="A-Up" action="Click">
302
<action name="DesktopPrevious"/>
304
<mousebind button="A-Down" action="Click">
305
<action name="DesktopNext"/>
307
<mousebind button="C-A-Up" action="Click">
308
<action name="DesktopPrevious"/>
310
<mousebind button="C-A-Down" action="Click">
311
<action name="DesktopNext"/>
313
<mousebind button="A-S-Up" action="Click">
314
<action name="SendToDesktopPrevious"/>
316
<mousebind button="A-S-Down" action="Click">
317
<action name="SendToDesktopNext"/>
321
<context name="Titlebar">
322
<mousebind button="Left" action="Press">
323
<action name="Focus"/>
324
<action name="Raise"/>
326
<mousebind button="Left" action="Drag">
327
<action name="Move"/>
329
<mousebind button="Left" action="DoubleClick">
330
<action name="ToggleMaximizeFull"/>
333
<mousebind button="Middle" action="Press">
334
<action name="Lower"/>
335
<action name="FocusToBottom"/>
336
<action name="Unfocus"/>
339
<mousebind button="Up" action="Click">
340
<action name="Shade"/>
341
<action name="FocusToBottom"/>
342
<action name="Unfocus"/>
343
<action name="Lower"/>
345
<mousebind button="Down" action="Click">
346
<action name="Unshade"/>
347
<action name="Raise"/>
350
<mousebind button="Right" action="Press">
351
<action name="Focus"/>
352
<action name="Raise"/>
353
<action name="ShowMenu"><menu>client-menu</menu></action>
358
<mousebind button="Left" action="Press">
359
<action name="Focus"/>
360
<action name="Raise"/>
361
<action name="Unshade"/>
363
<mousebind button="Left" action="Drag">
364
<action name="Resize"><edge>top</edge></action>
368
<context name="Left">
369
<mousebind button="Left" action="Press">
370
<action name="Focus"/>
371
<action name="Raise"/>
373
<mousebind button="Left" action="Drag">
374
<action name="Resize"><edge>left</edge></action>
377
<mousebind button="Right" action="Press">
378
<action name="Focus"/>
379
<action name="Raise"/>
380
<action name="ShowMenu"><menu>client-menu</menu></action>
384
<context name="Right">
385
<mousebind button="Left" action="Press">
386
<action name="Focus"/>
387
<action name="Raise"/>
389
<mousebind button="Left" action="Drag">
390
<action name="Resize"><edge>right</edge></action>
393
<mousebind button="Right" action="Press">
394
<action name="Focus"/>
395
<action name="Raise"/>
396
<action name="ShowMenu"><menu>client-menu</menu></action>
400
<context name="Bottom">
401
<mousebind button="Left" action="Press">
402
<action name="Focus"/>
403
<action name="Raise"/>
405
<mousebind button="Left" action="Drag">
406
<action name="Resize"><edge>bottom</edge></action>
409
<mousebind button="Middle" action="Press">
410
<action name="Lower"/>
411
<action name="FocusToBottom"/>
412
<action name="Unfocus"/>
415
<mousebind button="Right" action="Press">
416
<action name="Focus"/>
417
<action name="Raise"/>
418
<action name="ShowMenu"><menu>client-menu</menu></action>
422
<context name="BLCorner">
423
<mousebind button="Left" action="Press">
424
<action name="Focus"/>
425
<action name="Raise"/>
427
<mousebind button="Left" action="Drag">
428
<action name="Resize"/>
432
<context name="BRCorner">
433
<mousebind button="Left" action="Press">
434
<action name="Focus"/>
435
<action name="Raise"/>
437
<mousebind button="Left" action="Drag">
438
<action name="Resize"/>
442
<context name="TLCorner">
443
<mousebind button="Left" action="Press">
444
<action name="Focus"/>
445
<action name="Raise"/>
446
<action name="Unshade"/>
448
<mousebind button="Left" action="Drag">
449
<action name="Resize"/>
453
<context name="TRCorner">
454
<mousebind button="Left" action="Press">
455
<action name="Focus"/>
456
<action name="Raise"/>
457
<action name="Unshade"/>
459
<mousebind button="Left" action="Drag">
460
<action name="Resize"/>
464
<context name="Client">
465
<mousebind button="Left" action="Press">
466
<action name="Focus"/>
467
<action name="Raise"/>
469
<mousebind button="Middle" action="Press">
470
<action name="Focus"/>
471
<action name="Raise"/>
473
<mousebind button="Right" action="Press">
474
<action name="Focus"/>
475
<action name="Raise"/>
479
<context name="Icon">
480
<mousebind button="Left" action="Press">
481
<action name="Focus"/>
482
<action name="Raise"/>
483
<action name="Unshade"/>
484
<action name="ShowMenu"><menu>client-menu</menu></action>
486
<mousebind button="Right" action="Press">
487
<action name="Focus"/>
488
<action name="Raise"/>
489
<action name="ShowMenu"><menu>client-menu</menu></action>
493
<context name="AllDesktops">
494
<mousebind button="Left" action="Press">
495
<action name="Focus"/>
496
<action name="Raise"/>
497
<action name="Unshade"/>
499
<mousebind button="Left" action="Click">
500
<action name="ToggleOmnipresent"/>
504
<context name="Shade">
505
<mousebind button="Left" action="Press">
506
<action name="Focus"/>
507
<action name="Raise"/>
509
<mousebind button="Left" action="Click">
510
<action name="ToggleShade"/>
514
<context name="Iconify">
515
<mousebind button="Left" action="Press">
516
<action name="Focus"/>
517
<action name="Raise"/>
519
<mousebind button="Left" action="Click">
520
<action name="Iconify"/>
524
<context name="Maximize">
525
<mousebind button="Left" action="Press">
526
<action name="Focus"/>
527
<action name="Raise"/>
528
<action name="Unshade"/>
530
<mousebind button="Middle" action="Press">
531
<action name="Focus"/>
532
<action name="Raise"/>
533
<action name="Unshade"/>
535
<mousebind button="Right" action="Press">
536
<action name="Focus"/>
537
<action name="Raise"/>
538
<action name="Unshade"/>
540
<mousebind button="Left" action="Click">
541
<action name="ToggleMaximizeFull"/>
543
<mousebind button="Middle" action="Click">
544
<action name="ToggleMaximizeVert"/>
546
<mousebind button="Right" action="Click">
547
<action name="ToggleMaximizeHorz"/>
551
<context name="Close">
552
<mousebind button="Left" action="Press">
553
<action name="Focus"/>
554
<action name="Raise"/>
555
<action name="Unshade"/>
557
<mousebind button="Left" action="Click">
558
<action name="Close"/>
562
<context name="Desktop">
563
<mousebind button="Up" action="Click">
564
<action name="DesktopPrevious"/>
566
<mousebind button="Down" action="Click">
567
<action name="DesktopNext"/>
570
<mousebind button="A-Up" action="Click">
571
<action name="DesktopPrevious"/>
573
<mousebind button="A-Down" action="Click">
574
<action name="DesktopNext"/>
576
<mousebind button="C-A-Up" action="Click">
577
<action name="DesktopPrevious"/>
579
<mousebind button="C-A-Down" action="Click">
580
<action name="DesktopNext"/>
583
<mousebind button="Left" action="Press">
584
<action name="Focus"/>
585
<action name="Raise"/>
587
<mousebind button="Right" action="Press">
588
<action name="Focus"/>
589
<action name="Raise"/>
593
<context name="Root">
595
<mousebind button="Middle" action="Press">
596
<action name="ShowMenu"><menu>client-list-combined-menu</menu></action>
598
<mousebind button="Right" action="Press">
599
<action name="ShowMenu"><menu>root-menu</menu></action>
603
<context name="MoveResize">
604
<mousebind button="Up" action="Click">
605
<action name="DesktopPrevious"/>
607
<mousebind button="Down" action="Click">
608
<action name="DesktopNext"/>
610
<mousebind button="A-Up" action="Click">
611
<action name="DesktopPrevious"/>
613
<mousebind button="A-Down" action="Click">
614
<action name="DesktopNext"/>
620
<!-- You can specify more than one menu file in here and they are all loaded,
621
just don't make menu ids clash or, well, it'll be kind of pointless -->
623
<!-- default menu file (or custom one in $HOME/.config/openbox/) -->
624
<file>menu.xml</file>
625
<hideDelay>200</hideDelay>
626
<!-- if a press-release lasts longer than this setting (in milliseconds), the
627
menu is hidden again -->
629
<!-- center submenus vertically about the parent entry -->
630
<submenuShowDelay>100</submenuShowDelay>
631
<!-- time to delay before showing a submenu after hovering over the parent
633
if this is a negative value, then the delay is infinite and the
634
submenu will not be shown until it is clicked on -->
635
<submenuHideDelay>400</submenuHideDelay>
636
<!-- time to delay before hiding a submenu when selecting another
637
entry in parent menu -->
638
if this is a negative value, then the delay is infinite and the
639
submenu will not be hidden until a different submenu is opened -->
640
<applicationIcons>yes</applicationIcons>
641
<!-- controls if icons appear in the client-list-(combined-)menu -->
642
<manageDesktops>yes</manageDesktops>
643
<!-- show the manage desktops section in the client-list-(combined-)menu -->
648
# this is an example with comments through out. use these to make your
649
# own rules, but without the comments of course.
651
<application name="the window's _OB_APP_NAME property (see obxprop)"
652
class="the window's _OB_APP_CLASS property (see obxprop)"
653
role="the window's _OB_APP_ROLE property (see obxprop)"
654
type="the window's _OB_APP_TYPE property (see obxprob)..
655
(if unspecified, then it is 'dialog' for child windows)">
656
# you may set only one of name/class/role/type, or you may use more than one
657
# together to restrict your matches.
659
# the name, class, and role use simple wildcard matching such as those
660
# used by a shell. you can use * to match any characters and ? to match
661
# any single character.
663
# the type is one of: normal, dialog, splash, utility, menu, toolbar, dock,
666
# when multiple rules match a window, they will all be applied, in the
667
# order that they appear in this list
670
# each rule element can be left out or set to 'default' to specify to not
671
# change that attribute of the window
674
# enable or disable window decorations
677
# make the window shaded when it appears, or not
679
<position force="no">
680
# the position is only used if both an x and y coordinate are provided
681
# (and not set to 'default')
682
# when force is "yes", then the window will be placed here even if it
683
# says you want it placed elsewhere. this is to override buggy
684
# applications who refuse to behave
686
# a number like 50, or 'center' to center on screen. use a negative number
687
# to start from the right (or bottom for <y>), ie -50 is 50 pixels from the
688
# right edge (or bottom).
691
# specifies the monitor in a xinerama setup.
692
# 1 is the first head, or 'mouse' for wherever the mouse is
696
# if the window should try be given focus when it appears. if this is set
697
# to yes it doesn't guarantee the window will be given focus. some
698
# restrictions may apply, but Openbox will try to
701
# 1 is the first desktop, 'all' for all desktops
703
<layer>normal</layer>
704
# 'above', 'normal', or 'below'
707
# make the window iconified when it appears, or not
709
<skip_pager>no</skip_pager>
710
# asks to not be shown in pagers
712
<skip_taskbar>no</skip_taskbar>
713
# asks to not be shown in taskbars. window cycling actions will also
714
# skip past such windows
716
<fullscreen>yes</fullscreen>
717
# make the window in fullscreen mode when it appears
719
<maximized>true</maximized>
720
# 'Horizontal', 'Vertical' or boolean (yes/no)