wok-current rev 12560
lxpanel: use XDG autostart
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Apr 28 15:52:00 2012 +0200 (2012-04-28) |
parents | b777c584c6f1 |
children | 4474bd4465a3 |
files | lxpanel/receipt lxpanel/stuff/autostart/lxpanel.desktop |
line diff
1.1 --- a/lxpanel/receipt Sat Apr 28 15:46:08 2012 +0200 1.2 +++ b/lxpanel/receipt Sat Apr 28 15:52:00 2012 +0200 1.3 @@ -28,8 +28,8 @@ 1.4 # Rules to gen a SliTaz package suitable for Tazpkg. 1.5 genpkg_rules() 1.6 { 1.7 - mkdir -p $fs/usr/share $fs/usr/lib 1.8 - 1.9 + mkdir -p $fs/usr/share $fs/usr/lib $fs/etc/xdg 1.10 + 1.11 cp -a $install/usr/bin $fs/usr 1.12 cp -a $install/usr/lib/lxpanel $fs/usr/lib 1.13 cp -a $install/usr/share/lxpanel $fs/usr/share 1.14 @@ -53,7 +53,10 @@ 1.15 mv $fs/etc/lxpanel/default $fs/etc/lxpanel/original 1.16 cp -a $stuff/default $fs/etc/lxpanel 1.17 rm -rf $fs/etc/lxpanel/two_panels 1.18 - 1.19 + 1.20 + # XDG autostart desktop file (lxsession will use it automaticaly) 1.21 + cp -a $stuff/autostart $fs/etc/xdg 1.22 + 1.23 # Make images symlinks so it feet SliTaz theme 1.24 cd $fs/usr/share/lxpanel/images 1.25 ln -s /usr/share/icons/SliTaz/status/32/network-idle.png ns-connected.png
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/lxpanel/stuff/autostart/lxpanel.desktop Sat Apr 28 15:52:00 2012 +0200 2.3 @@ -0,0 +1,6 @@ 2.4 +[Desktop Entry] 2.5 +Type=Application 2.6 +Name=LXPanel Desktop panel 2.7 +Name[fr]=Panneau du bureau LXPanel 2.8 +Exec=lxpanel -p slitaz 2.9 +NotShowIn=XFCE;Razor;