@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Do not edit this file, it will be overwritten on install.
Copy the file to $HOME/.config/openbox/ instead. -->
<openbox_config xmlns= "http://openbox.org/3.4/rc" >
<openbox_config xmlns= "http://openbox.org/3.4/rc" xmlns:xi= "http://www.w3.org/2001/XInclude" >
<resistance >
<strength > 10</strength>
<screen_edge_strength > 20</screen_edge_strength>
@ -30,10 +30,16 @@
<center > yes</center>
<!-- whether to place windows in the center of the free area found or
the top left corner -->
<monitor > Any </monitor>
<monitor > Mouse </monitor>
<!-- with Smart placement on a multi - monitor system, try to place new windows
on: 'Any' - any monitor, 'Mouse' - where the mouse is, 'Active' - where
the active window is -->
the active window is, 'Primary' - only on the primary monitor -->
<primaryMonitor > Mouse</primaryMonitor>
<!-- The monitor where Openbox should place popup dialogs such as the
focus cycling popup, or the desktop switch popup. It can be an index
from 1, specifying a particular monitor. Or it can be one of the
following: 'Mouse' - where the mouse is, or
'Active' - where the active window is -->
</placement>
<theme >
<name > Lubuntu-default</name>
@ -86,7 +92,16 @@
<slant > normal</slant>
<!-- 'italic' or 'normal' -->
</font>
<font place= "OnScreenDisplay" >
<font place= "ActiveOnScreenDisplay" >
<name > Ubuntu Medium</name>
<size > 11</size>
<!-- font size in points -->
<weight > bold</weight>
<!-- 'bold' or 'normal' -->
<slant > normal</slant>
<!-- 'italic' or 'normal' -->
</font>
<font place= "InactiveOnScreenDisplay" >
<name > Ubuntu Medium</name>
<size > 11</size>
<!-- font size in points -->
@ -165,71 +180,71 @@
<chainQuitKey > C-g</chainQuitKey>
<!-- Keybindings for desktop switching -->
<keybind key= "C-A-Left" >
<action name= " DesktopLeft ">
< dialog> no</dialog >
<action name= " GoTo Desktop">
< to> left</to >
<wrap > no</wrap>
</action>
</keybind>
<keybind key= "C-A-Right" >
<action name= " DesktopRight ">
< dialog> no</dialog >
<action name= " GoTo Desktop">
< to> right</to >
<wrap > no</wrap>
</action>
</keybind>
<keybind key= "C-A-Up" >
<action name= " DesktopU p">
< dialog> no</dialog >
<action name= " GoTo Desktop">
< to> up</to >
<wrap > no</wrap>
</action>
</keybind>
<keybind key= "C-A-Down" >
<action name= " DesktopDown ">
< dialog> no</dialog >
<action name= " GoTo Desktop">
< to> down</to >
<wrap > no</wrap>
</action>
</keybind>
<keybind key= "S-A-Left" >
<action name= "SendToDesktop Left ">
< dialog> no</dialog >
<action name= "SendToDesktop ">
< to> left</to >
<wrap > no</wrap>
</action>
</keybind>
<keybind key= "S-A-Right" >
<action name= "SendToDesktop Right ">
< dialog> no</dialog >
<action name= "SendToDesktop ">
< to> right</to >
<wrap > no</wrap>
</action>
</keybind>
<keybind key= "S-A-Up" >
<action name= "SendToDesktop Up ">
< dialog> no</dialog >
<action name= "SendToDesktop ">
< to> up</to >
<wrap > no</wrap>
</action>
</keybind>
<keybind key= "S-A-Down" >
<action name= "SendToDesktop Down ">
< dialog> no</dialog >
<action name= "SendToDesktop ">
< to> down</to >
<wrap > no</wrap>
</action>
</keybind>
<keybind key= "W-F1" >
<action name= " Desktop">
< desk top > 1</ desk top >
<action name= " GoTo Desktop">
< to> 1</ to>
</action>
</keybind>
<keybind key= "W-F2" >
<action name= " Desktop">
< desk top > 2</ desk top >
<action name= " GoTo Desktop">
< to> 2</ to>
</action>
</keybind>
<keybind key= "W-F3" >
<action name= " Desktop">
< desk top > 3</ desk top >
<action name= " GoTo Desktop">
< to> 3</ to>
</action>
</keybind>
<keybind key= "W-F4" >
<action name= " Desktop">
< desk top > 4</ desk top >
<action name= " GoTo Desktop">
< to> 4</ to>
</action>
</keybind>
<keybind key= "W-d" >
@ -249,20 +264,64 @@
<menu > client-menu</menu>
</action>
</keybind>
<!-- Take a screenshot of the current window with scrot when Alt+Print are pressed -->
<keybind key= "A-Print" >
<action name= "Execute" >
<command > scrot -u -b</command>
</action>
</keybind>
<!-- Keybindings for window switching -->
<keybind key= "A-Tab" >
<action name= "NextWindow" />
<action name= "NextWindow" >
<finalactions >
<action name= "Focus" />
<action name= "Raise" />
<action name= "Unshade" />
</finalactions>
</action>
</keybind>
<keybind key= "A-S-Tab" >
<action name= "PreviousWindow" />
<action name= "PreviousWindow" >
<finalactions >
<action name= "Focus" />
<action name= "Raise" />
<action name= "Unshade" />
</finalactions>
</action>
</keybind>
<keybind key= "C-A-Tab" >
<action name= "NextWindow" >
<panels > yes</panels>
<desktop > yes</desktop>
<finalactions >
<action name= "Focus" />
<action name= "Raise" />
<action name= "Unshade" />
</finalactions>
</action>
</keybind>
<!-- Keybindings for window switching with the arrow keys -->
<keybind key= "W-S-Right" >
<action name= "DirectionalCycleWindows" >
<direction > right</direction>
</action>
</keybind>
<keybind key= "W-S-Left" >
<action name= "DirectionalCycleWindows" >
<direction > left</direction>
</action>
</keybind>
<keybind key= "W-S-Up" >
<action name= "DirectionalCycleWindows" >
<direction > up</direction>
</action>
</keybind>
<!-- Keybindings for running applications -->
<keybind key= "W-S-Down" >
<action name= "DirectionalCycleWindows" >
<direction > down</direction>
</action>
</keybind>
<!-- Keybindings for running applications on Home + E -->
<keybind key= "W-e" >
<action name= "Execute" >
<startupnotify >
@ -272,20 +331,21 @@
<command > pcmanfm</command>
</action>
</keybind>
<!-- keybindings for LXPanel -->
<!-- Keybindings for running Run menu from Lxpanel on Home + R -->
<keybind key= "W-r" >
<action name= "Execute" >
<command > lxpanelctl run</command>
</action>
</keybind>
<keybind key= "A-F 1 ">
<keybind key= "A-F 2 ">
<action name= "Execute" >
<command > lxpanelctl menu </command>
<command > lxpanelctl run </command>
</action>
</keybind>
<keybind key= "A-F2" >
<!-- Keybindings for running Menu from Lxpanel -->
<keybind key= "A-F1" >
<action name= "Execute" >
<command > lxpanelctl run </command>
<command > lxpanelctl menu </command>
</action>
</keybind>
<keybind key= "C-Escape" >
@ -303,25 +363,24 @@
<command > lxpanelctl menu</command>
</action>
</keybind>
<!-- Keybindings to toggle fullscreen -->
<keybind key= "F11" >
<action name= "ToggleFullscreen" />
</keybind>
<!-- Launch Task Manager with Ctrl+Alt+Del -->
<keybind key= " A- C-Delete">
<!-- Launch task manager on Ctrl + Alt + Del -->
<keybind key= " C-A -Delete">
<action name= "Execute" >
<command > lxtask</command>
</action>
</keybind>
<!-- Fast access to Terminal -->
<!-- Launch a terminal on Ctrl + Alt + T -->
<keybind key= "C-A-T" >
<action name= "Execute" >
<command > l xterminal</command>
<command > x- terminal-emulator </command>
</action>
</keybind>
<!-- Fast access to filemanager -->
<keybind key= "C-A-D" >
<!-- Launch a filemanager on Ctrl + Alt + D -->
<keybind key= "C-A-D" >
<action name= "Execute" >
<startupnotify >
<enabled > true</enabled>
@ -330,80 +389,67 @@
<command > pcmanfm</command>
</action>
</keybind>
<!-- Keybinding for PrintScreen Key -->
<keybind key= "Print" >
<!-- Keybinding for Volume management -->
<keybind key= "XF86AudioRaiseVolume" >
<action name= "Execute" >
<execute > scrot</execute >
<command > amixer -q sset Master 3%+</command >
</action>
</keybind>
<keybind key= "A-Print" >
<keybind key= "XF86AudioLowerVolume" >
<action name= "Execute" >
<execute > scrot -s</execute >
<command > amixer -q sset Master 3%-</command >
</action>
</keybind>
<!-- Keybinding for Volume management -->
<keybind key= "XF86AudioRaiseVolume" >
<action name= "Execute" >
<command > amixer -q sset Master 3%+</command>
</action>
</keybind>
<keybind key= "XF86AudioLowerVolume" >
<action name= "Execute" >
<command > amixer -q sset Master 3%-</command>
</action>
</keybind>
<keybind key= "XF86AudioMute" >
<action name= "Execute" >
<command > amixer -q sset Master toggle</command>
</action>
</keybind>
<keybind key= "XF86WWW" >
<action name= "Execute" >
<command > x-terminal-emulator</command>
</action>
</keybind>
<keybind key= "XF86Calculator" >
<action name= "Execute" >
<command > galculator</command>
</action>
</keybind>
<keybind key= "XF86MyComputer" >
<action name= "Execute" >
<command > pcmanfm</command>
</action>
</keybind>
<keybind key= "XF86Terminal" >
<action name= "Execute" >
<command > x-terminal-emulator</command>
</action>
</keybind>
<!-- Keybindings for Multimedia Keys and LCD Backlight (alternative when not using gnome - power - manager or xfce4 - volumed)
<keybind key= "C-F7" >
<keybind key= "XF86AudioLowerVolume" >
<action name= "Execute" >
< execute> sleep 2;xset dpms force off</execute >
<command > amixer -q sset Master toggle</command>
</action>
</keybind>
<keybind key= "C-F10" >
<!-- Keybinding for terminal button -->
<keybind key= "XF86WWW" >
<action name= "Execute" >
< execute> xbacklight -dec 10</execute >
<command > x-terminal-emulator</command>
</action>
</keybind>
<keybind key= "C-F11 ">
<keybind key= "XF86Terminal" >
<action name= "Execute" >
< execute> xbacklight -inc 10</execute >
<command > x-terminal-emulator</command>
</action>
</keybind> -->
</keybind>
<!-- Keybinding for calculator button -->
<keybind key= "XF86Calculator" >
<action name= "Execute" >
<command > galculator</command>
</action>
</keybind>
<!-- Keybinding for computer button -->
<keybind key= "XF86MyComputer" >
<action name= "Execute" >
<command > pcmanfm</command>
</action>
</keybind>
<!-- Keybindings for Multimedia Keys and LCD Backlight (alternative when not using gnome - power - manager or xfce4 - volumed) -->
<keybind key= "C-F7" >
<action name= "Execute" >
<command > sleep 2;xset dpms force off</command>
</action>
</keybind>
<keybind key= "C-F10" >
<action name= "Execute" >
<command > xbacklight -dec 10</command>
</action>
</keybind>
<keybind key= "C-F11" >
<action name= "Execute" >
<command > xbacklight -inc 10</command>
</action>
</keybind>
<!-- Launch scrot when Print is pressed -->
<keybind key= "Print" >
<action name= "Execute" >
<command > scrot</command>
</action>
</keybind>
</keyboard>
<mouse >
<dragThreshold > 8</dragThreshold>
@ -414,6 +460,9 @@
<!-- Time before changing desktops when the pointer touches the edge of the
screen while moving a window, in milliseconds (1000 = 1 second).
Set this to 0 to disable warping -->
<screenEdgeWarpMouse > false</screenEdgeWarpMouse>
<!-- Set this to TRUE to move the mouse pointer across the desktop when
switching due to hitting the edge of the screen -->
<context name= "Frame" >
<mousebind button= "A-Left" action= "Press" >
<action name= "Focus" />
@ -439,49 +488,74 @@
<action name= "Unfocus" />
</mousebind>
<mousebind button= "A-Up" action= "Click" >
<action name= "DesktopPrevious" />
<action name= "GoToDesktop" >
<to > previous</to>
</action>
</mousebind>
<mousebind button= "A-Down" action= "Click" >
<action name= "DesktopNext" />
<action name= "GoToDesktop" >
<to > next</to>
</action>
</mousebind>
<mousebind button= "C-A-Up" action= "Click" >
<action name= "DesktopPrevious" />
<action name= "GoToDesktop" >
<to > previous</to>
</action>
</mousebind>
<mousebind button= "C-A-Down" action= "Click" >
<action name= "DesktopNext" />
<action name= "GoToDesktop" >
<to > next</to>
</action>
</mousebind>
<mousebind button= "A-S-Up" action= "Click" >
<action name= "SendToDesktopPrevious" />
<action name= "SendToDesktop" >
<to > previous</to>
</action>
</mousebind>
<mousebind button= "A-S-Down" action= "Click" >
<action name= "SendToDesktopNext" />
<action name= "SendToDesktop" >
<to > next</to>
</action>
</mousebind>
</context>
<context name= "Titlebar" >
<mousebind button= "Left" action= "Press" >
<action name= "Focus" />
<action name= "Raise" />
</mousebind>
<mousebind button= "Left" action= "Drag" >
<action name= "Move" />
</mousebind>
<mousebind button= "Left" action= "DoubleClick" >
<action name= "ToggleMaximizeFull" />
</mousebind>
<mousebind button= "Middle" action= "Press" >
<action name= "Lower" />
<action name= "FocusToBottom" />
<action name= "Unfocus" />
<action name= "ToggleMaximize" />
</mousebind>
<mousebind button= "Up" action= "Click" >
<action name= "Shade" />
<action name= "FocusToBottom" />
<action name= "Unfocus" />
<action name= "Lower" />
<action name= "if" >
<shaded > no</shaded>
<then >
<action name= "Shade" />
<action name= "FocusToBottom" />
<action name= "Unfocus" />
<action name= "Lower" />
</then>
</action>
</mousebind>
<mousebind button= "Down" action= "Click" >
<action name= "Unshade" />
<action name= "if" >
<shaded > yes</shaded>
<then >
<action name= "Unshade" />
<action name= "Raise" />
</then>
</action>
</mousebind>
</context>
<context name= "Titlebar Top Right Bottom Left TLCorner TRCorner BRCorner BLCorner" >
<mousebind button= "Left" action= "Press" >
<action name= "Focus" />
<action name= "Raise" />
<action name= "Unshade" />
</mousebind>
<mousebind button= "Middle" action= "Press" >
<action name= "Lower" />
<action name= "FocusToBottom" />
<action name= "Unfocus" />
</mousebind>
<mousebind button= "Right" action= "Press" >
<action name= "Focus" />
@ -492,11 +566,6 @@
</mousebind>
</context>
<context name= "Top" >
<mousebind button= "Left" action= "Press" >
<action name= "Focus" />
<action name= "Raise" />
<action name= "Unshade" />
</mousebind>
<mousebind button= "Left" action= "Drag" >
<action name= "Resize" >
<edge > top</edge>
@ -504,10 +573,6 @@
</mousebind>
</context>
<context name= "Left" >
<mousebind button= "Left" action= "Press" >
<action name= "Focus" />
<action name= "Raise" />
</mousebind>
<mousebind button= "Left" action= "Drag" >
<action name= "Resize" >
<edge > left</edge>
@ -515,10 +580,6 @@
</mousebind>
</context>
<context name= "Right" >
<mousebind button= "Left" action= "Press" >
<action name= "Focus" />
<action name= "Raise" />
</mousebind>
<mousebind button= "Left" action= "Drag" >
<action name= "Resize" >
<edge > right</edge>
@ -526,20 +587,11 @@
</mousebind>
</context>
<context name= "Bottom" >
<mousebind button= "Left" action= "Press" >
<action name= "Focus" />
<action name= "Raise" />
</mousebind>
<mousebind button= "Left" action= "Drag" >
<action name= "Resize" >
<edge > bottom</edge>
</action>
</mousebind>
<mousebind button= "Middle" action= "Press" >
<action name= "Lower" />
<action name= "FocusToBottom" />
<action name= "Unfocus" />
</mousebind>
<mousebind button= "Right" action= "Press" >
<action name= "Focus" />
<action name= "Raise" />
@ -548,35 +600,7 @@
</action>
</mousebind>
</context>
<context name= "BLCorner" >
<mousebind button= "Left" action= "Press" >
<action name= "Focus" />
<action name= "Raise" />
</mousebind>
<mousebind button= "Left" action= "Drag" >
<action name= "Resize" />
</mousebind>
</context>
<context name= "BRCorner" >
<mousebind button= "Left" action= "Press" >
<action name= "Focus" />
<action name= "Raise" />
</mousebind>
<mousebind button= "Left" action= "Drag" >
<action name= "Resize" />
</mousebind>
</context>
<context name= "TLCorner" >
<mousebind button= "Left" action= "Press" >
<action name= "Focus" />
<action name= "Raise" />
<action name= "Unshade" />
</mousebind>
<mousebind button= "Left" action= "Drag" >
<action name= "Resize" />
</mousebind>
</context>
<context name= "TRCorner" >
<context name= "TRCorner BRCorner TLCorner BLCorner" >
<mousebind button= "Left" action= "Press" >
<action name= "Focus" />
<action name= "Raise" />
@ -662,13 +686,17 @@
<action name= "Unshade" />
</mousebind>
<mousebind button= "Left" action= "Click" >
<action name= "ToggleMaximize Full "/>
<action name= "ToggleMaximize "/>
</mousebind>
<mousebind button= "Middle" action= "Click" >
<action name= "ToggleMaximizeVert" />
<action name= "ToggleMaximize" >
<direction > vertical</direction>
</action>
</mousebind>
<mousebind button= "Right" action= "Click" >
<action name= "ToggleMaximizeHorz" />
<action name= "ToggleMaximize" >
<direction > horizontal</direction>
</action>
</mousebind>
</context>
<context name= "Close" >
@ -683,22 +711,34 @@
</context>
<context name= "Desktop" >
<mousebind button= "Up" action= "Click" >
<action name= "DesktopPrevious" />
<action name= "GoToDesktop" >
<to > previous</to>
</action>
</mousebind>
<mousebind button= "Down" action= "Click" >
<action name= "DesktopNext" />
<action name= "GoToDesktop" >
<to > next</to>
</action>
</mousebind>
<mousebind button= "A-Up" action= "Click" >
<action name= "DesktopPrevious" />
<action name= "GoToDesktop" >
<to > previous</to>
</action>
</mousebind>
<mousebind button= "A-Down" action= "Click" >
<action name= "DesktopNext" />
<action name= "GoToDesktop" >
<to > next</to>
</action>
</mousebind>
<mousebind button= "C-A-Up" action= "Click" >
<action name= "DesktopPrevious" />
<action name= "GoToDesktop" >
<to > previous</to>
</action>
</mousebind>
<mousebind button= "C-A-Down" action= "Click" >
<action name= "DesktopNext" />
<action name= "GoToDesktop" >
<to > next</to>
</action>
</mousebind>
<mousebind button= "Left" action= "Press" >
<action name= "Focus" />
@ -724,16 +764,24 @@
</context>
<context name= "MoveResize" >
<mousebind button= "Up" action= "Click" >
<action name= "DesktopPrevious" />
<action name= "GoToDesktop" >
<to > previous</to>
</action>
</mousebind>
<mousebind button= "Down" action= "Click" >
<action name= "DesktopNext" />
<action name= "GoToDesktop" >
<to > next</to>
</action>
</mousebind>
<mousebind button= "A-Up" action= "Click" >
<action name= "DesktopPrevious" />
<action name= "GoToDesktop" >
<to > previous</to>
</action>
</mousebind>
<mousebind button= "A-Down" action= "Click" >
<action name= "DesktopNext" />
<action name= "GoToDesktop" >
<to > next</to>
</action>
</mousebind>
</context>
</mouse>
@ -741,15 +789,24 @@
<!-- You can specify more than one menu file in here and they are all loaded,
just don't make menu ids clash or, well, it'll be kind of pointless -->
<!-- default menu file (or custom one in $HOME/.config/openbox/) -->
<!-- system menu files on Debian systems -->
<file > /usr/share/lubuntu/openbox/menu.xml</file>
<file > menu.xml</file>
<hideDelay > 200</hideDelay>
<!-- if a press - release lasts longer than this setting (in milliseconds), the
menu is hidden again -->
<middle > no</middle>
<!-- center submenus vertically about the parent entry -->
<submenuShowDelay > 100</submenuShowDelay>
<!-- this one is easy, time to delay before showing a submenu after hovering
over the parent entry -->
<!-- time to delay before showing a submenu after hovering over the parent
entry.
if this is a negative value, then the delay is infinite and the
submenu will not be shown until it is clicked on -->
<submenuHideDelay > 400</submenuHideDelay>
<!-- time to delay before hiding a submenu when selecting another
entry in parent menu
if this is a negative value, then the delay is infinite and the
submenu will not be hidden until a different submenu is opened -->
<applicationIcons > yes</applicationIcons>
<!-- controls if icons appear in the client - list - (combined - )menu -->
<manageDesktops > yes</manageDesktops>
@ -759,23 +816,30 @@
<!--
# this is an example with comments through out. use these to make your
# own rules, but without the comments of course.
<application name= "first element of window's WM_CLASS property (see xprop)"
class="second element of window's WM_CLASS property (see xprop)"
role="the window's WM_WINDOW_ROLE property (see xprop)">
# the name or the class can be set, or both. this is used to match
# windows when they appear. role can optionally be set as well, to
# further restrict your matches.
# the name, class, and role use simple wildcard matching such as those
# you may use one or more of the name/class/role/title/type rules to specify
# windows to match
<application name= "the window's _OB_APP_NAME property (see obxprop)"
class="the window's _OB_APP_CLASS property (see obxprop)"
role="the window's _OB_APP_ROLE property (see obxprop)"
title="the window's _OB_APP_TITLE property (see obxprop)"
type="the window's _OB_APP_TYPE property (see obxprob)..
(if unspecified, then it is 'dialog' for child windows)">
# you may set only one of name/class/role/title/type, or you may use more
# than one together to restrict your matches.
# the name, class, role, and title use simple wildcard matching such as those
# used by a shell. you can use * to match any characters and ? to match
# any single character.
# the type is one of: normal, dialog, splash, utility, menu, toolbar, dock,
# or desktop
# when multiple rules match a window, they will all be applied, in the
# order that they appear in this list
# each element can be left out or set to 'default' to specify to not
# each rule element can be left out or set to 'default' to specify to not
# change that attribute of the window
<decor > yes</decor>
@ -784,9 +848,12 @@
<shade > no</shade>
# make the window shaded when it appears, or not
<position >
<position force= "no" >
# the position is only used if both an x and y coordinate are provided
# (and not set to 'default')
# when force is "yes", then the window will be placed here even if it
# says you want it placed elsewhere. this is to override buggy
# applications who refuse to behave
<x > center</x>
# a number like 50, or 'center' to center on screen. use a negative number
# to start from the right (or bottom for <y > ), ie -50 is 50 pixels from the
@ -827,5 +894,18 @@
# end of the example
-->
<!-- Force focus on lxpanelctl, to workaround strange behavior of openbox
(see https://bugs.launchpad.net/bugs/889414)
-->
<application name= "lxpanel"
type="dialog">
<focus > yes</focus>
</application>
<!-- Option to maximize all normal window when launched -->
<application type= "normal" >
<maximized > true</maximized>
</application>
</applications>
</openbox_config>