wok rev 13607
spacefm: add and improve custom config files and add desktop file fot destop pref
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Nov 10 20:00:42 2012 +0100 (2012-11-10) |
parents | b5dbd2f2ae50 |
children | 529e7a677320 |
files | spacefm/receipt spacefm/stuff/applications/spacefm-desktop-pref.desktop spacefm/stuff/spacefm.conf spacefm/stuff/xdg/autostart/spacefm.desktop spacefm/stuff/xdg/spacefm/session |
line diff
1.1 --- a/spacefm/receipt Sat Nov 10 19:55:12 2012 +0100 1.2 +++ b/spacefm/receipt Sat Nov 10 20:00:42 2012 +0100 1.3 @@ -21,7 +21,7 @@ 1.4 { 1.5 cd $src 1.6 ./configure \ 1.7 - --with-preferable-sudo=/usr/bin/subox \ 1.8 + --with-preferable-sudo="/usr/bin/subox" \ 1.9 --disable-pixmaps \ 1.10 $CONFIGURE_ARGS && 1.11 make && make install 1.12 @@ -30,22 +30,17 @@ 1.13 # Rules to gen a SliTaz package suitable for Tazpkg. 1.14 genpkg_rules() 1.15 { 1.16 - mkdir -p $fs/usr/share $fs/etc/spacefm $fs/etc/xdg/spacefm 1.17 + mkdir -p $fs/usr/share $fs/etc/spacefm 1.18 cp -a $install/usr/bin $fs/usr 1.19 for d in applications mime icons spacefm 1.20 do 1.21 cp -a $install/usr/share/$d $fs/usr/share 1.22 done 1.23 cp $stuff/spacefm.conf $fs/etc/spacefm 1.24 - cp -a $stuff/autostart $fs/etc/xdg 1.25 + cp -a $stuff/xdg $fs/etc 1.26 # Faenza --> SliTaz 1.27 mv $fs/usr/share/icons/Faenza $fs/usr/share/icons/SliTaz 1.28 + rm -rf $fs/usr/share/icons/hicolor/128x128 1.29 + # /bin/bash --> /bin/sh 1.30 + sed -i s'|/bin/bash|/bin/sh|'g $fs/usr/bin/spacefm-auth 1.31 } 1.32 - 1.33 -# This will creat BIG icon cache file 1.34 -# 1.35 -#post_install() 1.36 -#{ 1.37 - #gtk-update-icon-cache -q -t -f $root/usr/share/icons/hicolor 1.38 - #gtk-update-icon-cache -q -t -f $root/usr/share/icons/Faenza 1.39 -#}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/spacefm/stuff/applications/spacefm-desktop-pref.desktop Sat Nov 10 20:00:42 2012 +0100 2.3 @@ -0,0 +1,9 @@ 2.4 +[Desktop Entry] 2.5 +Encoding=UTF-8 2.6 +Name=SpaceFM Desktop configuration 2.7 +Name[fr]=Configuration du bureau SpaceFM 2.8 +Exec=spacefm --desktop-pref 2.9 +Icon=preferences-desktop-wallpaper 2.10 +Terminal=false 2.11 +Type=Application 2.12 +Categories=Settings;DesktopSettings;
3.1 --- a/spacefm/stuff/spacefm.conf Sat Nov 10 19:55:12 2012 +0100 3.2 +++ b/spacefm/stuff/spacefm.conf Sat Nov 10 20:00:42 2012 +0100 3.3 @@ -3,3 +3,4 @@ 3.4 # tmp_dir should be a root-protected user-writable dir like /tmp 3.5 # tmp_dir must NOT contain spaces or special chars - keep it simple 3.6 tmp_dir=/tmp 3.7 +
4.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 4.2 +++ b/spacefm/stuff/xdg/autostart/spacefm.desktop Sat Nov 10 20:00:42 2012 +0100 4.3 @@ -0,0 +1,7 @@ 4.4 +[Desktop Entry] 4.5 +Type=Application 4.6 +Name=SpaceFM Desktop Manager 4.7 +Name[fr]=Gestionnaire de bureau SpaceFM 4.8 +Name[ru]=Менеджер рабочего стола SpaceFM 4.9 +Exec=spacefm --desktop 4.10 +NotShowIn=XFCE;Razor;
5.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 5.2 +++ b/spacefm/stuff/xdg/spacefm/session Sat Nov 10 20:00:42 2012 +0100 5.3 @@ -0,0 +1,20 @@ 5.4 +# SpaceFM Session File 5.5 + 5.6 +# THIS FILE IS NOT DESIGNED TO BE EDITED - it will be read and OVERWRITTEN 5.7 + 5.8 +# If you delete all session* files, SpaceFM will be reset to factory defaults. 5.9 + 5.10 +[General] 5.11 +show_thumbnail=1 5.12 +big_icon_size=32 5.13 +tool_icon_size=4 5.14 + 5.15 +[Window] 5.16 +width=800 5.17 +height=480 5.18 +maximized=0 5.19 + 5.20 +[Desktop] 5.21 +show_wallpaper=1 5.22 +wallpaper=/usr/share/images/slitaz-background.jpg 5.23 +show_wm_menu=1