# HG changeset patch # User Christophe Lincoln # Date 1352574042 -3600 # Node ID bee018da8da6ab4c34e7308c5efd68d51723039c # Parent b5dbd2f2ae506cae05067bac6854af5fae811942 spacefm: add and improve custom config files and add desktop file fot destop pref diff -r b5dbd2f2ae50 -r bee018da8da6 spacefm/receipt --- a/spacefm/receipt Sat Nov 10 19:55:12 2012 +0100 +++ b/spacefm/receipt Sat Nov 10 20:00:42 2012 +0100 @@ -21,7 +21,7 @@ { cd $src ./configure \ - --with-preferable-sudo=/usr/bin/subox \ + --with-preferable-sudo="/usr/bin/subox" \ --disable-pixmaps \ $CONFIGURE_ARGS && make && make install @@ -30,22 +30,17 @@ # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/share $fs/etc/spacefm $fs/etc/xdg/spacefm + mkdir -p $fs/usr/share $fs/etc/spacefm cp -a $install/usr/bin $fs/usr for d in applications mime icons spacefm do cp -a $install/usr/share/$d $fs/usr/share done cp $stuff/spacefm.conf $fs/etc/spacefm - cp -a $stuff/autostart $fs/etc/xdg + cp -a $stuff/xdg $fs/etc # Faenza --> SliTaz mv $fs/usr/share/icons/Faenza $fs/usr/share/icons/SliTaz + rm -rf $fs/usr/share/icons/hicolor/128x128 + # /bin/bash --> /bin/sh + sed -i s'|/bin/bash|/bin/sh|'g $fs/usr/bin/spacefm-auth } - -# This will creat BIG icon cache file -# -#post_install() -#{ - #gtk-update-icon-cache -q -t -f $root/usr/share/icons/hicolor - #gtk-update-icon-cache -q -t -f $root/usr/share/icons/Faenza -#} diff -r b5dbd2f2ae50 -r bee018da8da6 spacefm/stuff/applications/spacefm-desktop-pref.desktop --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/spacefm/stuff/applications/spacefm-desktop-pref.desktop Sat Nov 10 20:00:42 2012 +0100 @@ -0,0 +1,9 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=SpaceFM Desktop configuration +Name[fr]=Configuration du bureau SpaceFM +Exec=spacefm --desktop-pref +Icon=preferences-desktop-wallpaper +Terminal=false +Type=Application +Categories=Settings;DesktopSettings; diff -r b5dbd2f2ae50 -r bee018da8da6 spacefm/stuff/spacefm.conf --- a/spacefm/stuff/spacefm.conf Sat Nov 10 19:55:12 2012 +0100 +++ b/spacefm/stuff/spacefm.conf Sat Nov 10 20:00:42 2012 +0100 @@ -3,3 +3,4 @@ # tmp_dir should be a root-protected user-writable dir like /tmp # tmp_dir must NOT contain spaces or special chars - keep it simple tmp_dir=/tmp + diff -r b5dbd2f2ae50 -r bee018da8da6 spacefm/stuff/xdg/autostart/spacefm.desktop --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/spacefm/stuff/xdg/autostart/spacefm.desktop Sat Nov 10 20:00:42 2012 +0100 @@ -0,0 +1,7 @@ +[Desktop Entry] +Type=Application +Name=SpaceFM Desktop Manager +Name[fr]=Gestionnaire de bureau SpaceFM +Name[ru]=Менеджер рабочего стола SpaceFM +Exec=spacefm --desktop +NotShowIn=XFCE;Razor; diff -r b5dbd2f2ae50 -r bee018da8da6 spacefm/stuff/xdg/spacefm/session --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/spacefm/stuff/xdg/spacefm/session Sat Nov 10 20:00:42 2012 +0100 @@ -0,0 +1,20 @@ +# SpaceFM Session File + +# THIS FILE IS NOT DESIGNED TO BE EDITED - it will be read and OVERWRITTEN + +# If you delete all session* files, SpaceFM will be reset to factory defaults. + +[General] +show_thumbnail=1 +big_icon_size=32 +tool_icon_size=4 + +[Window] +width=800 +height=480 +maximized=0 + +[Desktop] +show_wallpaper=1 +wallpaper=/usr/share/images/slitaz-background.jpg +show_wm_menu=1