wok-next rev 3112

lxpanel: Use custom background
author Christophe Lincoln <pankso@slitaz.org>
date Mon May 18 02:37:18 2009 +0200 (2009-05-18)
parents 3899d9ae79b7
children 192bfaa1ae87
files lxpanel/receipt lxpanel/stuff/default/panels/panel lxpanel/stuff/images/background.png
line diff
     1.1 --- a/lxpanel/receipt	Mon May 18 00:08:54 2009 +0200
     1.2 +++ b/lxpanel/receipt	Mon May 18 02:37:18 2009 +0200
     1.3 @@ -37,6 +37,7 @@
     1.4  	cp -a $_pkg/usr/bin $fs/usr
     1.5  	cp -a $_pkg/usr/lib $fs/usr
     1.6  	cp -a $_pkg/usr/share/lxpanel $fs/usr/share
     1.7 +	
     1.8  	# Remove a few "heavy" an unseful images (ns* goes in extra)
     1.9  	for i in file-manager* stock_volume* gnome-[a-k]*.png gnome-m*.png \
    1.10  		gnome-netstatus-[d-t]*.png gnome-[o-z]*.png my-* redhat*.png \
    1.11 @@ -44,26 +45,28 @@
    1.12  	do
    1.13  		rm $fs/usr/share/lxpanel/images/$i
    1.14  	done
    1.15 +	
    1.16  	# Custom images to match SliTaz theme.
    1.17  	cp -a stuff/images/* $fs/usr/share/lxpanel/images
    1.18 +	
    1.19  	# Remove plugins --> lxpanel-extra
    1.20  	rm $fs/usr/lib/lxpanel/plugins/netstat.so
    1.21  	rm $fs/usr/lib/lxpanel/plugins/kbled.so
    1.22 +	
    1.23  	# Move profile to /etc/lxpanel (/usr maybe read-only) and default config
    1.24  	mkdir $fs/etc
    1.25  	mv -f $fs/usr/share/lxpanel/profile $fs/etc/lxpanel
    1.26  	ln -s /etc/lxpanel $fs/usr/share/lxpanel/profile
    1.27  	mv $fs/etc/lxpanel/default $fs/etc/lxpanel/original
    1.28  	cp -a stuff/default $fs/etc/lxpanel
    1.29 +	
    1.30  	# lxsession-logout fake
    1.31  	cat > $fs/usr/bin/lxsession-logout << "EOT"
    1.32  #!/bin/sh
    1.33  # lxsession-logout fake.
    1.34  #
    1.35 -
    1.36  desktopbox logout &
    1.37  exit 0
    1.38 -
    1.39  EOT
    1.40  	chmod +x $fs/usr/bin/lxsession-logout
    1.41  }
     2.1 --- a/lxpanel/stuff/default/panels/panel	Mon May 18 00:08:54 2009 +0200
     2.2 +++ b/lxpanel/stuff/default/panels/panel	Mon May 18 02:37:18 2009 +0200
     2.3 @@ -15,7 +15,7 @@
     2.4      setpartialstrut=1
     2.5      usefontcolor=0
     2.6      fontcolor=#ffffff
     2.7 -    background=0
     2.8 +    background=1
     2.9      backgroundfile=/usr/share/lxpanel/images/background.png
    2.10  }
    2.11  
     3.1 Binary file lxpanel/stuff/images/background.png has changed