-[resistance]
-
-# amount of resistance to provide at edges
-#strength=10
-
-# resistance against other windows
-#windows=true
-
-[placement]
-
-# place windows where they were last
-#remember = yes
-
-[focus]
-
-# focus new windows when they appear
-#focusNew = yes
-
-# does focus follow the mouse pointer
-#followMouse = yes
-
-[engine]
-
-# the theme engine to use
-#engine = "openbox"
-
-# the theme to display with the theme engine
-#theme = "operation"
-
-# the order of the elements in windows' titlebars
-# N - icon
-# D - alldesktops button
-# S - shade button
-# L - text label
-# I - iconify button
-# M - maximize button
-# C - close button
-#titlebarLayout = "NLIMC"
-
-# the font for the window titlebars
-#font.title = "arial-8:bold"
-
-# the drop shadow for the window titlebars
-#font.title.shadow = no
-
-# the offset of the drop shadow for the window titlebars
-#font.title.shadow.offset = 1
-
-# the amount of opacity of the drop shadow for the window titlebars
-# -100 - 0 = white shadow (0 clear, -100 solid)
-# 0 - 100 = black shadow (0 clear, 100 solid)
-#font.title.shadow.tint = 25
-
-[keyboard]
-
-#kbind (Key [Key...]) Action [Parameter]
-
-kbind (F12) execute "xterm"
-
-kbind (A-Left) PreviousDesktopWrap
-kbind (A-Right) NextDesktopWrap
-
-kbind (A-1) Desktop 1
-kbind (A-2) Desktop 2
-kbind (A-3) Desktop 3
-kbind (A-4) Desktop 4
-
-kbind (C-A-1) SendToDesktop 1
-kbind (C-A-2) SendToDesktop 2
-kbind (C-A-3) SendToDesktop 3
-kbind (C-A-4) SendToDesktop 4
-
-kbind (C-S-x x) ToggleMaximizeFull
-kbind (C-S-x Up) ToggleMaximizeVert
-kbind (C-S-x Right) ToggleMaximizeHorz
-
-kbind (C-A-Left) MoveRelativeHorz -3
-kbind (C-A-Right) MoveRelativeHorz 3
-kbind (C-A-Up) MoveRelativeVert -3
-kbind (C-A-Down) MoveRelativeVert 3
-
-kbind (A-F4) Close
-
-kbind (W-D) ToggleDecorations
-
-kbind (A-Tab) NextWindowLinear
-kbind (S-A-Tab) PreviousWindowLinear
-
-[mouse]
-
-# the distance a drag must go before it is recognized
-#dragThreshold = 3
-
-# the amount of time in milliseconds in which two clicks must occur to cause a
-# doubleclick event
-#doubleClickTime = 200
-
-#mbind Context Event Button Action [Parameter]
-
-mbind Titlebar Drag Left Move
-mbind Handle Drag Left Move
-mbind Frame Drag A-Left Move
-
-mbind BLCorner Drag Left Resize
-mbind BRCorner Drag Left Resize
-mbind Frame Drag A-Right Resize
-
-mbind Titlebar Click Left Raise
-mbind Titlebar Press Middle Lower
-mbind Handle Click Left Raise
-mbind Handle Press Middle Lower
-mbind Frame Click A-Left Raise
-mbind Frame Click A-Right Lower
-
-mbind Titlebar Press Left Focus
-mbind Handle Press Left Focus
-mbind BLCorner Press Left Focus
-mbind BRCorner Press Left Focus
-mbind Client Press Left Focus
-mbind Client Press Middle Focus
-
-mbind Titlebar DoubleClick Left ToggleShade
-mbind Titlebar Click Up Shade
-mbind Titlebar Click Down UnShade
-
-mbind Maximize Click Left ToggleMaximizeFull
-mbind Maximize Click Middle ToggleMaximizeVert
-mbind Maximize Click Right ToggleMaximizeHorz
-mbind Iconify Click Left Iconify
-mbind Icon DoubleClick Left Close
-mbind Close Click Left Close
-mbind Close Click Middle Kill
-mbind AllDesktops Click Left ToggleOmnipresent
-mbind Shade Click Left ToggleShade
-
-mbind Root Click Up NextDesktopWrap
-mbind Root Click Down PreviousDesktopWrap
-mbind Root Click A-Up NextDesktopWrap
-mbind Root Click A-Down PreviousDesktopWrap
-mbind Frame Click A-Up NextDesktopWrap
-mbind Frame Click A-Down PreviousDesktopWrap
-mbind Frame Click C-A-Up SendToNextDesktopWrap
-mbind Frame Click C-A-Down SendToPreviousDesktopWrap
-
-mbind Root Click Left execute "xterm"
+<?xml version="1.0"?>
+
+<!-- Do not edit this file, it will be overwritten on install. Copy the file
+ to $HOME/.openbox/ instead. -->
+
+<openbox_config>
+
+<resistance>
+ <strength>10</strength>
+ <screen_edge_strength>10</screen_edge_strength>
+</resistance>
+
+<placement>
+ <remember>yes</remember>
+</placement>
+
+<focus>
+ <focusNew>yes</focusNew>
+ <followMouse>no</followMouse>
+ <focusLast>yes</focusLast>
+ <focusLastOnDesktop>yes</focusLastOnDesktop>
+ <cyclingDialog>yes</cyclingDialog>
+</focus>
+
+<theme>
+ <theme>operation</theme>
+ <titlelayout>NLIMC</titlelayout>
+</theme>
+
+<desktops>
+ <number>4</number>
+ <names>
+ <name>one</name>
+ <name>two</name>
+ <name>three</name>
+ <name>four</name>
+ </names>
+ <cyclingDialog>yes</cyclingDialog>
+</desktops>
+
+<resize>
+ <drawContents>yes</drawContents>
+</resize>
+
+<dock>
+ <position>topleft</position>
+ <stacking>top</stacking>
+ <direction>vertical</direction>
+ <floatingX>0</floatingX>
+ <floatingY>0</floatingY>
+ <autoHide>no</autoHide>
+ <hideTimeout>300</hideTimeout>
+</dock>
+
+<keyboard>
+ <chainQuitKey>C-g</chainQuitKey>
+
+ <keybind key="A-F10">
+ <action name="MaximizeFull"></action>
+ </keybind>
+ <keybind key="A-F5">
+ <action name="UnmaximizeFull"></action>
+ </keybind>
+ <keybind key="A-F12">
+ <action name="ToggleShade"></action>
+ </keybind>
+ <keybind key="C-A-Left">
+ <action name="DesktopLeft"></action>
+ </keybind>
+ <keybind key="C-A-Right">
+ <action name="DesktopRight"></action>
+ </keybind>
+ <keybind key="C-A-Up">
+ <action name="DesktopUp"></action>
+ </keybind>
+ <keybind key="C-A-Down">
+ <action name="DesktopDown"></action>
+ </keybind>
+ <keybind key="S-A-Left">
+ <action name="SendToDesktopLeft"></action>
+ </keybind>
+ <keybind key="S-A-Right">
+ <action name="SendToDesktopRight"></action>
+ </keybind>
+ <keybind key="S-A-Up">
+ <action name="SendToDesktopUp"></action>
+ </keybind>
+ <keybind key="S-A-Down">
+ <action name="SendToDesktopDown"></action>
+ </keybind>
+ <keybind key="C-A-d">
+ <action name="ToggleShowDesktop"></action>
+ </keybind>
+ <keybind key="A-F4">
+ <action name="Close"></action>
+ </keybind>
+ <keybind key="A-Tab">
+ <action name="NextWindow"></action>
+ </keybind>
+ <keybind key="A-S-Tab">
+ <action name="PreviousWindow"></action>
+ </keybind>
+ <keybind key="A-F7">
+ <action name="KeyboardMove"></action>
+ </keybind>
+ <keybind key="A-F8">
+ <action name="KeyboardResize"></action>
+ </keybind>
+ <keybind key="A-F9">
+ <action name="Iconify"></action>
+ </keybind>
+</keyboard>
+
+<mouse>
+ <dragThreshold>3</dragThreshold>
+ <doubleClickTime>200</doubleClickTime>
+
+ <context name="frame">
+ <mousebind button="A-Left" action="drag">
+ <action name="move"/>
+ </mousebind>
+ <mousebind button="A-Left" action="click">
+ <action name="raise"/>
+ </mousebind>
+ <mousebind button="A-Left" action="press">
+ <action name="focus"/>
+ </mousebind>
+ <mousebind button="A-Middle" action="drag">
+ <action name="resize"/>
+ </mousebind>
+ <mousebind button="A-Middle" action="click">
+ <action name="lower"/>
+ </mousebind>
+ <mousebind button="A-Right" action="press">
+ <action name="showmenu"><menu>client-menu</menu></action>
+ </mousebind>
+ <mousebind button="A-Up" action="click">
+ <action name="desktopright"/>
+ </mousebind>
+ <mousebind button="A-Down" action="click">
+ <action name="desktopleft"/>
+ </mousebind>
+ <mousebind button="C-A-Up" action="click">
+ <action name="sendtodesktopright"/>
+ </mousebind>
+ <mousebind button="C-A-Down" action="click">
+ <action name="sendtodesktopleft"/>
+ </mousebind>
+ </context>
+ <context name="titlebar">
+ <mousebind button="Left" action="drag">
+ <action name="move"/>
+ </mousebind>
+ <mousebind button="Left" action="click">
+ <action name="raise"/>
+ </mousebind>
+ <mousebind button="Left" action="press">
+ <action name="focus"/>
+ </mousebind>
+ <mousebind button="Left" action="doubleclick">
+ <action name="toggleshade"/>
+ </mousebind>
+ <mousebind button="Middle" action="press">
+ <action name="lower"/>
+ </mousebind>
+ <mousebind button="Up" action="click">
+ <action name="shade"/>
+ </mousebind>
+ <mousebind button="Down" action="click">
+ <action name="unshade"/>
+ </mousebind>
+ <mousebind button="Right" action="press">
+ <action name="showmenu"><menu>client-menu</menu></action>
+ </mousebind>
+ </context>
+ <context name="handle">
+ <mousebind button="Left" action="drag">
+ <action name="move"/>
+ </mousebind>
+ <mousebind button="Left" action="click">
+ <action name="raise"/>
+ </mousebind>
+ <mousebind button="Left" action="press">
+ <action name="focus"/>
+ </mousebind>
+ <mousebind button="Middle" action="press">
+ <action name="lower"/>
+ </mousebind>
+ </context>
+ <context name="blcorner">
+ <mousebind button="Left" action="drag">
+ <action name="resize"/>
+ </mousebind>
+ <mousebind button="Left" action="press">
+ <action name="focus"/>
+ </mousebind>
+ </context>
+ <context name="brcorner">
+ <mousebind button="Left" action="drag">
+ <action name="resize"/>
+ </mousebind>
+ <mousebind button="Left" action="press">
+ <action name="focus"/>
+ </mousebind>
+ </context>
+ <context name="tlcorner">
+ <mousebind button="Left" action="drag">
+ <action name="resize"/>
+ </mousebind>
+ <mousebind button="Left" action="press">
+ <action name="focus"/>
+ </mousebind>
+ </context>
+ <context name="trcorner">
+ <mousebind button="Left" action="drag">
+ <action name="resize"/>
+ </mousebind>
+ <mousebind button="Left" action="press">
+ <action name="focus"/>
+ </mousebind>
+ </context>
+ <context name="client">
+ <mousebind button="Left" action="press">
+ <action name="focus"/>
+ <action name="raise"/>
+ </mousebind>
+ <mousebind button="Middle" action="press">
+ <action name="focus"/>
+ </mousebind>
+ <mousebind button="Right" action="press">
+ <action name="focus"/>
+ </mousebind>
+ </context>
+ <context name="icon">
+ <mousebind button="Left" action="press">
+ <action name="focus"/>
+ </mousebind>
+ <mousebind button="Right" action="press">
+ <action name="showmenu"><menu>client-menu</menu></action>
+ </mousebind>
+ <mousebind button="Left" action="click">
+ <action name="showmenu"><menu>client-menu</menu></action>
+ </mousebind>
+ <mousebind button="Left" action="doubleclick">
+ <action name="close"/>
+ </mousebind>
+ </context>
+ <context name="alldesktops">
+ <mousebind button="Left" action="press">
+ <action name="focus"/>
+ </mousebind>
+ <mousebind button="Left" action="click">
+ <action name="toggleomnipresent"/>
+ </mousebind>
+ </context>
+ <context name="shade">
+ <mousebind button="Left" action="press">
+ <action name="focus"/>
+ </mousebind>
+ <mousebind button="Left" action="click">
+ <action name="toggleshade"/>
+ </mousebind>
+ </context>
+ <context name="iconify">
+ <mousebind button="Left" action="press">
+ <action name="focus"/>
+ </mousebind>
+ <mousebind button="Left" action="click">
+ <action name="iconify"/>
+ </mousebind>
+ </context>
+ <context name="maximize">
+ <mousebind button="Left" action="press">
+ <action name="focus"/>
+ </mousebind>
+ <mousebind button="Middle" action="press">
+ <action name="focus"/>
+ </mousebind>
+ <mousebind button="Right" action="press">
+ <action name="focus"/>
+ </mousebind>
+ <mousebind button="Left" action="click">
+ <action name="togglemaximizefull"/>
+ </mousebind>
+ <mousebind button="Middle" action="click">
+ <action name="togglemaximizevert"/>
+ </mousebind>
+ <mousebind button="Right" action="click">
+ <action name="togglemaximizehorz"/>
+ </mousebind>
+ </context>
+ <context name="close">
+ <mousebind button="Left" action="press">
+ <action name="focus"/>
+ </mousebind>
+ <mousebind button="Left" action="click">
+ <action name="close"/>
+ </mousebind>
+ </context>
+ <context name="desktop">
+ <mousebind button="A-Up" action="click">
+ <action name="desktopright"/>
+ </mousebind>
+ <mousebind button="A-Down" action="click">
+ <action name="desktopleft"/>
+ </mousebind>
+ <mousebind button="Middle" action="press">
+ <action name="showmenu"><menu>client-list-menu</menu></action>
+ </mousebind>
+ <mousebind button="Right" action="press">
+ <action name="showmenu">
+ <menu>root-menu</menu>
+ </action>
+ </mousebind>
+ </context>
+</mouse>
+
+<menu>
+ <!-- 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/.openbox/) -->
+ <file>menu</file>
+
+ <!-- debian menu file -->
+ <file>/etc/X11/openbox/openbox-menu</file>
+</menu>
+
+</openbox_config>