| Author |
Message |
normasnooz
Joined: 30 Mar 2009 Posts: 11
|
Posted: Fri 06 Nov 2009, 15:31 Post subject:
How to remove Save icon from desktop of USB install? |
|
I used Puppy's universal installer to install Puppy 4.3.1 on a flash drive. Is there a way to disable the save icon? I like how Puppy saves at regular intervals and at shutdown, this is sufficient for my needs. I like an icon free desktop.
Charlie
|
|
Back to top
|
|
 |
`f00

Joined: 06 Nov 2008 Posts: 792 Location: the Western Reserve
|
Posted: Sat 07 Nov 2009, 17:31 Post subject:
Subject description: umm |
|
Funny, I like being able to not save at times
Likely edit /root/Choices/ROX-Filer/PuppyPin to remove the offender. You may want to cautiously edit /root/.xinitrc if you don't want other puppypin stuff going on and all's fine otherwise. Or use another method for setting the backdrop/background if you still want an image/gradient/what-have-you (sometimes a 'bare' roxpin works better with certain console settings like shading, tinting, -tr & such) .. 'custom' roxpin(s) work well (simple command "rox -p <path-to-roxpin-xml-file>" or rox -p Default and remove the .. (then find Default afterwards if you want to edit the bg)
Not sure what the basic bgset is for p431 (check xli doc) .. does it still use /root/Choices/ROX-background.jpg? hth, Charlie )
|
|
Back to top
|
|
 |
normasnooz
Joined: 30 Mar 2009 Posts: 11
|
Posted: Mon 09 Nov 2009, 15:43 Post subject:
|
|
I edited deleted the save entry in /root/Choices/ROX-Filer/PuppyPin, The save icon comes back with a new x-y position upon reboot. I also commented out lines in /root/.xinitrc. I could get the icons and background to go away, but I wanted to keep the partition/disk icons.
I ended up making a transparent .png for the save icon. It is not a very classy fix, but it works with my limited Linux knowledge.
Thanks for your help.
Charlie
|
|
Back to top
|
|
 |
chipschap
Joined: 03 Jan 2010 Posts: 2
|
Posted: Sun 03 Jan 2010, 14:15 Post subject:
Another Hackish Solution |
|
1) Copy PuppyPin to (say) PuppyPee.
2) Edit PuppyPee and remove Save icon line.
3) Edit /root/.xinitrc to point to PuppyPee instead of PuppyPin.
This works fine but has the annoying disadvantage that if you change wallpaper, you mus either edit PuppyPee to point to the new wallpaper, or do the copy PuppyPin/edit PuppyPee steps over again.
If you really want, this method can get rid of the Drives icon as well.
|
|
Back to top
|
|
 |
PANZERKOPF
Joined: 16 Dec 2009 Posts: 249 Location: Earth
|
Posted: Sun 03 Jan 2010, 17:07 Post subject:
|
|
rc.sysinit creates those entries (like "save2flash" or "savesession-dvd").
You must remove this procedures from it. See "MISC DESKTOP STUFF" section in
rc.sysinit.
|
|
Back to top
|
|
 |
chipschap
Joined: 03 Jan 2010 Posts: 2
|
Posted: Sun 03 Jan 2010, 17:17 Post subject:
Editing rc.sysinit |
|
PK -- thanks for providing the proper solution! This indeed works and has no visible disadvantage (other than a possible need to reinstall the fix on an upgrade).
|
|
Back to top
|
|
 |
MNJack762
Joined: 17 Mar 2010 Posts: 20
|
Posted: Tue 09 Aug 2011, 11:48 Post subject:
|
|
Where do I find rc.sysinit?
|
|
Back to top
|
|
 |
MNJack762
Joined: 17 Mar 2010 Posts: 20
|
Posted: Tue 09 Aug 2011, 12:21 Post subject:
|
|
OK found it. /etc/rc.d/rc.sysinit
Do I delete all of the lines in the "MISC. DESKTOP STUFF" section?
Will puppy still auto save or save only when I shutdown?
BTW I'm running Lucid 5.2.0 from a usb key saving to the key.
|
|
Back to top
|
|
 |
8-bit

Joined: 03 Apr 2007 Posts: 3012 Location: Oregon
|
Posted: Tue 09 Aug 2011, 14:27 Post subject:
|
|
Just jumping in here to ask if you have tried right-clicking on the icon and selecting "Remove item(s)".
|
|
Back to top
|
|
 |
Flash
Official Dog Handler

Joined: 04 May 2005 Posts: 9846 Location: Arizona USA
|
Posted: Tue 09 Aug 2011, 14:30 Post subject:
|
|
8-bit, you just beat me to it.
|
|
Back to top
|
|
 |
MNJack762
Joined: 17 Mar 2010 Posts: 20
|
Posted: Tue 09 Aug 2011, 14:38 Post subject:
|
|
| 8-bit wrote: | | Just jumping in here to ask if you have tried right-clicking on the icon and selecting "Remove item(s)". |
You would think, but the save icon comes back after a reboot.
I would love an answer to my question though.
|
|
Back to top
|
|
 |
duke93535

Joined: 05 May 2005 Posts: 192 Location: California , High Desert
|
Posted: Tue 09 Aug 2011, 18:42 Post subject:
|
|
These lines are what I remark-out with a pound sign # as shown in Wary 5.1.1, as an example. MISC DESKTOP STUFF is toward the bottom. I used the geany editor.
| Code: | ############MISC DESKTOP STUFF##################
echo “MISC. DESKTOP STUFF"
if [ “$PUPMODE” = “77“ ];then #77=multisession cd/dvd.
if [ “‘cat /root/Choices/ROX-Filer/PuppyPin | grep “savesession"`” = “” ];then
echo ‘<icon x=”768“ y=”128“ label="save">/usr/sbin/savesession-dvd</icon>’ >> /root/Choices/ROX-Filer/PuppyPin
cat /root/Choices/ROX-Filer/PuppyPin | grep -v ‘/pinboard’ > /tmp/PuppyPin-CPY
sync
cp -f /tmp/PuppyPin-CPY /root/Choices/ROX-Filer/PuppyPin
echo ‘</pinboard>’ >> /root/Choices/ROX-Filer/PuppyPin
fi
fi
#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
# cat /root/Choices/ROX-Filer/PuppyPin | grep -v ‘/pinboard’ > /tmp/PuppyPin-CPY
# sync
# cp -f /tmp/PuppyPin-CPY /root/Choices/ROX-Filer/PuppyPin
# echo ‘</pinboard>’ >> /root/Choices/ROX-Filer/PuppyPin
# fi
#fi |
I then removed the icon and rebooted into usb and the save on desktop is gone.
duke
|
|
Back to top
|
|
 |
MNJack762
Joined: 17 Mar 2010 Posts: 20
|
Posted: Tue 09 Aug 2011, 18:55 Post subject:
|
|
| duke93535 wrote: |
[code]############MISC DESKTOP STUFF##################
#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
# cat /root/Choices/ROX-Filer/PuppyPin | grep -v ‘/pinboard’ > /tmp/PuppyPin-CPY
# sync
# cp -f /tmp/PuppyPin-CPY /root/Choices/ROX-Filer/PuppyPin
# echo ‘</pinboard>’ >> /root/Choices/ROX-Filer/PuppyPin
# fi
#fi
duke |
Thanks duke.
I completely deleted the portion you see above(saved a copy of it first) and now when i reboot the save icon stays where I put it on the desktop. The only reason it really bugged me is because it kept showing up on top of my wbar. Now that it stays put, it can stay.
Looks like:
| Description |
|
| Filesize |
50.33 KB |
| Viewed |
762 Time(s) |

|
|
|
Back to top
|
|
 |
|