wok-6.x rev 624

Up: openbox (3.4.7.1) - Now Ob is the default WM
author Christophe Lincoln <pankso@slitaz.org>
date Mon Apr 21 00:46:40 2008 +0200 (2008-04-21)
parents 924a05471475
children 9266fae1f9f9
files openbox-dev/receipt openbox/receipt openbox/stuff/openbox/autostart.sh openbox/stuff/openbox/menu.xml
line diff
     1.1 --- a/openbox-dev/receipt	Mon Apr 21 00:44:02 2008 +0200
     1.2 +++ b/openbox-dev/receipt	Mon Apr 21 00:46:40 2008 +0200
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="openbox-dev"
     1.7 -VERSION="3.4.6.1"
     1.8 +VERSION="3.4.7.1"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="Ob devel files."
    1.11  MAINTAINER="pankso@slitaz.org"
     2.1 --- a/openbox/receipt	Mon Apr 21 00:44:02 2008 +0200
     2.2 +++ b/openbox/receipt	Mon Apr 21 00:46:40 2008 +0200
     2.3 @@ -1,16 +1,16 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="openbox"
     2.7 -VERSION="3.4.6.1"
     2.8 +VERSION="3.4.7.1"
     2.9  CATEGORY="x-window"
    2.10  SHORT_DESC="Small-footprint and standard compliant Window Manager."
    2.11  MAINTAINER="pankso@slitaz.org"
    2.12  DEPENDS="startup-notification pango glib xorg-libX11"
    2.13 -SUGGESTED="obconf hsetroot"
    2.14 +SUGGESTED="obconf pcmanfm hsetroot"
    2.15  BUILD_DEPENDS="xorg-dev pango-dev glib-dev startup-notification-dev"
    2.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.17  WEB_SITE="http://icculus.org/openbox/"
    2.18 -WGET_URL="http://icculus.org/openbox/releases/$TARBALL"
    2.19 +WGET_URL="http://download.tuxfamily.org/slitaz/sources/packages/o/$TARBALL"
    2.20  
    2.21  # Rules to configure and make the package.
    2.22  compile_rules()
    2.23 @@ -34,19 +34,20 @@
    2.24  	cp -a $_pkg/usr/bin $fs/usr
    2.25  	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    2.26  	cp -a $_pkg/usr/share/themes $fs/usr/share
    2.27 +	
    2.28  	# We dont have GNOME or KDE
    2.29  	rm $fs/usr/bin/openbox-gnome-session
    2.30  	rm $fs/usr/bin/openbox-kde-session
    2.31  	rm $fs/usr/bin/gnome-panel-control
    2.32  	chmod 0755 $fs/usr/bin/openbox-session
    2.33 +	
    2.34  	# Menu config and autostart script.
    2.35  	mkdir -p $fs/etc/xdg
    2.36  	cp -a stuff/openbox $fs/etc/xdg
    2.37 +	
    2.38  	# SliTaz theme
    2.39  	cp -a stuff/themes $fs/usr/share
    2.40 -	# LXpanel config.
    2.41 -	mkdir -p $fs/etc/lxpanel/openbox
    2.42 -	cp stuff/lxpanel.config $fs/etc/lxpanel/openbox/config
    2.43 +
    2.44  	# Set perms.
    2.45  	chown -R root.root $fs
    2.46  }
     3.1 --- a/openbox/stuff/openbox/autostart.sh	Mon Apr 21 00:44:02 2008 +0200
     3.2 +++ b/openbox/stuff/openbox/autostart.sh	Mon Apr 21 00:46:40 2008 +0200
     3.3 @@ -1,24 +1,24 @@
     3.4  # This shell script is run before Openbox launches.
     3.5  # Environment variables set here are passed to the Openbox session.
     3.6  
     3.7 -BG=/usr/share/images/slitaz-background.png
     3.8 +#BG=/usr/share/images/slitaz-background.png
     3.9  #BG=$HOME/Images/background.png
    3.10  
    3.11  # Set a background color usin hsetroot (depends on imlib2) or xsetroot.
    3.12 -if which hsetroot >/dev/null; then
    3.13 -	hsetroot -fill $BG &
    3.14 -else
    3.15 -	if which xsetroot >/dev/null; then
    3.16 -		xsetroot -solid "#222222" &
    3.17 -	fi
    3.18 -fi
    3.19 +#if which hsetroot >/dev/null; then
    3.20 +	#hsetroot -fill $BG &
    3.21 +#else
    3.22 +	#if which xsetroot >/dev/null; then
    3.23 +		#xsetroot -solid "#222222" &
    3.24 +	#fi
    3.25 +#fi
    3.26  
    3.27 -# Login sound.
    3.28 -if which alsaplayer >/dev/null; then
    3.29 -	alsaplayer -i text /usr/share/sounds/login.ogg &
    3.30 +# Start PCmanFM as deamon
    3.31 +if which pcmanfm >/dev/null; then
    3.32 +	pcmanfm -d &
    3.33  fi
    3.34  
    3.35  # Start the panel.
    3.36  if which lxpanel >/dev/null; then
    3.37 -	lxpanel --profile openbox &
    3.38 +	lxpanel &
    3.39  fi
     4.1 --- a/openbox/stuff/openbox/menu.xml	Mon Apr 21 00:44:02 2008 +0200
     4.2 +++ b/openbox/stuff/openbox/menu.xml	Mon Apr 21 00:46:40 2008 +0200
     4.3 @@ -4,7 +4,7 @@
     4.4  
     4.5  <menu id="favorites-menu" label="Favorites">
     4.6    <item label="File Manager">
     4.7 -    <action name="Execute"><command>emelfm2</command></action>
     4.8 +    <action name="Execute"><command>pcmanfm</command></action>
     4.9    </item>
    4.10    <item label="Terminal">
    4.11      <action name="Execute"><command>xterm</command></action>
    4.12 @@ -28,17 +28,21 @@
    4.13      <action name="Execute"><command>xcompmgr</command></action>
    4.14    </item>
    4.15    <item label="Active shadows">
    4.16 -    <action name="Execute"><command>xcompmgr -c</command></action>
    4.17 +    <action name="Execute"><command>xcompmgr -c -r 10</command></action>
    4.18    </item>
    4.19    <item label="Active shadows/fade">
    4.20 -    <action name="Execute"><command>xcompmgr -c -f</command></action>
    4.21 +    <action name="Execute"><command>xcompmgr -c -f -r 10</command></action>
    4.22    </item>
    4.23    <separator />
    4.24    <item label="Set opacity (actual)">
    4.25 -    <action name="Execute"><command>transset-df --actual --max 60</command></action>
    4.26 +    <action name="Execute">
    4.27 +      <command>transset-df --actual --max 60</command>
    4.28 +    </action>
    4.29    </item>
    4.30    <item label="Set opacity (click)">
    4.31 -    <action name="Execute"><command>transset-df --click --max 60</command></action>
    4.32 +    <action name="Execute">
    4.33 +      <command>transset-df --click --max 60</command>
    4.34 +    </action>
    4.35    </item>
    4.36    <separator />
    4.37    <item label="Stop effects">
    4.38 @@ -50,20 +54,65 @@
    4.39    <item label="Tazlito LiveCD Tool">
    4.40      <action name="Execute"><command>subox tazlitobox</command></action>
    4.41    </item>
    4.42 -  <item label="TazUSB Writefs">
    4.43 -    <action name="Execute"><command>subox "xterm -e tazusb writefs"</command></action>
    4.44 +  <item label="TazUSB Writefs (gzip)">
    4.45 +    <action name="Execute">
    4.46 +      <command>subox "xterm -e tazusb writefs gzip"</command>
    4.47 +    </action>
    4.48 +  </item>
    4.49 +  <item label="TazUSB Writefs (lzma)">
    4.50 +    <action name="Execute">
    4.51 +      <command>subox "xterm -e tazusb writefs lzma"</command>
    4.52 +    </action>
    4.53 +  </item>
    4.54 +  <item label="TazUSB Writefs (none)">
    4.55 +    <action name="Execute">
    4.56 +      <command>subox "xterm -e tazusb writefs none"</command>
    4.57 +    </action>
    4.58 +  </item>
    4.59 +</menu>
    4.60 +
    4.61 +<menu id="documentation-menu" label="Documentation">
    4.62 +  <item label="Tazlito Manual">
    4.63 +    <action name="Execute">
    4.64 +      <command>firefox /usr/share/doc/tazlito/tazlito.html</command>
    4.65 +    </action>
    4.66 +  </item>
    4.67 +  <item label="Tazpkg Manual">
    4.68 +    <action name="Execute">
    4.69 +      <command>firefox /usr/share/doc/tazpkg/tazpkg.html</command>
    4.70 +    </action>
    4.71 +  </item>
    4.72 +  <item label="TazUSB Manual (en)">
    4.73 +    <action name="Execute">
    4.74 +      <command>firefox /usr/share/doc/tazusb/tazusb.en.html</command>
    4.75 +    </action>
    4.76 +  </item>
    4.77 +  <item label="Tazwok Manual">
    4.78 +    <action name="Execute">
    4.79 +      <command>firefox /usr/share/doc/tazwok/tazwok.html</command>
    4.80 +    </action>
    4.81 +  </item>
    4.82 +  <item label="GNU General Public License">
    4.83 +    <action name="Execute">
    4.84 +      <command>xterm -T "General Public License" -e less -M /usr/share/licenses/gpl.txt</command>
    4.85 +    </action>
    4.86    </item>
    4.87  </menu>
    4.88  
    4.89  <menu id="openbox-menu" label="Openbox">
    4.90    <item label="ObConf">
    4.91 -    <action name="Execute">
    4.92 -      <command>obconf</command>
    4.93 -    </action>
    4.94 +    <action name="Execute"><command>obconf</command></action>
    4.95    </item>
    4.96 +  <item label="Restart LXpanel">
    4.97 +    <action name="Execute"><command>lxpanelctl restart</command></action>
    4.98 +  </item>
    4.99 +  <separator />
   4.100    <item label="Reconfigure">
   4.101      <action name="Reconfigure" />
   4.102    </item>
   4.103 +  <item label="Restart">
   4.104 +    <action name="Restart" />
   4.105 +  </item>
   4.106    <item label="Exit">
   4.107      <action name="Exit" />
   4.108    </item>
   4.109 @@ -87,6 +136,10 @@
   4.110    <menu id="desktop-effects" />
   4.111    <menu id="slitaz-live-menu" />
   4.112    <menu id="client-list-menu" />
   4.113 +  <menu id="documentation-menu" />
   4.114 +  <item label="Run Command">
   4.115 +    <action name="Execute"><command>lxpanelctl run</command></action>
   4.116 +  </item>
   4.117    <separator />
   4.118    <menu id="openbox-menu" />
   4.119    <menu id="system-actions-menu" />