wok-next rev 357

Now SliTaz have got a *box... Openbox (with obconf)
author Christophe Lincoln <pankso@slitaz.org>
date Fri Mar 07 16:23:33 2008 +0100 (2008-03-07)
parents f0063c72cc74
children 2b7d1b0c7352
files obconf/receipt openbox-dev/receipt openbox/receipt openbox/stuff/openbox/autostart.sh openbox/stuff/openbox/menu.xml openbox/stuff/openbox/rc.xml
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/obconf/receipt	Fri Mar 07 16:23:33 2008 +0100
     1.3 @@ -0,0 +1,32 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="obconf"
     1.7 +VERSION="2.0.3"
     1.8 +CATEGORY="x-window"
     1.9 +SHORT_DESC="Openbox WM configuration interface."
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +DEPENDS="openbox gtk+ libglade"
    1.12 +BUILD_DEPENDS="xorg-dev gtk+-dev libglade-dev"
    1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14 +WEB_SITE="http://icculus.org/openbox/"
    1.15 +WGET_URL="http://icculus.org/openbox/obconf/$TARBALL"
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +compile_rules()
    1.19 +{
    1.20 +	cd $src
    1.21 +	./configure \
    1.22 +		--prefix=/usr \
    1.23 +		$CONFIGURE_ARGS
    1.24 +	make
    1.25 +	make DESTDIR=$PWD/_pkg install
    1.26 +}
    1.27 +
    1.28 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.29 +genpkg_rules()
    1.30 +{
    1.31 +	mkdir -p $fs/usr/share
    1.32 +	cp -a $_pkg/usr/bin $fs/usr
    1.33 +	cp -a $_pkg/usr/share/obconf $fs/usr/share
    1.34 +	cp -a $_pkg/usr/share/mime $fs/usr/share
    1.35 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/openbox-dev/receipt	Fri Mar 07 16:23:33 2008 +0100
     2.3 @@ -0,0 +1,18 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="openbox-dev"
     2.7 +VERSION="3.4.6.1"
     2.8 +CATEGORY="development"
     2.9 +SHORT_DESC="Ob devel files."
    2.10 +MAINTAINER="pankso@slitaz.org"
    2.11 +WANTED="openbox"
    2.12 +WEB_SITE="http://icculus.org/openbox/"
    2.13 +
    2.14 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.15 +genpkg_rules()
    2.16 +{
    2.17 +	mkdir -p $fs/usr/lib
    2.18 +	cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
    2.19 +	cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
    2.20 +	cp -a $_pkg/usr/include $fs/usr
    2.21 +}
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/openbox/receipt	Fri Mar 07 16:23:33 2008 +0100
     3.3 @@ -0,0 +1,46 @@
     3.4 +# SliTaz package receipt.
     3.5 +
     3.6 +PACKAGE="openbox"
     3.7 +VERSION="3.4.6.1"
     3.8 +CATEGORY="x-window"
     3.9 +SHORT_DESC="Small-footprint and standard compliant Window Manager."
    3.10 +MAINTAINER="pankso@slitaz.org"
    3.11 +DEPENDS="startup-notification pango glib xorg-libX11"
    3.12 +SUGGESTED="obconf hsetroot"
    3.13 +BUILD_DEPENDS="xorg-dev pango-dev glib-dev startup-notification-dev"
    3.14 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    3.15 +WEB_SITE="http://icculus.org/openbox/"
    3.16 +WGET_URL="http://icculus.org/openbox/releases/$TARBALL"
    3.17 +
    3.18 +# Rules to configure and make the package.
    3.19 +compile_rules()
    3.20 +{
    3.21 +	cd $src
    3.22 +	chmod +x install-sh
    3.23 +	./configure \
    3.24 +		--prefix=/usr \
    3.25 +		--sysconfdir=/etc \
    3.26 +		--infodir=/usr/share/info \
    3.27 +		--mandir=/usr/share/man \
    3.28 +		$CONFIGURE_ARGS
    3.29 +	make
    3.30 +	make DESTDIR=$PWD/_pkg install
    3.31 +}
    3.32 +
    3.33 +# Rules to gen a SliTaz package suitable for Tazpkg.
    3.34 +genpkg_rules()
    3.35 +{
    3.36 +	mkdir -p $fs/usr/lib $fs/usr/share
    3.37 +	cp -a $_pkg/usr/bin $fs/usr
    3.38 +	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    3.39 +	cp -a $_pkg/usr/share/themes $fs/usr/share
    3.40 +	# We dont have GNOME or KDE
    3.41 +	rm $fs/usr/bin/openbox-gnome-session
    3.42 +	rm $fs/usr/bin/openbox-kde-session
    3.43 +	rm $fs/usr/bin/gnome-panel-control
    3.44 +	chmod 0755 $fs/usr/bin/openbox-session
    3.45 +	# Menu config and autostart script.
    3.46 +	mkdir -p $fs/etc/xdg
    3.47 +	cp -a stuff/openbox $fs/etc/xdg
    3.48 +	chown -R root.root $fs
    3.49 +}
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/openbox/stuff/openbox/autostart.sh	Fri Mar 07 16:23:33 2008 +0100
     4.3 @@ -0,0 +1,20 @@
     4.4 +# This shell script is run before Openbox launches.
     4.5 +# Environment variables set here are passed to the Openbox session.
     4.6 +
     4.7 +BG=/usr/share/images/slitaz-yellowshadow-1024x768.png
     4.8 +#BG=$HOME/Images/background.png
     4.9 +
    4.10 +# Set a background color usin hsetroot (depends on imlib2) or xsetroot.
    4.11 +if which hsetroot >/dev/null; then
    4.12 +	hsetroot -fill $BG &
    4.13 +else
    4.14 +	if which xsetroot >/dev/null; then
    4.15 +		xsetroot -solid "#222222" &
    4.16 +	fi
    4.17 +fi
    4.18 +
    4.19 +# Login sound.
    4.20 +alsaplayer -i text /usr/share/sounds/login.ogg || continue &
    4.21 +
    4.22 +# Start the panel.
    4.23 +lxpanel || continue &
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/openbox/stuff/openbox/menu.xml	Fri Mar 07 16:23:33 2008 +0100
     5.3 @@ -0,0 +1,76 @@
     5.4 +<?xml version="1.0" encoding="UTF-8"?>
     5.5 +
     5.6 +<openbox_menu xmlns="http://openbox.org/3.4/menu">
     5.7 +
     5.8 +<menu id="favorites-menu" label="Favorites">
     5.9 +  <item label="Terminal">
    5.10 +    <action name="Execute"><command>xterm</command></action>
    5.11 +  </item>
    5.12 +  <item label="Web Browser">
    5.13 +    <action name="Execute"><command>firefox</command></action>
    5.14 +  </item>
    5.15 +  <item label="Text Editor">
    5.16 +    <action name="Execute"><command>leafpad</command></action>
    5.17 +  </item>
    5.18 +  <item label="Images Viewer">
    5.19 +    <action name="Execute"><command>gpicview</command></action>
    5.20 +  </item>
    5.21 +</menu>
    5.22 +
    5.23 +<menu id="desktop-effects" label="Desktop Effects">
    5.24 +  <item label="Active minimum">
    5.25 +    <action name="Execute"><command>xcompmgr</command></action>
    5.26 +  </item>
    5.27 +  <item label="Active shadows">
    5.28 +    <action name="Execute"><command>xcompmgr -c</command></action>
    5.29 +  </item>
    5.30 +  <item label="Active shadows/fade">
    5.31 +    <action name="Execute"><command>xcompmgr -c -f</command></action>
    5.32 +  </item>
    5.33 +  <separator />
    5.34 +  <item label="Set opacity (actual)">
    5.35 +    <action name="Execute"><command>transset-df --actual --max 60</command></action>
    5.36 +  </item>
    5.37 +  <item label="Set opacity (click)">
    5.38 +    <action name="Execute"><command>transset-df --click --max 60</command></action>
    5.39 +  </item>
    5.40 +  <separator />
    5.41 +  <item label="Stop effects">
    5.42 +    <action name="Execute"><command>killall xcompmgr</command></action>
    5.43 +  </item>
    5.44 +</menu>
    5.45 +
    5.46 +<menu id="slitaz-live-menu" label="SliTaz Live">
    5.47 +  <item label="Tazlito LiveCD Tool">
    5.48 +    <action name="Execute"><command>subox tazlitobox</command></action>
    5.49 +  </item>
    5.50 +  <item label="TazUSB Writefs">
    5.51 +    <action name="Execute"><command>subox "xterm -e tazusb writefs"</command></action>
    5.52 +  </item>
    5.53 +</menu>
    5.54 +
    5.55 +<menu id="root-menu" label="Openbox 3">
    5.56 +  <separator label="SliTaz Openbox" />
    5.57 +  <item label="Home">
    5.58 +    <action name="Execute"><command>emelfm2 --one=~</command></action>
    5.59 +  </item>
    5.60 +  <menu id="favorites-menu" />
    5.61 +  <menu id="desktop-effects" />
    5.62 +  <menu id="slitaz-live-menu" />
    5.63 +  <menu id="client-list-menu" />
    5.64 +  <separator />
    5.65 +  <item label="ObConf">
    5.66 +    <action name="Execute">
    5.67 +      <startupnotify><enabled>yes</enabled><icon>openbox</icon></startupnotify>
    5.68 +      <command>obconf</command>
    5.69 +    </action>
    5.70 +  </item>
    5.71 +  <item label="Reconfigure">
    5.72 +    <action name="Reconfigure" />
    5.73 +  </item>
    5.74 +  <item label="Exit">
    5.75 +    <action name="Exit" />
    5.76 +  </item>
    5.77 +</menu>
    5.78 +
    5.79 +</openbox_menu>
     6.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.2 +++ b/openbox/stuff/openbox/rc.xml	Fri Mar 07 16:23:33 2008 +0100
     6.3 @@ -0,0 +1,699 @@
     6.4 +<?xml version="1.0" encoding="UTF-8"?>
     6.5 +<!-- Do not edit this file, it will be overwritten on install.
     6.6 +        Copy the file to $HOME/.config/openbox/ instead. -->
     6.7 +<openbox_config xmlns="http://openbox.org/3.4/rc">
     6.8 +  <resistance>
     6.9 +    <strength>10</strength>
    6.10 +    <screen_edge_strength>20</screen_edge_strength>
    6.11 +  </resistance>
    6.12 +  <focus>
    6.13 +    <focusNew>yes</focusNew>
    6.14 +    <!-- always try to focus new windows when they appear. other rules do
    6.15 +       apply -->
    6.16 +    <followMouse>no</followMouse>
    6.17 +    <!-- move focus to a window when you move the mouse into it -->
    6.18 +    <focusLast>yes</focusLast>
    6.19 +    <!-- focus the last used window when changing desktops, instead of the one
    6.20 +       under the mouse pointer. when followMouse is enabled -->
    6.21 +    <underMouse>no</underMouse>
    6.22 +    <!-- move focus under the mouse, even when the mouse is not moving -->
    6.23 +    <focusDelay>200</focusDelay>
    6.24 +    <!-- when followMouse is enabled, the mouse must be inside the window for
    6.25 +       this many milliseconds (1000 = 1 sec) before moving focus to it -->
    6.26 +    <raiseOnFocus>no</raiseOnFocus>
    6.27 +    <!-- when followMouse is enabled, and a window is given focus by moving the
    6.28 +       mouse into it, also raise the window -->
    6.29 +  </focus>
    6.30 +  <placement>
    6.31 +    <policy>Smart</policy>
    6.32 +    <!-- 'Smart' or 'UnderMouse' -->
    6.33 +    <center>yes</center>
    6.34 +    <!-- whether to place windows in the center of the free area found or
    6.35 +       the top left corner -->
    6.36 +    <monitor>Any</monitor>
    6.37 +    <!-- with Smart placement on a multi-monitor system, try to place new windows
    6.38 +       on: 'Any' - any monitor, 'Mouse' - where the mouse is, 'Active' - where
    6.39 +       the active window is -->
    6.40 +  </placement>
    6.41 +  <theme>
    6.42 +    <name>Ardoris</name>
    6.43 +    <titleLayout>NLIMC</titleLayout>
    6.44 +    <!--
    6.45 +      available characters are NDSLIMC, each can occur at most once.
    6.46 +      N: window icon
    6.47 +      L: window label (AKA title).
    6.48 +      I: iconify
    6.49 +      M: maximize
    6.50 +      C: close
    6.51 +      S: shade (roll up/down)
    6.52 +      D: omnipresent (on all desktops).
    6.53 +  -->
    6.54 +    <keepBorder>yes</keepBorder>
    6.55 +    <animateIconify>yes</animateIconify>
    6.56 +    <font place="ActiveWindow">
    6.57 +      <name>Sans</name>
    6.58 +      <size>10</size>
    6.59 +      <!-- font size in points -->
    6.60 +      <weight>Bold</weight>
    6.61 +      <!-- 'bold' or 'normal' -->
    6.62 +      <slant>Normal</slant>
    6.63 +      <!-- 'italic' or 'normal' -->
    6.64 +    </font>
    6.65 +    <font place="InactiveWindow">
    6.66 +      <name>Sans</name>
    6.67 +      <size>10</size>
    6.68 +      <!-- font size in points -->
    6.69 +      <weight>Bold</weight>
    6.70 +      <!-- 'bold' or 'normal' -->
    6.71 +      <slant>Normal</slant>
    6.72 +      <!-- 'italic' or 'normal' -->
    6.73 +    </font>
    6.74 +    <font place="MenuHeader">
    6.75 +      <name>Sans</name>
    6.76 +      <size>10</size>
    6.77 +      <!-- font size in points -->
    6.78 +      <weight>Normal</weight>
    6.79 +      <!-- 'bold' or 'normal' -->
    6.80 +      <slant>Normal</slant>
    6.81 +      <!-- 'italic' or 'normal' -->
    6.82 +    </font>
    6.83 +    <font place="MenuItem">
    6.84 +      <name>Sans</name>
    6.85 +      <size>10</size>
    6.86 +      <!-- font size in points -->
    6.87 +      <weight>Normal</weight>
    6.88 +      <!-- 'bold' or 'normal' -->
    6.89 +      <slant>Normal</slant>
    6.90 +      <!-- 'italic' or 'normal' -->
    6.91 +    </font>
    6.92 +    <font place="OnScreenDisplay">
    6.93 +      <name>sans</name>
    6.94 +      <size>9</size>
    6.95 +      <!-- font size in points -->
    6.96 +      <weight>bold</weight>
    6.97 +      <!-- 'bold' or 'normal' -->
    6.98 +      <slant>normal</slant>
    6.99 +      <!-- 'italic' or 'normal' -->
   6.100 +    </font>
   6.101 +  </theme>
   6.102 +  <desktops>
   6.103 +    <!-- this stuff is only used at startup, pagers allow you to change them
   6.104 +       during a session
   6.105 +
   6.106 +       these are default values to use when other ones are not already set
   6.107 +       by other applications, or saved in your session
   6.108 +
   6.109 +       use obconf if you want to change these without having to log out
   6.110 +       and back in -->
   6.111 +    <number>4</number>
   6.112 +    <firstdesk>1</firstdesk>
   6.113 +    <names>
   6.114 +      <!-- set names up here if you want to, like this:
   6.115 +    <name>desktop 1</name>
   6.116 +    <name>desktop 2</name>
   6.117 +    -->
   6.118 +    </names>
   6.119 +    <popupTime>875</popupTime>
   6.120 +    <!-- The number of milliseconds to show the popup for when switching
   6.121 +       desktops.  Set this to 0 to disable the popup. -->
   6.122 +  </desktops>
   6.123 +  <resize>
   6.124 +    <drawContents>yes</drawContents>
   6.125 +    <popupShow>Nonpixel</popupShow>
   6.126 +    <!-- 'Always', 'Never', or 'Nonpixel' (xterms and such) -->
   6.127 +    <popupPosition>Center</popupPosition>
   6.128 +    <!-- 'Center', 'Top', or 'Fixed' -->
   6.129 +    <popupFixedPosition>
   6.130 +      <!-- these are used if popupPosition is set to 'Fixed' -->
   6.131 +      <x>10</x>
   6.132 +      <!-- positive number for distance from left edge, negative number for
   6.133 +         distance from right edge, or 'Center' -->
   6.134 +      <y>10</y>
   6.135 +      <!-- positive number for distance from top edge, negative number for
   6.136 +         distance from bottom edge, or 'Center' -->
   6.137 +    </popupFixedPosition>
   6.138 +  </resize>
   6.139 +  <!-- You can reserve a portion of your screen where windows will not cover when
   6.140 +     they are maximized, or when they are initially placed.
   6.141 +     Many programs reserve space automatically, but you can use this in other
   6.142 +     cases. -->
   6.143 +  <margins>
   6.144 +    <top>0</top>
   6.145 +    <bottom>0</bottom>
   6.146 +    <left>0</left>
   6.147 +    <right>0</right>
   6.148 +  </margins>
   6.149 +  <dock>
   6.150 +    <position>TopLeft</position>
   6.151 +    <!-- (Top|Bottom)(Left|Right|)|Top|Bottom|Left|Right|Floating -->
   6.152 +    <floatingX>0</floatingX>
   6.153 +    <floatingY>0</floatingY>
   6.154 +    <noStrut>no</noStrut>
   6.155 +    <stacking>Above</stacking>
   6.156 +    <!-- 'Above', 'Normal', or 'Below' -->
   6.157 +    <direction>Vertical</direction>
   6.158 +    <!-- 'Vertical' or 'Horizontal' -->
   6.159 +    <autoHide>no</autoHide>
   6.160 +    <hideDelay>300</hideDelay>
   6.161 +    <!-- in milliseconds (1000 = 1 second) -->
   6.162 +    <showDelay>300</showDelay>
   6.163 +    <!-- in milliseconds (1000 = 1 second) -->
   6.164 +    <moveButton>Middle</moveButton>
   6.165 +    <!-- 'Left', 'Middle', 'Right' -->
   6.166 +  </dock>
   6.167 +  <keyboard>
   6.168 +    <chainQuitKey>C-g</chainQuitKey>
   6.169 +    <!-- Keybindings for desktop switching -->
   6.170 +    <keybind key="C-A-Left">
   6.171 +      <action name="DesktopLeft">
   6.172 +        <dialog>no</dialog>
   6.173 +        <wrap>no</wrap>
   6.174 +      </action>
   6.175 +    </keybind>
   6.176 +    <keybind key="C-A-Right">
   6.177 +      <action name="DesktopRight">
   6.178 +        <dialog>no</dialog>
   6.179 +        <wrap>no</wrap>
   6.180 +      </action>
   6.181 +    </keybind>
   6.182 +    <keybind key="C-A-Up">
   6.183 +      <action name="DesktopUp">
   6.184 +        <dialog>no</dialog>
   6.185 +        <wrap>no</wrap>
   6.186 +      </action>
   6.187 +    </keybind>
   6.188 +    <keybind key="C-A-Down">
   6.189 +      <action name="DesktopDown">
   6.190 +        <dialog>no</dialog>
   6.191 +        <wrap>no</wrap>
   6.192 +      </action>
   6.193 +    </keybind>
   6.194 +    <keybind key="S-A-Left">
   6.195 +      <action name="SendToDesktopLeft">
   6.196 +        <dialog>no</dialog>
   6.197 +        <wrap>no</wrap>
   6.198 +      </action>
   6.199 +    </keybind>
   6.200 +    <keybind key="S-A-Right">
   6.201 +      <action name="SendToDesktopRight">
   6.202 +        <dialog>no</dialog>
   6.203 +        <wrap>no</wrap>
   6.204 +      </action>
   6.205 +    </keybind>
   6.206 +    <keybind key="S-A-Up">
   6.207 +      <action name="SendToDesktopUp">
   6.208 +        <dialog>no</dialog>
   6.209 +        <wrap>no</wrap>
   6.210 +      </action>
   6.211 +    </keybind>
   6.212 +    <keybind key="S-A-Down">
   6.213 +      <action name="SendToDesktopDown">
   6.214 +        <dialog>no</dialog>
   6.215 +        <wrap>no</wrap>
   6.216 +      </action>
   6.217 +    </keybind>
   6.218 +    <keybind key="W-F1">
   6.219 +      <action name="Desktop">
   6.220 +        <desktop>1</desktop>
   6.221 +      </action>
   6.222 +    </keybind>
   6.223 +    <keybind key="W-F2">
   6.224 +      <action name="Desktop">
   6.225 +        <desktop>2</desktop>
   6.226 +      </action>
   6.227 +    </keybind>
   6.228 +    <keybind key="W-F3">
   6.229 +      <action name="Desktop">
   6.230 +        <desktop>3</desktop>
   6.231 +      </action>
   6.232 +    </keybind>
   6.233 +    <keybind key="W-F4">
   6.234 +      <action name="Desktop">
   6.235 +        <desktop>4</desktop>
   6.236 +      </action>
   6.237 +    </keybind>
   6.238 +    <keybind key="W-d">
   6.239 +      <action name="ToggleShowDesktop"/>
   6.240 +    </keybind>
   6.241 +    <!-- Keybindings for windows -->
   6.242 +    <keybind key="A-F4">
   6.243 +      <action name="Close"/>
   6.244 +    </keybind>
   6.245 +    <keybind key="A-Escape">
   6.246 +      <action name="Lower"/>
   6.247 +      <action name="FocusToBottom"/>
   6.248 +      <action name="Unfocus"/>
   6.249 +    </keybind>
   6.250 +    <keybind key="A-space">
   6.251 +      <action name="ShowMenu">
   6.252 +        <menu>client-menu</menu>
   6.253 +      </action>
   6.254 +    </keybind>
   6.255 +    <!-- Keybindings for window switching -->
   6.256 +    <keybind key="A-Tab">
   6.257 +      <action name="NextWindow"/>
   6.258 +    </keybind>
   6.259 +    <keybind key="A-S-Tab">
   6.260 +      <action name="PreviousWindow"/>
   6.261 +    </keybind>
   6.262 +    <keybind key="C-A-Tab">
   6.263 +      <action name="NextWindow">
   6.264 +        <panels>yes</panels>
   6.265 +        <desktop>yes</desktop>
   6.266 +      </action>
   6.267 +    </keybind>
   6.268 +    <!-- Keybindings for running applications -->
   6.269 +    <keybind key="W-e">
   6.270 +      <action name="Execute">
   6.271 +        <startupnotify>
   6.272 +          <enabled>true</enabled>
   6.273 +          <name>Konqueror</name>
   6.274 +        </startupnotify>
   6.275 +        <command>kfmclient openProfile filemanagement</command>
   6.276 +      </action>
   6.277 +    </keybind>
   6.278 +  </keyboard>
   6.279 +  <mouse>
   6.280 +    <dragThreshold>8</dragThreshold>
   6.281 +    <!-- number of pixels the mouse must move before a drag begins -->
   6.282 +    <doubleClickTime>200</doubleClickTime>
   6.283 +    <!-- in milliseconds (1000 = 1 second) -->
   6.284 +    <screenEdgeWarpTime>400</screenEdgeWarpTime>
   6.285 +    <!-- Time before changing desktops when the pointer touches the edge of the
   6.286 +       screen while moving a window, in milliseconds (1000 = 1 second).
   6.287 +       Set this to 0 to disable warping -->
   6.288 +    <context name="Frame">
   6.289 +      <mousebind button="A-Left" action="Press">
   6.290 +        <action name="Focus"/>
   6.291 +        <action name="Raise"/>
   6.292 +      </mousebind>
   6.293 +      <mousebind button="A-Left" action="Click">
   6.294 +        <action name="Unshade"/>
   6.295 +      </mousebind>
   6.296 +      <mousebind button="A-Left" action="Drag">
   6.297 +        <action name="Move"/>
   6.298 +      </mousebind>
   6.299 +      <mousebind button="A-Right" action="Press">
   6.300 +        <action name="Focus"/>
   6.301 +        <action name="Raise"/>
   6.302 +        <action name="Unshade"/>
   6.303 +      </mousebind>
   6.304 +      <mousebind button="A-Right" action="Drag">
   6.305 +        <action name="Resize"/>
   6.306 +      </mousebind>
   6.307 +      <mousebind button="A-Middle" action="Press">
   6.308 +        <action name="Lower"/>
   6.309 +        <action name="FocusToBottom"/>
   6.310 +        <action name="Unfocus"/>
   6.311 +      </mousebind>
   6.312 +      <mousebind button="A-Up" action="Click">
   6.313 +        <action name="DesktopPrevious"/>
   6.314 +      </mousebind>
   6.315 +      <mousebind button="A-Down" action="Click">
   6.316 +        <action name="DesktopNext"/>
   6.317 +      </mousebind>
   6.318 +      <mousebind button="C-A-Up" action="Click">
   6.319 +        <action name="DesktopPrevious"/>
   6.320 +      </mousebind>
   6.321 +      <mousebind button="C-A-Down" action="Click">
   6.322 +        <action name="DesktopNext"/>
   6.323 +      </mousebind>
   6.324 +      <mousebind button="A-S-Up" action="Click">
   6.325 +        <action name="SendToDesktopPrevious"/>
   6.326 +      </mousebind>
   6.327 +      <mousebind button="A-S-Down" action="Click">
   6.328 +        <action name="SendToDesktopNext"/>
   6.329 +      </mousebind>
   6.330 +    </context>
   6.331 +    <context name="Titlebar">
   6.332 +      <mousebind button="Left" action="Press">
   6.333 +        <action name="Focus"/>
   6.334 +        <action name="Raise"/>
   6.335 +      </mousebind>
   6.336 +      <mousebind button="Left" action="Drag">
   6.337 +        <action name="Move"/>
   6.338 +      </mousebind>
   6.339 +      <mousebind button="Left" action="DoubleClick">
   6.340 +        <action name="ToggleMaximizeFull"/>
   6.341 +      </mousebind>
   6.342 +      <mousebind button="Middle" action="Press">
   6.343 +        <action name="Lower"/>
   6.344 +        <action name="FocusToBottom"/>
   6.345 +        <action name="Unfocus"/>
   6.346 +      </mousebind>
   6.347 +      <mousebind button="Up" action="Click">
   6.348 +        <action name="Shade"/>
   6.349 +        <action name="FocusToBottom"/>
   6.350 +        <action name="Unfocus"/>
   6.351 +        <action name="Lower"/>
   6.352 +      </mousebind>
   6.353 +      <mousebind button="Down" action="Click">
   6.354 +        <action name="Unshade"/>
   6.355 +        <action name="Raise"/>
   6.356 +      </mousebind>
   6.357 +      <mousebind button="Right" action="Press">
   6.358 +        <action name="Focus"/>
   6.359 +        <action name="Raise"/>
   6.360 +        <action name="ShowMenu">
   6.361 +          <menu>client-menu</menu>
   6.362 +        </action>
   6.363 +      </mousebind>
   6.364 +    </context>
   6.365 +    <context name="Top">
   6.366 +      <mousebind button="Left" action="Press">
   6.367 +        <action name="Focus"/>
   6.368 +        <action name="Raise"/>
   6.369 +        <action name="Unshade"/>
   6.370 +      </mousebind>
   6.371 +      <mousebind button="Left" action="Drag">
   6.372 +        <action name="Resize">
   6.373 +          <edge>top</edge>
   6.374 +        </action>
   6.375 +      </mousebind>
   6.376 +    </context>
   6.377 +    <context name="Left">
   6.378 +      <mousebind button="Left" action="Press">
   6.379 +        <action name="Focus"/>
   6.380 +        <action name="Raise"/>
   6.381 +      </mousebind>
   6.382 +      <mousebind button="Left" action="Drag">
   6.383 +        <action name="Resize">
   6.384 +          <edge>left</edge>
   6.385 +        </action>
   6.386 +      </mousebind>
   6.387 +    </context>
   6.388 +    <context name="Right">
   6.389 +      <mousebind button="Left" action="Press">
   6.390 +        <action name="Focus"/>
   6.391 +        <action name="Raise"/>
   6.392 +      </mousebind>
   6.393 +      <mousebind button="Left" action="Drag">
   6.394 +        <action name="Resize">
   6.395 +          <edge>right</edge>
   6.396 +        </action>
   6.397 +      </mousebind>
   6.398 +    </context>
   6.399 +    <context name="Bottom">
   6.400 +      <mousebind button="Left" action="Press">
   6.401 +        <action name="Focus"/>
   6.402 +        <action name="Raise"/>
   6.403 +      </mousebind>
   6.404 +      <mousebind button="Left" action="Drag">
   6.405 +        <action name="Resize">
   6.406 +          <edge>bottom</edge>
   6.407 +        </action>
   6.408 +      </mousebind>
   6.409 +      <mousebind button="Middle" action="Press">
   6.410 +        <action name="Lower"/>
   6.411 +        <action name="FocusToBottom"/>
   6.412 +        <action name="Unfocus"/>
   6.413 +      </mousebind>
   6.414 +      <mousebind button="Right" action="Press">
   6.415 +        <action name="Focus"/>
   6.416 +        <action name="Raise"/>
   6.417 +        <action name="ShowMenu">
   6.418 +          <menu>client-menu</menu>
   6.419 +        </action>
   6.420 +      </mousebind>
   6.421 +    </context>
   6.422 +    <context name="BLCorner">
   6.423 +      <mousebind button="Left" action="Press">
   6.424 +        <action name="Focus"/>
   6.425 +        <action name="Raise"/>
   6.426 +      </mousebind>
   6.427 +      <mousebind button="Left" action="Drag">
   6.428 +        <action name="Resize"/>
   6.429 +      </mousebind>
   6.430 +    </context>
   6.431 +    <context name="BRCorner">
   6.432 +      <mousebind button="Left" action="Press">
   6.433 +        <action name="Focus"/>
   6.434 +        <action name="Raise"/>
   6.435 +      </mousebind>
   6.436 +      <mousebind button="Left" action="Drag">
   6.437 +        <action name="Resize"/>
   6.438 +      </mousebind>
   6.439 +    </context>
   6.440 +    <context name="TLCorner">
   6.441 +      <mousebind button="Left" action="Press">
   6.442 +        <action name="Focus"/>
   6.443 +        <action name="Raise"/>
   6.444 +        <action name="Unshade"/>
   6.445 +      </mousebind>
   6.446 +      <mousebind button="Left" action="Drag">
   6.447 +        <action name="Resize"/>
   6.448 +      </mousebind>
   6.449 +    </context>
   6.450 +    <context name="TRCorner">
   6.451 +      <mousebind button="Left" action="Press">
   6.452 +        <action name="Focus"/>
   6.453 +        <action name="Raise"/>
   6.454 +        <action name="Unshade"/>
   6.455 +      </mousebind>
   6.456 +      <mousebind button="Left" action="Drag">
   6.457 +        <action name="Resize"/>
   6.458 +      </mousebind>
   6.459 +    </context>
   6.460 +    <context name="Client">
   6.461 +      <mousebind button="Left" action="Press">
   6.462 +        <action name="Focus"/>
   6.463 +        <action name="Raise"/>
   6.464 +      </mousebind>
   6.465 +      <mousebind button="Middle" action="Press">
   6.466 +        <action name="Focus"/>
   6.467 +        <action name="Raise"/>
   6.468 +      </mousebind>
   6.469 +      <mousebind button="Right" action="Press">
   6.470 +        <action name="Focus"/>
   6.471 +        <action name="Raise"/>
   6.472 +      </mousebind>
   6.473 +    </context>
   6.474 +    <context name="Icon">
   6.475 +      <mousebind button="Left" action="Press">
   6.476 +        <action name="Focus"/>
   6.477 +        <action name="Raise"/>
   6.478 +        <action name="Unshade"/>
   6.479 +        <action name="ShowMenu">
   6.480 +          <menu>client-menu</menu>
   6.481 +        </action>
   6.482 +      </mousebind>
   6.483 +      <mousebind button="Right" action="Press">
   6.484 +        <action name="Focus"/>
   6.485 +        <action name="Raise"/>
   6.486 +        <action name="ShowMenu">
   6.487 +          <menu>client-menu</menu>
   6.488 +        </action>
   6.489 +      </mousebind>
   6.490 +    </context>
   6.491 +    <context name="AllDesktops">
   6.492 +      <mousebind button="Left" action="Press">
   6.493 +        <action name="Focus"/>
   6.494 +        <action name="Raise"/>
   6.495 +        <action name="Unshade"/>
   6.496 +      </mousebind>
   6.497 +      <mousebind button="Left" action="Click">
   6.498 +        <action name="ToggleOmnipresent"/>
   6.499 +      </mousebind>
   6.500 +    </context>
   6.501 +    <context name="Shade">
   6.502 +      <mousebind button="Left" action="Press">
   6.503 +        <action name="Focus"/>
   6.504 +        <action name="Raise"/>
   6.505 +      </mousebind>
   6.506 +      <mousebind button="Left" action="Click">
   6.507 +        <action name="ToggleShade"/>
   6.508 +      </mousebind>
   6.509 +    </context>
   6.510 +    <context name="Iconify">
   6.511 +      <mousebind button="Left" action="Press">
   6.512 +        <action name="Focus"/>
   6.513 +        <action name="Raise"/>
   6.514 +      </mousebind>
   6.515 +      <mousebind button="Left" action="Click">
   6.516 +        <action name="Iconify"/>
   6.517 +      </mousebind>
   6.518 +    </context>
   6.519 +    <context name="Maximize">
   6.520 +      <mousebind button="Left" action="Press">
   6.521 +        <action name="Focus"/>
   6.522 +        <action name="Raise"/>
   6.523 +        <action name="Unshade"/>
   6.524 +      </mousebind>
   6.525 +      <mousebind button="Middle" action="Press">
   6.526 +        <action name="Focus"/>
   6.527 +        <action name="Raise"/>
   6.528 +        <action name="Unshade"/>
   6.529 +      </mousebind>
   6.530 +      <mousebind button="Right" action="Press">
   6.531 +        <action name="Focus"/>
   6.532 +        <action name="Raise"/>
   6.533 +        <action name="Unshade"/>
   6.534 +      </mousebind>
   6.535 +      <mousebind button="Left" action="Click">
   6.536 +        <action name="ToggleMaximizeFull"/>
   6.537 +      </mousebind>
   6.538 +      <mousebind button="Middle" action="Click">
   6.539 +        <action name="ToggleMaximizeVert"/>
   6.540 +      </mousebind>
   6.541 +      <mousebind button="Right" action="Click">
   6.542 +        <action name="ToggleMaximizeHorz"/>
   6.543 +      </mousebind>
   6.544 +    </context>
   6.545 +    <context name="Close">
   6.546 +      <mousebind button="Left" action="Press">
   6.547 +        <action name="Focus"/>
   6.548 +        <action name="Raise"/>
   6.549 +        <action name="Unshade"/>
   6.550 +      </mousebind>
   6.551 +      <mousebind button="Left" action="Click">
   6.552 +        <action name="Close"/>
   6.553 +      </mousebind>
   6.554 +    </context>
   6.555 +    <context name="Desktop">
   6.556 +      <mousebind button="Up" action="Click">
   6.557 +        <action name="DesktopPrevious"/>
   6.558 +      </mousebind>
   6.559 +      <mousebind button="Down" action="Click">
   6.560 +        <action name="DesktopNext"/>
   6.561 +      </mousebind>
   6.562 +      <mousebind button="A-Up" action="Click">
   6.563 +        <action name="DesktopPrevious"/>
   6.564 +      </mousebind>
   6.565 +      <mousebind button="A-Down" action="Click">
   6.566 +        <action name="DesktopNext"/>
   6.567 +      </mousebind>
   6.568 +      <mousebind button="C-A-Up" action="Click">
   6.569 +        <action name="DesktopPrevious"/>
   6.570 +      </mousebind>
   6.571 +      <mousebind button="C-A-Down" action="Click">
   6.572 +        <action name="DesktopNext"/>
   6.573 +      </mousebind>
   6.574 +      <mousebind button="Left" action="Press">
   6.575 +        <action name="Focus"/>
   6.576 +        <action name="Raise"/>
   6.577 +      </mousebind>
   6.578 +      <mousebind button="Right" action="Press">
   6.579 +        <action name="Focus"/>
   6.580 +        <action name="Raise"/>
   6.581 +      </mousebind>
   6.582 +    </context>
   6.583 +    <context name="Root">
   6.584 +      <!-- Menus -->
   6.585 +      <mousebind button="Middle" action="Press">
   6.586 +        <action name="ShowMenu">
   6.587 +          <menu>client-list-combined-menu</menu>
   6.588 +        </action>
   6.589 +      </mousebind>
   6.590 +      <mousebind button="Right" action="Press">
   6.591 +        <action name="ShowMenu">
   6.592 +          <menu>root-menu</menu>
   6.593 +        </action>
   6.594 +      </mousebind>
   6.595 +    </context>
   6.596 +    <context name="MoveResize">
   6.597 +      <mousebind button="Up" action="Click">
   6.598 +        <action name="DesktopPrevious"/>
   6.599 +      </mousebind>
   6.600 +      <mousebind button="Down" action="Click">
   6.601 +        <action name="DesktopNext"/>
   6.602 +      </mousebind>
   6.603 +      <mousebind button="A-Up" action="Click">
   6.604 +        <action name="DesktopPrevious"/>
   6.605 +      </mousebind>
   6.606 +      <mousebind button="A-Down" action="Click">
   6.607 +        <action name="DesktopNext"/>
   6.608 +      </mousebind>
   6.609 +    </context>
   6.610 +  </mouse>
   6.611 +  <menu>
   6.612 +    <!-- You can specify more than one menu file in here and they are all loaded,
   6.613 +       just don't make menu ids clash or, well, it'll be kind of pointless -->
   6.614 +    <!-- default menu file (or custom one in $HOME/.config/openbox/) -->
   6.615 +    <file>menu.xml</file>
   6.616 +    <hideDelay>200</hideDelay>
   6.617 +    <!-- if a press-release lasts longer than this setting (in milliseconds), the
   6.618 +       menu is hidden again -->
   6.619 +    <middle>no</middle>
   6.620 +    <!-- center submenus vertically about the parent entry -->
   6.621 +    <submenuShowDelay>100</submenuShowDelay>
   6.622 +    <!-- this one is easy, time to delay before showing a submenu after hovering
   6.623 +       over the parent entry -->
   6.624 +    <applicationIcons>yes</applicationIcons>
   6.625 +    <!-- controls if icons appear in the client-list-(combined-)menu -->
   6.626 +    <manageDesktops>yes</manageDesktops>
   6.627 +    <!-- show the manage desktops section in the client-list-(combined-)menu -->
   6.628 +  </menu>
   6.629 +  <applications>
   6.630 +    <!--
   6.631 +  # this is an example with comments through out. use these to make your
   6.632 +  # own rules, but without the comments of course.
   6.633 +
   6.634 +  <application name="first element of window's WM_CLASS property (see xprop)"
   6.635 +              class="second element of window's WM_CLASS property (see xprop)"
   6.636 +               role="the window's WM_WINDOW_ROLE property (see xprop)">
   6.637 +  # the name or the class can be set, or both. this is used to match
   6.638 +  # windows when they appear. role can optionally be set as well, to
   6.639 +  # further restrict your matches.
   6.640 +
   6.641 +  # the name, class, and role use simple wildcard matching such as those
   6.642 +  # used by a shell. you can use * to match any characters and ? to match
   6.643 +  # any single character.
   6.644 +
   6.645 +  # when multiple rules match a window, they will all be applied, in the
   6.646 +  # order that they appear in this list
   6.647 +
   6.648 +
   6.649 +    # each element can be left out or set to 'default' to specify to not 
   6.650 +    # change that attribute of the window
   6.651 +
   6.652 +    <decor>yes</decor>
   6.653 +    # enable or disable window decorations
   6.654 +
   6.655 +    <shade>no</shade>
   6.656 +    # make the window shaded when it appears, or not
   6.657 +
   6.658 +    <position>
   6.659 +      # the position is only used if both an x and y coordinate are provided
   6.660 +      # (and not set to 'default')
   6.661 +      <x>center</x>
   6.662 +      # a number like 50, or 'center' to center on screen. use a negative number
   6.663 +      # to start from the right (or bottom for <y>), ie -50 is 50 pixels from the
   6.664 +      # right edge (or bottom).
   6.665 +      <y>200</y>
   6.666 +      <monitor>1</monitor>
   6.667 +      # specifies the monitor in a xinerama setup.
   6.668 +      # 1 is the first head, or 'mouse' for wherever the mouse is
   6.669 +    </position>
   6.670 +
   6.671 +    <focus>yes</focus>
   6.672 +    # if the window should try be given focus when it appears. if this is set
   6.673 +    # to yes it doesn't guarantee the window will be given focus. some
   6.674 +    # restrictions may apply, but Openbox will try to
   6.675 +
   6.676 +    <desktop>1</desktop>
   6.677 +    # 1 is the first desktop, 'all' for all desktops
   6.678 +
   6.679 +    <layer>normal</layer>
   6.680 +    # 'above', 'normal', or 'below'
   6.681 +
   6.682 +    <iconic>no</iconic>
   6.683 +    # make the window iconified when it appears, or not
   6.684 +
   6.685 +    <skip_pager>no</skip_pager>
   6.686 +    # asks to not be shown in pagers
   6.687 +
   6.688 +    <skip_taskbar>no</skip_taskbar>
   6.689 +    # asks to not be shown in taskbars. window cycling actions will also
   6.690 +    # skip past such windows
   6.691 +
   6.692 +    <fullscreen>yes</fullscreen>
   6.693 +    # make the window in fullscreen mode when it appears
   6.694 +
   6.695 +    <maximized>true</maximized>
   6.696 +    # 'Horizontal', 'Vertical' or boolean (yes/no)
   6.697 +  </application>
   6.698 +
   6.699 +  # end of the example
   6.700 +-->
   6.701 +  </applications>
   6.702 +</openbox_config>