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>Any</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 -->
46
<titleLayout>NLIMC</titleLayout>
48
available characters are NDSLIMC, each can occur at most once.
50
L: window label (AKA title).
54
S: shade (roll up/down)
55
D: omnipresent (on all desktops).
57
<keepBorder>yes</keepBorder>
58
<animateIconify>yes</animateIconify>
59
<font place="ActiveWindow">
62
<!-- font size in points -->
64
<!-- 'bold' or 'normal' -->
66
<!-- 'italic' or 'normal' -->
68
<font place="InactiveWindow">
71
<!-- font size in points -->
73
<!-- 'bold' or 'normal' -->
75
<!-- 'italic' or 'normal' -->
77
<font place="MenuHeader">
80
<!-- font size in points -->
81
<weight>normal</weight>
82
<!-- 'bold' or 'normal' -->
84
<!-- 'italic' or 'normal' -->
86
<font place="MenuItem">
89
<!-- font size in points -->
90
<weight>normal</weight>
91
<!-- 'bold' or 'normal' -->
93
<!-- 'italic' or 'normal' -->
95
<font place="OnScreenDisplay">
98
<!-- font size in points -->
100
<!-- 'bold' or 'normal' -->
101
<slant>normal</slant>
102
<!-- 'italic' or 'normal' -->
107
<!-- this stuff is only used at startup, pagers allow you to change them
110
these are default values to use when other ones are not already set
111
by other applications, or saved in your session
113
use obconf if you want to change these without having to log out
116
<firstdesk>1</firstdesk>
118
<!-- set names up here if you want to, like this:
119
<name>desktop 1</name>
120
<name>desktop 2</name>
123
<popupTime>875</popupTime>
124
<!-- The number of milliseconds to show the popup for when switching
125
desktops. Set this to 0 to disable the popup. -->
129
<drawContents>yes</drawContents>
130
<popupShow>Nonpixel</popupShow>
131
<!-- 'Always', 'Never', or 'Nonpixel' (xterms and such) -->
132
<popupPosition>Center</popupPosition>
133
<!-- 'Center', 'Top', or 'Fixed' -->
135
<!-- these are used if popupPosition is set to 'Fixed' -->
138
<!-- positive number for distance from left edge, negative number for
139
distance from right edge, or 'Center' -->
141
<!-- positive number for distance from top edge, negative number for
142
distance from bottom edge, or 'Center' -->
143
</popupFixedPosition>
146
<!-- You can reserve a portion of your screen where windows will not cover when
147
they are maximized, or when they are initially placed.
148
Many programs reserve space automatically, but you can use this in other
158
<position>TopLeft</position>
159
<!-- (Top|Bottom)(Left|Right|)|Top|Bottom|Left|Right|Floating -->
160
<floatingX>0</floatingX>
161
<floatingY>0</floatingY>
162
<noStrut>no</noStrut>
163
<stacking>Above</stacking>
164
<!-- 'Above', 'Normal', or 'Below' -->
165
<direction>Vertical</direction>
166
<!-- 'Vertical' or 'Horizontal' -->
167
<autoHide>no</autoHide>
168
<hideDelay>300</hideDelay>
169
<!-- in milliseconds (1000 = 1 second) -->
170
<showDelay>300</showDelay>
171
<!-- in milliseconds (1000 = 1 second) -->
172
<moveButton>Middle</moveButton>
173
<!-- 'Left', 'Middle', 'Right' -->
177
<chainQuitKey>C-g</chainQuitKey>
179
<!-- Keybindings for desktop switching -->
180
<keybind key="C-A-Left">
181
<action name="DesktopLeft"><dialog>no</dialog><wrap>no</wrap></action>
183
<keybind key="C-A-Right">
184
<action name="DesktopRight"><dialog>no</dialog><wrap>no</wrap></action>
186
<keybind key="C-A-Up">
187
<action name="DesktopUp"><dialog>no</dialog><wrap>no</wrap></action>
189
<keybind key="C-A-Down">
190
<action name="DesktopDown"><dialog>no</dialog><wrap>no</wrap></action>
192
<keybind key="S-A-Left">
193
<action name="SendToDesktopLeft"><dialog>no</dialog><wrap>no</wrap></action>
195
<keybind key="S-A-Right">
196
<action name="SendToDesktopRight"><dialog>no</dialog><wrap>no</wrap></action>
198
<keybind key="S-A-Up">
199
<action name="SendToDesktopUp"><dialog>no</dialog><wrap>no</wrap></action>
201
<keybind key="S-A-Down">
202
<action name="SendToDesktopDown"><dialog>no</dialog><wrap>no</wrap></action>
205
<action name="Desktop"><desktop>1</desktop></action>
208
<action name="Desktop"><desktop>2</desktop></action>
211
<action name="Desktop"><desktop>3</desktop></action>
214
<action name="Desktop"><desktop>4</desktop></action>
217
<action name="ToggleShowDesktop"/>
220
<keybind key="C-A-d">
221
<action name="ToggleShowDesktop"/>
224
<!-- Keybindings for windows -->
226
<action name="Close"/>
228
<keybind key="A-Escape">
229
<action name="Lower"/>
230
<action name="FocusToBottom"/>
231
<action name="Unfocus"/>
233
<keybind key="A-space">
234
<action name="ShowMenu"><menu>client-menu</menu></action>
237
<!-- Keybindings for window switching -->
238
<keybind key="A-Tab">
239
<action name="NextWindow"/>
241
<keybind key="A-S-Tab">
242
<action name="PreviousWindow"/>
244
<keybind key="C-A-Tab">
245
<action name="NextWindow">
246
<panels>yes</panels><desktop>yes</desktop>
250
<!-- Keybindings for running applications -->
252
<action name="Execute">
254
<enabled>true</enabled>
257
<command>pcmanfm</command>
261
<!--keybindings for LXPanel -->
263
<action name="Execute">
264
<command>lxpanelctl run</command>
269
<action name="Execute">
270
<command>lxpanelctl run</command>
274
<keybind key="C-Escape">
275
<action name="Execute">
276
<command>lxpanelctl menu</command>
281
<action name="ToggleFullscreen"/>
284
<!-- Launch Task Manager with Ctrl+Alt+Del -->
285
<keybind key="A-C-Delete">
286
<action name="Execute">
287
<command>xfce4-taskmanager</command>
295
<dragThreshold>8</dragThreshold>
296
<!-- number of pixels the mouse must move before a drag begins -->
297
<doubleClickTime>200</doubleClickTime>
298
<!-- in milliseconds (1000 = 1 second) -->
299
<screenEdgeWarpTime>400</screenEdgeWarpTime>
300
<!-- Time before changing desktops when the pointer touches the edge of the
301
screen while moving a window, in milliseconds (1000 = 1 second).
302
Set this to 0 to disable warping -->
304
<context name="Frame">
305
<mousebind button="A-Left" action="Press">
306
<action name="Focus"/>
307
<action name="Raise"/>
309
<mousebind button="A-Left" action="Click">
310
<action name="Unshade"/>
312
<mousebind button="A-Left" action="Drag">
313
<action name="Move"/>
316
<mousebind button="A-Right" action="Press">
317
<action name="Focus"/>
318
<action name="Raise"/>
319
<action name="Unshade"/>
321
<mousebind button="A-Right" action="Drag">
322
<action name="Resize"/>
325
<mousebind button="A-Middle" action="Press">
326
<action name="Lower"/>
327
<action name="FocusToBottom"/>
328
<action name="Unfocus"/>
331
<mousebind button="A-Up" action="Click">
332
<action name="DesktopPrevious"/>
334
<mousebind button="A-Down" action="Click">
335
<action name="DesktopNext"/>
337
<mousebind button="C-A-Up" action="Click">
338
<action name="DesktopPrevious"/>
340
<mousebind button="C-A-Down" action="Click">
341
<action name="DesktopNext"/>
343
<mousebind button="A-S-Up" action="Click">
344
<action name="SendToDesktopPrevious"/>
346
<mousebind button="A-S-Down" action="Click">
347
<action name="SendToDesktopNext"/>
351
<context name="Titlebar">
352
<mousebind button="Left" action="Press">
353
<action name="Focus"/>
354
<action name="Raise"/>
356
<mousebind button="Left" action="Drag">
357
<action name="Move"/>
359
<mousebind button="Left" action="DoubleClick">
360
<action name="ToggleMaximizeFull"/>
363
<mousebind button="Middle" action="Press">
364
<action name="Lower"/>
365
<action name="FocusToBottom"/>
366
<action name="Unfocus"/>
369
<mousebind button="Up" action="Click">
370
<action name="Shade"/>
371
<action name="FocusToBottom"/>
372
<action name="Unfocus"/>
373
<action name="Lower"/>
375
<mousebind button="Down" action="Click">
376
<action name="Unshade"/>
377
<action name="Raise"/>
380
<mousebind button="Right" action="Press">
381
<action name="Focus"/>
382
<action name="Raise"/>
383
<action name="ShowMenu"><menu>client-menu</menu></action>
388
<mousebind button="Left" action="Press">
389
<action name="Focus"/>
390
<action name="Raise"/>
391
<action name="Unshade"/>
393
<mousebind button="Left" action="Drag">
394
<action name="Resize"><edge>top</edge></action>
398
<context name="Left">
399
<mousebind button="Left" action="Press">
400
<action name="Focus"/>
401
<action name="Raise"/>
403
<mousebind button="Left" action="Drag">
404
<action name="Resize"><edge>left</edge></action>
408
<context name="Right">
409
<mousebind button="Left" action="Press">
410
<action name="Focus"/>
411
<action name="Raise"/>
413
<mousebind button="Left" action="Drag">
414
<action name="Resize"><edge>right</edge></action>
418
<context name="Bottom">
419
<mousebind button="Left" action="Press">
420
<action name="Focus"/>
421
<action name="Raise"/>
423
<mousebind button="Left" action="Drag">
424
<action name="Resize"><edge>bottom</edge></action>
427
<mousebind button="Middle" action="Press">
428
<action name="Lower"/>
429
<action name="FocusToBottom"/>
430
<action name="Unfocus"/>
433
<mousebind button="Right" action="Press">
434
<action name="Focus"/>
435
<action name="Raise"/>
436
<action name="ShowMenu"><menu>client-menu</menu></action>
440
<context name="BLCorner">
441
<mousebind button="Left" action="Press">
442
<action name="Focus"/>
443
<action name="Raise"/>
445
<mousebind button="Left" action="Drag">
446
<action name="Resize"/>
450
<context name="BRCorner">
451
<mousebind button="Left" action="Press">
452
<action name="Focus"/>
453
<action name="Raise"/>
455
<mousebind button="Left" action="Drag">
456
<action name="Resize"/>
460
<context name="TLCorner">
461
<mousebind button="Left" action="Press">
462
<action name="Focus"/>
463
<action name="Raise"/>
464
<action name="Unshade"/>
466
<mousebind button="Left" action="Drag">
467
<action name="Resize"/>
471
<context name="TRCorner">
472
<mousebind button="Left" action="Press">
473
<action name="Focus"/>
474
<action name="Raise"/>
475
<action name="Unshade"/>
477
<mousebind button="Left" action="Drag">
478
<action name="Resize"/>
482
<context name="Client">
483
<mousebind button="Left" action="Press">
484
<action name="Focus"/>
485
<action name="Raise"/>
487
<mousebind button="Middle" action="Press">
488
<action name="Focus"/>
489
<action name="Raise"/>
491
<mousebind button="Right" action="Press">
492
<action name="Focus"/>
493
<action name="Raise"/>
497
<context name="Icon">
498
<mousebind button="Left" action="Press">
499
<action name="Focus"/>
500
<action name="Raise"/>
501
<action name="Unshade"/>
502
<action name="ShowMenu"><menu>client-menu</menu></action>
504
<mousebind button="Right" action="Press">
505
<action name="Focus"/>
506
<action name="Raise"/>
507
<action name="ShowMenu"><menu>client-menu</menu></action>
511
<context name="AllDesktops">
512
<mousebind button="Left" action="Press">
513
<action name="Focus"/>
514
<action name="Raise"/>
515
<action name="Unshade"/>
517
<mousebind button="Left" action="Click">
518
<action name="ToggleOmnipresent"/>
522
<context name="Shade">
523
<mousebind button="Left" action="Press">
524
<action name="Focus"/>
525
<action name="Raise"/>
527
<mousebind button="Left" action="Click">
528
<action name="ToggleShade"/>
532
<context name="Iconify">
533
<mousebind button="Left" action="Press">
534
<action name="Focus"/>
535
<action name="Raise"/>
537
<mousebind button="Left" action="Click">
538
<action name="Iconify"/>
542
<context name="Maximize">
543
<mousebind button="Left" action="Press">
544
<action name="Focus"/>
545
<action name="Raise"/>
546
<action name="Unshade"/>
548
<mousebind button="Middle" action="Press">
549
<action name="Focus"/>
550
<action name="Raise"/>
551
<action name="Unshade"/>
553
<mousebind button="Right" action="Press">
554
<action name="Focus"/>
555
<action name="Raise"/>
556
<action name="Unshade"/>
558
<mousebind button="Left" action="Click">
559
<action name="ToggleMaximizeFull"/>
561
<mousebind button="Middle" action="Click">
562
<action name="ToggleMaximizeVert"/>
564
<mousebind button="Right" action="Click">
565
<action name="ToggleMaximizeHorz"/>
569
<context name="Close">
570
<mousebind button="Left" action="Press">
571
<action name="Focus"/>
572
<action name="Raise"/>
573
<action name="Unshade"/>
575
<mousebind button="Left" action="Click">
576
<action name="Close"/>
580
<context name="Desktop">
581
<mousebind button="Up" action="Click">
582
<action name="DesktopPrevious"/>
584
<mousebind button="Down" action="Click">
585
<action name="DesktopNext"/>
588
<mousebind button="A-Up" action="Click">
589
<action name="DesktopPrevious"/>
591
<mousebind button="A-Down" action="Click">
592
<action name="DesktopNext"/>
594
<mousebind button="C-A-Up" action="Click">
595
<action name="DesktopPrevious"/>
597
<mousebind button="C-A-Down" action="Click">
598
<action name="DesktopNext"/>
601
<mousebind button="Left" action="Press">
602
<action name="Focus"/>
603
<action name="Raise"/>
605
<mousebind button="Right" action="Press">
606
<action name="Focus"/>
607
<action name="Raise"/>
611
<context name="Root">
613
<mousebind button="Middle" action="Press">
614
<action name="ShowMenu"><menu>client-list-combined-menu</menu></action>
616
<mousebind button="Right" action="Press">
617
<action name="ShowMenu"><menu>root-menu</menu></action>
621
<context name="MoveResize">
622
<mousebind button="Up" action="Click">
623
<action name="DesktopPrevious"/>
625
<mousebind button="Down" action="Click">
626
<action name="DesktopNext"/>
628
<mousebind button="A-Up" action="Click">
629
<action name="DesktopPrevious"/>
631
<mousebind button="A-Down" action="Click">
632
<action name="DesktopNext"/>
638
<!-- You can specify more than one menu file in here and they are all loaded,
639
just don't make menu ids clash or, well, it'll be kind of pointless -->
641
<!-- default menu file (or custom one in $HOME/.config/openbox/) -->
642
<file>/usr/share/lubuntu/openbox/menu.xml</file>
643
<hideDelay>200</hideDelay>
644
<!-- if a press-release lasts longer than this setting (in milliseconds), the
645
menu is hidden again -->
647
<!-- center submenus vertically about the parent entry -->
648
<submenuShowDelay>100</submenuShowDelay>
649
<!-- this one is easy, time to delay before showing a submenu after hovering
650
over the parent entry -->
651
<applicationIcons>yes</applicationIcons>
652
<!-- controls if icons appear in the client-list-(combined-)menu -->
653
<manageDesktops>yes</manageDesktops>
654
<!-- show the manage desktops section in the client-list-(combined-)menu -->
659
# this is an example with comments through out. use these to make your
660
# own rules, but without the comments of course.
662
<application name="first element of window's WM_CLASS property (see xprop)"
663
class="second element of window's WM_CLASS property (see xprop)"
664
role="the window's WM_WINDOW_ROLE property (see xprop)">
665
# the name or the class can be set, or both. this is used to match
666
# windows when they appear. role can optionally be set as well, to
667
# further restrict your matches.
669
# the name, class, and role use simple wildcard matching such as those
670
# used by a shell. you can use * to match any characters and ? to match
671
# any single character.
673
# when multiple rules match a window, they will all be applied, in the
674
# order that they appear in this list
677
# each element can be left out or set to 'default' to specify to not
678
# change that attribute of the window
681
# enable or disable window decorations
684
# make the window shaded when it appears, or not
687
# the position is only used if both an x and y coordinate are provided
688
# (and not set to 'default')
690
# a number like 50, or 'center' to center on screen. use a negative number
691
# to start from the right (or bottom for <y>), ie -50 is 50 pixels from the
692
# right edge (or bottom).
695
# specifies the monitor in a xinerama setup.
696
# 1 is the first head, or 'mouse' for wherever the mouse is
700
# if the window should try be given focus when it appears. if this is set
701
# to yes it doesn't guarantee the window will be given focus. some
702
# restrictions may apply, but Openbox will try to
705
# 1 is the first desktop, 'all' for all desktops
707
<layer>normal</layer>
708
# 'above', 'normal', or 'below'
711
# make the window iconified when it appears, or not
713
<skip_pager>no</skip_pager>
714
# asks to not be shown in pagers
716
<skip_taskbar>no</skip_taskbar>
717
# asks to not be shown in taskbars. window cycling actions will also
718
# skip past such windows
720
<fullscreen>yes</fullscreen>
721
# make the window in fullscreen mode when it appears
723
<maximized>true</maximized>
724
# 'Horizontal', 'Vertical' or boolean (yes/no)