Indeed! as far back as to wary if memory serves me well.Pelo wrote:bookmarked. This happens from time to time.
But under what circunstances, though?
One of the most casual errors that pup up in puppy.
Indeed! as far back as to wary if memory serves me well.Pelo wrote:bookmarked. This happens from time to time.
Don't search for the script that is called by the 'save' desktop icon. Search for the name of the 'save' desktop icon.No entry for /usr/sbin/save2flash in the restore script, and not in the removal script either.
Probably you must add code to /usr/local/puppypin-restore/puppypin-restore, which looks like this:When I run PuppyPin restore from the menu the icon dissappears, but when I reboot it just adds itself to the /Choices/ROX-Filer/PuppyPin again.
I think its a Puppy Precise 5.7.1 thing. When I remove the icon manually and restart the X server it stays away, until I reboot, and then its back.
Code: Select all
#!/bin/sh -a
#------------------------------------------------------------------------------
# Backup and Restore PuppyPin utility
# 2016-12-25 RSH for T.O.P.L.E.S.S. and LazY Puppy
#------------------------------------------------------------------------------
cd /usr/local/puppypin-restore
if [ -f /usr/local/variomen/variomen_newgruppe ]; then
/usr/local/puppypin-restore/puppypin-restore-vmg
else
/usr/local/puppypin-restore/puppypin-restore-default
fi
Code: Select all
while [ "`pidof X`" = "" ]
do
sleep .5
done
Code: Select all
#!/bin/sh -a
#------------------------------------------------------------------------------
# Backup and Restore PuppyPin utility
# 2016-12-25 RSH for T.O.P.L.E.S.S. and LazY Puppy
#------------------------------------------------------------------------------
# Just wait until X is running
while [ "`pidof X`" = "" ]
do
sleep .5
done
cd /usr/local/puppypin-restore
if [ -f /usr/local/variomen/variomen_newgruppe ]; then
/usr/local/puppypin-restore/puppypin-restore-vmg
else
/usr/local/puppypin-restore/puppypin-restore-default
fi
Barry Kauler?Somehow someone once really believed it was important for that save icon to be there, always.
Code: Select all
#save button on desktop when booted from flash drive...
if [ $PUPMODE -eq 3 -o $PUPMODE -eq 7 -o $PUPMODE -eq 13 ];then #pup_rw is tmpfs.
if [ "`cat /root/Choices/ROX-Filer/PuppyPin | grep "save2flash"`" = "" ];then
echo '<icon x="768" y="128" label="save">/usr/sbin/save2flash</icon>' >> /root/Choices/ROX-Filer/PuppyPin
grep -v '/pinboard' /root/Choices/ROX-Filer/PuppyPin > /tmp/PuppyPin-CPY
#sync
cp -f /tmp/PuppyPin-CPY /root/Choices/ROX-Filer/PuppyPin
echo '</pinboard>' >> /root/Choices/ROX-Filer/PuppyPin
fi
fi
http://www.murga-linux.com/puppy/viewtopic.php?t=81911souleau wrote:Incidentally, I found out where that code was that insisted on having the save button on my desktop. It was in /etc/rc.d/rc.sysinit.
This is it:
So I've disabled it.Code: Select all
#save button on desktop when booted from flash drive... if [ $PUPMODE -eq 3 -o $PUPMODE -eq 7 -o $PUPMODE -eq 13 ];then #pup_rw is tmpfs. if [ "`cat /root/Choices/ROX-Filer/PuppyPin | grep "save2flash"`" = "" ];then echo '<icon x="768" y="128" label="save">/usr/sbin/save2flash</icon>' >> /root/Choices/ROX-Filer/PuppyPin grep -v '/pinboard' /root/Choices/ROX-Filer/PuppyPin > /tmp/PuppyPin-CPY #sync cp -f /tmp/PuppyPin-CPY /root/Choices/ROX-Filer/PuppyPin echo '</pinboard>' >> /root/Choices/ROX-Filer/PuppyPin fi fi