wok-current rev 12561
pcmanfm: use XDG autostart
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Apr 28 15:58:43 2012 +0200 (2012-04-28) |
parents | 49e1774e4196 |
children | bf822c13792c |
files | pcmanfm/receipt pcmanfm/stuff/autostart/pcmanfm.desktop |
line diff
1.1 --- a/pcmanfm/receipt Sat Apr 28 15:52:00 2012 +0200 1.2 +++ b/pcmanfm/receipt Sat Apr 28 15:58:43 2012 +0200 1.3 @@ -46,11 +46,15 @@ 1.4 # Rules to gen a SliTaz package suitable for Tazpkg. 1.5 genpkg_rules() 1.6 { 1.7 - mkdir -p $fs/usr/share/applications 1.8 + mkdir -p $fs/usr/share/applications $fs/etc/xdg 1.9 + 1.10 cp -a $install/usr/bin $fs/usr 1.11 cp -a $install/usr/share/mime $fs/usr/share 1.12 cp -a $install/usr/share/pcmanfm $fs/usr/share 1.13 rm -rf $fs/usr/share/pcmanfm/icons 1.14 + 1.15 + # XDG autostart desktop file (lxsession will use it automaticaly) 1.16 + cp -a $stuff/autostart $fs/etc/xdg 1.17 } 1.18 1.19 post_install()
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/pcmanfm/stuff/autostart/pcmanfm.desktop Sat Apr 28 15:58:43 2012 +0200 2.3 @@ -0,0 +1,6 @@ 2.4 +[Desktop Entry] 2.5 +Type=Application 2.6 +Name=PCmanFM Desktop Manager 2.7 +Name[fr]=Gestionnaire de bureau PCmanFM 2.8 +Exec=pcmanfm -d 2.9 +NotShowIn=XFCE;Razor;