1
<?xml version="1.0" encoding="UTF-8"?>
2
<!-- Do not edit this file, it will be overwritten on install.
3
Copy the file to $HOME/.config/openbox/ instead. -->
4
<openbox_config xmlns="http://openbox.org/3.4/rc" xmlns:xi="http://www.w3.org/2001/XInclude">
6
<strength>10</strength>
7
<screen_edge_strength>20</screen_edge_strength>
10
<focusNew>yes</focusNew>
11
<!-- always try to focus new windows when they appear. other rules do
13
<followMouse>no</followMouse>
14
<!-- move focus to a window when you move the mouse into it -->
15
<focusLast>yes</focusLast>
16
<!-- focus the last used window when changing desktops, instead of the one
17
under the mouse pointer. when followMouse is enabled -->
18
<underMouse>no</underMouse>
19
<!-- move focus under the mouse, even when the mouse is not moving -->
20
<focusDelay>200</focusDelay>
21
<!-- when followMouse is enabled, the mouse must be inside the window for
22
this many milliseconds (1000 = 1 sec) before moving focus to it -->
23
<raiseOnFocus>no</raiseOnFocus>
24
<!-- when followMouse is enabled, and a window is given focus by moving the
25
mouse into it, also raise the window -->
28
<policy>Smart</policy>
29
<!-- 'Smart' or 'UnderMouse' -->
31
<!-- whether to place windows in the center of the free area found or
32
the top left corner -->
33
<monitor>Mouse</monitor>
34
<!-- with Smart placement on a multi-monitor system, try to place new windows
35
on: 'Any' - any monitor, 'Mouse' - where the mouse is, 'Active' - where
36
the active window is, 'Primary' - only on the primary monitor -->
37
<primaryMonitor>Mouse</primaryMonitor>
38
<!-- The monitor where Openbox should place popup dialogs such as the
39
focus cycling popup, or the desktop switch popup. It can be an index
40
from 1, specifying a particular monitor. Or it can be one of the
41
following: 'Mouse' - where the mouse is, or
42
'Active' - where the active window is -->
45
<name>Lubuntu-default</name>
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">
60
<name>Ubuntu Medium</name>
62
<!-- font size in points -->
64
<!-- 'bold' or 'normal' -->
66
<!-- 'italic' or 'normal' -->
68
<font place="InactiveWindow">
69
<name>Ubuntu Medium</name>
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="ActiveOnScreenDisplay">
96
<name>Ubuntu Medium</name>
98
<!-- font size in points -->
100
<!-- 'bold' or 'normal' -->
101
<slant>normal</slant>
102
<!-- 'italic' or 'normal' -->
104
<font place="InactiveOnScreenDisplay">
105
<name>Ubuntu Medium</name>
107
<!-- font size in points -->
108
<weight>bold</weight>
109
<!-- 'bold' or 'normal' -->
110
<slant>normal</slant>
111
<!-- 'italic' or 'normal' -->
115
<!-- this stuff is only used at startup, pagers allow you to change them
118
these are default values to use when other ones are not already set
119
by other applications, or saved in your session
121
use obconf if you want to change these without having to log out
124
<firstdesk>1</firstdesk>
126
<!-- set names up here if you want to, like this:
127
<name>desktop 1</name>
128
<name>desktop 2</name>
131
<popupTime>875</popupTime>
132
<!-- The number of milliseconds to show the popup for when switching
133
desktops. Set this to 0 to disable the popup. -->
136
<drawContents>no</drawContents>
137
<popupShow>Nonpixel</popupShow>
138
<!-- 'Always', 'Never', or 'Nonpixel' (xterms and such) -->
139
<popupPosition>Center</popupPosition>
140
<!-- 'Center', 'Top', or 'Fixed' -->
142
<!-- 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>
151
<!-- You can reserve a portion of your screen where windows will not cover when
152
they are maximized, or when they are initially placed.
153
Many programs reserve space automatically, but you can use this in other
162
<position>TopLeft</position>
163
<!-- (Top|Bottom)(Left|Right|)|Top|Bottom|Left|Right|Floating -->
164
<floatingX>0</floatingX>
165
<floatingY>0</floatingY>
166
<noStrut>no</noStrut>
167
<stacking>Above</stacking>
168
<!-- 'Above', 'Normal', or 'Below' -->
169
<direction>Vertical</direction>
170
<!-- 'Vertical' or 'Horizontal' -->
171
<autoHide>no</autoHide>
172
<hideDelay>300</hideDelay>
173
<!-- in milliseconds (1000 = 1 second) -->
174
<showDelay>300</showDelay>
175
<!-- in milliseconds (1000 = 1 second) -->
176
<moveButton>Middle</moveButton>
177
<!-- 'Left', 'Middle', 'Right' -->
180
<chainQuitKey>C-g</chainQuitKey>
181
<!-- Keybindings for desktop switching -->
182
<keybind key="C-A-Left">
183
<action name="GoToDesktop">
188
<keybind key="C-A-Right">
189
<action name="GoToDesktop">
194
<keybind key="C-A-Up">
195
<action name="GoToDesktop">
200
<keybind key="C-A-Down">
201
<action name="GoToDesktop">
206
<keybind key="S-A-Left">
207
<action name="SendToDesktop">
212
<keybind key="S-A-Right">
213
<action name="SendToDesktop">
218
<keybind key="S-A-Up">
219
<action name="SendToDesktop">
224
<keybind key="S-A-Down">
225
<action name="SendToDesktop">
231
<action name="GoToDesktop">
236
<action name="GoToDesktop">
241
<action name="GoToDesktop">
246
<action name="GoToDesktop">
251
<action name="ToggleShowDesktop"/>
253
<!-- Keybindings for windows -->
255
<action name="Close"/>
257
<keybind key="A-Escape">
258
<action name="Lower"/>
259
<action name="FocusToBottom"/>
260
<action name="Unfocus"/>
262
<keybind key="A-space">
263
<action name="ShowMenu">
264
<menu>client-menu</menu>
267
<!-- Take a screenshot of the current window with scrot when Alt+Print are pressed -->
268
<keybind key="A-Print">
269
<action name="Execute">
270
<command>scrot -u -b</command>
273
<!-- Keybindings for window switching -->
274
<keybind key="A-Tab">
275
<action name="NextWindow">
276
<dialog>icons</dialog>
278
<action name="Focus"/>
279
<action name="Raise"/>
280
<action name="Unshade"/>
284
<keybind key="A-S-Tab">
285
<action name="PreviousWindow">
287
<action name="Focus"/>
288
<action name="Raise"/>
289
<action name="Unshade"/>
293
<keybind key="C-A-Tab">
294
<action name="NextWindow">
296
<desktop>yes</desktop>
298
<action name="Focus"/>
299
<action name="Raise"/>
300
<action name="Unshade"/>
304
<!-- Keybindings for window switching with the arrow keys -->
305
<keybind key="W-S-Right">
306
<action name="DirectionalCycleWindows">
307
<direction>right</direction>
310
<keybind key="W-S-Left">
311
<action name="DirectionalCycleWindows">
312
<direction>left</direction>
315
<keybind key="W-S-Up">
316
<action name="DirectionalCycleWindows">
317
<direction>up</direction>
320
<keybind key="W-S-Down">
321
<action name="DirectionalCycleWindows">
322
<direction>down</direction>
325
<!-- Keybindings for window tiling -->
326
<keybind key="W-Left"> # HalfLeftScreen
327
<action name="UnmaximizeFull"/>
328
<action name="MoveResizeTo">
335
<keybind key="W-Right"> # HalfRightScreen
336
<action name="UnmaximizeFull"/>
337
<action name="MoveResizeTo">
344
<keybind key="W-Up"> # HalfUpperScreen
345
<action name="UnmaximizeFull"/>
346
<action name="MoveResizeTo">
353
<keybind key="W-Down"> # HalfLowerScreen
354
<action name="UnmaximizeFull"/>
355
<action name="MoveResizeTo">
362
<!-- Keybindings for running applications on Home + E -->
364
<action name="Execute">
366
<enabled>true</enabled>
369
<command>pcmanfm-qt</command>
372
<!-- Keybindings for running Run menu from Lxpanel on Home + R-->
374
<action name="Execute">
375
<command>lxpanelctl run</command>
379
<action name="Execute">
380
<command>lxpanelctl run</command>
383
<!-- Keybindings for running Menu from Lxpanel -->
385
<action name="Execute">
386
<command>lxpanelctl menu</command>
389
<keybind key="C-Escape">
390
<action name="Execute">
391
<command>lxpanelctl menu</command>
394
<!-- Keybindings to toggle fullscreen -->
396
<action name="ToggleFullscreen"/>
398
<!-- Launch task manager on Ctrl + Alt + Del-->
399
<keybind key="C-A-Delete">
400
<action name="Execute">
401
<command>lxtask</command>
404
<!-- Launch a terminal on Ctrl + Alt + T-->
405
<keybind key="C-A-T">
406
<action name="Execute">
407
<command>x-terminal-emulator</command>
410
<!-- Launch a filemanager on Ctrl + Alt + D-->
411
<keybind key="C-A-D">
412
<action name="Execute">
414
<enabled>true</enabled>
417
<command>pcmanfm-qt</command>
420
<!-- Lock the screen on Ctrl + Alt + l-->
421
<keybind key="C-A-l">
422
<action name="Execute">
423
<command>lxlock</command>
426
<!-- Keybinding for Volume management -->
427
<keybind key="XF86AudioRaiseVolume">
428
<action name="Execute">
429
<command>amixer -q sset Master 3%+ unmute</command>
432
<keybind key="XF86AudioLowerVolume">
433
<action name="Execute">
434
<command>amixer -q sset Master 3%- unmute</command>
437
<keybind key="XF86AudioMute">
438
<action name="Execute">
439
<command>amixer -q sset Master toggle</command>
442
<!-- Keybinding for terminal button-->
443
<keybind key="XF86WWW">
444
<action name="Execute">
445
<command>x-terminal-emulator</command>
448
<keybind key="XF86Terminal">
449
<action name="Execute">
450
<command>x-terminal-emulator</command>
453
<!-- Keybinding for calculator button-->
454
<keybind key="XF86Calculator">
455
<action name="Execute">
456
<command>galculator</command>
459
<!-- Keybinding for computer button-->
460
<keybind key="XF86MyComputer">
461
<action name="Execute">
462
<command>pcmanfm-qt</command>
465
<!-- Keybindings for Multimedia Keys and LCD Backlight (alternative when not using gnome-power-manager or xfce4-volumed) -->
467
<action name="Execute">
468
<command>sleep 2;xset dpms force off</command>
471
<keybind key="C-F10">
472
<action name="Execute">
473
<command>xbacklight -dec 10</command>
476
<keybind key="C-F11">
477
<action name="Execute">
478
<command>xbacklight -inc 10</command>
481
<!-- Launch scrot when Print is pressed -->
482
<keybind key="Print">
483
<action name="Execute">
484
<command>scrot</command>
487
<!-- Launch logout when push on the shutdown button -->
488
<keybind key="XF86PowerOff">
489
<action name="Execute">
490
<command>lxsession-default quit</command>
495
<dragThreshold>8</dragThreshold>
496
<!-- number of pixels the mouse must move before a drag begins -->
497
<doubleClickTime>200</doubleClickTime>
498
<!-- in milliseconds (1000 = 1 second) -->
499
<screenEdgeWarpTime>400</screenEdgeWarpTime>
500
<!-- Time before changing desktops when the pointer touches the edge of the
501
screen while moving a window, in milliseconds (1000 = 1 second).
502
Set this to 0 to disable warping -->
503
<screenEdgeWarpMouse>false</screenEdgeWarpMouse>
504
<!-- Set this to TRUE to move the mouse pointer across the desktop when
505
switching due to hitting the edge of the screen -->
506
<context name="Frame">
507
<mousebind button="A-Left" action="Press">
508
<action name="Focus"/>
509
<action name="Raise"/>
511
<mousebind button="A-Left" action="Click">
512
<action name="Unshade"/>
514
<mousebind button="A-Left" action="Drag">
515
<action name="Move"/>
517
<mousebind button="A-Right" action="Press">
518
<action name="Focus"/>
519
<action name="Raise"/>
520
<action name="Unshade"/>
522
<mousebind button="A-Right" action="Drag">
523
<action name="Resize"/>
525
<mousebind button="A-Middle" action="Press">
526
<action name="Lower"/>
527
<action name="FocusToBottom"/>
528
<action name="Unfocus"/>
530
<mousebind button="A-Up" action="Click">
531
<action name="GoToDesktop">
535
<mousebind button="A-Down" action="Click">
536
<action name="GoToDesktop">
540
<mousebind button="C-A-Up" action="Click">
541
<action name="GoToDesktop">
545
<mousebind button="C-A-Down" action="Click">
546
<action name="GoToDesktop">
550
<mousebind button="A-S-Up" action="Click">
551
<action name="SendToDesktop">
555
<mousebind button="A-S-Down" action="Click">
556
<action name="SendToDesktop">
561
<context name="Titlebar">
562
<mousebind button="Left" action="Drag">
563
<action name="Move"/>
565
<mousebind button="Left" action="DoubleClick">
566
<action name="ToggleMaximize"/>
568
<mousebind button="Up" action="Click">
572
<action name="Shade"/>
573
<action name="FocusToBottom"/>
574
<action name="Unfocus"/>
575
<action name="Lower"/>
579
<mousebind button="Down" action="Click">
583
<action name="Unshade"/>
584
<action name="Raise"/>
589
<context name="Titlebar Top Right Bottom Left TLCorner TRCorner BRCorner BLCorner">
590
<mousebind button="Left" action="Press">
591
<action name="Focus"/>
592
<action name="Raise"/>
593
<action name="Unshade"/>
595
<mousebind button="Middle" action="Press">
596
<action name="Lower"/>
597
<action name="FocusToBottom"/>
598
<action name="Unfocus"/>
600
<mousebind button="Right" action="Press">
601
<action name="Focus"/>
602
<action name="Raise"/>
603
<action name="ShowMenu">
604
<menu>client-menu</menu>
609
<mousebind button="Left" action="Drag">
610
<action name="Resize">
615
<context name="Left">
616
<mousebind button="Left" action="Drag">
617
<action name="Resize">
622
<context name="Right">
623
<mousebind button="Left" action="Drag">
624
<action name="Resize">
629
<context name="Bottom">
630
<mousebind button="Left" action="Drag">
631
<action name="Resize">
635
<mousebind button="Right" action="Press">
636
<action name="Focus"/>
637
<action name="Raise"/>
638
<action name="ShowMenu">
639
<menu>client-menu</menu>
643
<context name="TRCorner BRCorner TLCorner BLCorner">
644
<mousebind button="Left" action="Press">
645
<action name="Focus"/>
646
<action name="Raise"/>
647
<action name="Unshade"/>
649
<mousebind button="Left" action="Drag">
650
<action name="Resize"/>
653
<context name="Client">
654
<mousebind button="Left" action="Press">
655
<action name="Focus"/>
656
<action name="Raise"/>
658
<mousebind button="Middle" action="Press">
659
<action name="Focus"/>
660
<action name="Raise"/>
662
<mousebind button="Right" action="Press">
663
<action name="Focus"/>
664
<action name="Raise"/>
667
<context name="Icon">
668
<mousebind button="Left" action="Press">
669
<action name="Focus"/>
670
<action name="Raise"/>
671
<action name="Unshade"/>
672
<action name="ShowMenu">
673
<menu>client-menu</menu>
676
<mousebind button="Right" action="Press">
677
<action name="Focus"/>
678
<action name="Raise"/>
679
<action name="ShowMenu">
680
<menu>client-menu</menu>
684
<context name="AllDesktops">
685
<mousebind button="Left" action="Press">
686
<action name="Focus"/>
687
<action name="Raise"/>
688
<action name="Unshade"/>
690
<mousebind button="Left" action="Click">
691
<action name="ToggleOmnipresent"/>
694
<context name="Shade">
695
<mousebind button="Left" action="Press">
696
<action name="Focus"/>
697
<action name="Raise"/>
699
<mousebind button="Left" action="Click">
700
<action name="ToggleShade"/>
703
<context name="Iconify">
704
<mousebind button="Left" action="Press">
705
<action name="Focus"/>
706
<action name="Raise"/>
708
<mousebind button="Left" action="Click">
709
<action name="Iconify"/>
712
<context name="Maximize">
713
<mousebind button="Left" action="Press">
714
<action name="Focus"/>
715
<action name="Raise"/>
716
<action name="Unshade"/>
718
<mousebind button="Middle" action="Press">
719
<action name="Focus"/>
720
<action name="Raise"/>
721
<action name="Unshade"/>
723
<mousebind button="Right" action="Press">
724
<action name="Focus"/>
725
<action name="Raise"/>
726
<action name="Unshade"/>
728
<mousebind button="Left" action="Click">
729
<action name="ToggleMaximize"/>
731
<mousebind button="Middle" action="Click">
732
<action name="ToggleMaximize">
733
<direction>vertical</direction>
736
<mousebind button="Right" action="Click">
737
<action name="ToggleMaximize">
738
<direction>horizontal</direction>
742
<context name="Close">
743
<mousebind button="Left" action="Press">
744
<action name="Focus"/>
745
<action name="Raise"/>
746
<action name="Unshade"/>
748
<mousebind button="Left" action="Click">
749
<action name="Close"/>
752
<context name="Desktop">
753
<mousebind button="Up" action="Click">
754
<action name="GoToDesktop">
758
<mousebind button="Down" action="Click">
759
<action name="GoToDesktop">
763
<mousebind button="A-Up" action="Click">
764
<action name="GoToDesktop">
768
<mousebind button="A-Down" action="Click">
769
<action name="GoToDesktop">
773
<mousebind button="C-A-Up" action="Click">
774
<action name="GoToDesktop">
778
<mousebind button="C-A-Down" action="Click">
779
<action name="GoToDesktop">
783
<mousebind button="Left" action="Press">
784
<action name="Focus"/>
785
<action name="Raise"/>
787
<mousebind button="Right" action="Press">
788
<action name="Focus"/>
789
<action name="Raise"/>
792
<context name="Root">
794
<mousebind button="Middle" action="Press">
795
<action name="ShowMenu">
796
<menu>client-list-combined-menu</menu>
799
<mousebind button="Right" action="Press">
800
<action name="ShowMenu">
801
<menu>root-menu</menu>
805
<context name="MoveResize">
806
<mousebind button="Up" action="Click">
807
<action name="GoToDesktop">
811
<mousebind button="Down" action="Click">
812
<action name="GoToDesktop">
816
<mousebind button="A-Up" action="Click">
817
<action name="GoToDesktop">
821
<mousebind button="A-Down" action="Click">
822
<action name="GoToDesktop">
829
<!-- You can specify more than one menu file in here and they are all loaded,
830
just don't make menu ids clash or, well, it'll be kind of pointless -->
831
<!-- default menu file (or custom one in $HOME/.config/openbox/) -->
832
<file>/usr/share/lubuntu/openbox/qlubuntu-menu.xml</file>
833
<file>qlubuntu--menu.xml</file>
835
<hideDelay>200</hideDelay>
836
<!-- if a press-release lasts longer than this setting (in milliseconds), the
837
menu is hidden again -->
839
<!-- center submenus vertically about the parent entry -->
840
<submenuShowDelay>100</submenuShowDelay>
841
<!-- time to delay before showing a submenu after hovering over the parent
843
if this is a negative value, then the delay is infinite and the
844
submenu will not be shown until it is clicked on -->
845
<submenuHideDelay>400</submenuHideDelay>
846
<!-- time to delay before hiding a submenu when selecting another
848
if this is a negative value, then the delay is infinite and the
849
submenu will not be hidden until a different submenu is opened -->
850
<applicationIcons>yes</applicationIcons>
851
<!-- controls if icons appear in the client-list-(combined-)menu -->
852
<manageDesktops>yes</manageDesktops>
853
<!-- show the manage desktops section in the client-list-(combined-)menu -->
854
<showIcons>yes</showIcons>
855
<!-- show icons on the menu -->
859
# this is an example with comments through out. use these to make your
860
# own rules, but without the comments of course.
861
# you may use one or more of the name/class/role/title/type rules to specify
864
<application name="the window's _OB_APP_NAME property (see obxprop)"
865
class="the window's _OB_APP_CLASS property (see obxprop)"
866
role="the window's _OB_APP_ROLE property (see obxprop)"
867
title="the window's _OB_APP_TITLE property (see obxprop)"
868
type="the window's _OB_APP_TYPE property (see obxprob)..
869
(if unspecified, then it is 'dialog' for child windows)">
870
# you may set only one of name/class/role/title/type, or you may use more
871
# than one together to restrict your matches.
873
# the name, class, role, and title use simple wildcard matching such as those
874
# used by a shell. you can use * to match any characters and ? to match
875
# any single character.
877
# the type is one of: normal, dialog, splash, utility, menu, toolbar, dock,
880
# when multiple rules match a window, they will all be applied, in the
881
# order that they appear in this list
884
# each rule element can be left out or set to 'default' to specify to not
885
# change that attribute of the window
888
# enable or disable window decorations
891
# make the window shaded when it appears, or not
893
<position force="no">
894
# the position is only used if both an x and y coordinate are provided
895
# (and not set to 'default')
896
# when force is "yes", then the window will be placed here even if it
897
# says you want it placed elsewhere. this is to override buggy
898
# applications who refuse to behave
900
# a number like 50, or 'center' to center on screen. use a negative number
901
# to start from the right (or bottom for <y>), ie -50 is 50 pixels from the
902
# right edge (or bottom).
905
# specifies the monitor in a xinerama setup.
906
# 1 is the first head, or 'mouse' for wherever the mouse is
910
# if the window should try be given focus when it appears. if this is set
911
# to yes it doesn't guarantee the window will be given focus. some
912
# restrictions may apply, but Openbox will try to
915
# 1 is the first desktop, 'all' for all desktops
917
<layer>normal</layer>
918
# 'above', 'normal', or 'below'
921
# make the window iconified when it appears, or not
923
<skip_pager>no</skip_pager>
924
# asks to not be shown in pagers
926
<skip_taskbar>no</skip_taskbar>
927
# asks to not be shown in taskbars. window cycling actions will also
928
# skip past such windows
930
<fullscreen>yes</fullscreen>
931
# make the window in fullscreen mode when it appears
933
<maximized>true</maximized>
934
# 'Horizontal', 'Vertical' or boolean (yes/no)
939
<!-- Option to maximize all normal window when launched-->
941
<application type="normal">
942
<maximized>true</maximized>