How to save to Savefile only on demand in Puppy 5.2

How to do things, solutions, recipes, tutorials
Message
Author
login123
Posts: 13
Joined: Tue 22 Jun 2010, 18:45

#41 Post by login123 »

Thanks for the confirmation.
I'll back up the save file and install Shinobar's pet.
Are you using the latest, 2.2.6?

First, though, might try that code change that Moat pointed out, just to see what happens.

Right now Puppy 528 05 is on a 2 gb USB stick, for experimenting, so I want to control rewrites and changes.

It will be eventually used in a multiboot setup on a laptop.
Probably will not need it to print anything even on the laptop.

Thanks again.

User avatar
mikeslr
Posts: 3890
Joined: Mon 16 Jun 2008, 21:20
Location: 500 seconds from Sol

pupsaveconfig-2.2.5.pet is the one I used

#42 Post by mikeslr »

Hi login123,

pupsaveconfig-2.2.5.pet is the one I'm using. Available here: http://www.murga-linux.com/puppy/viewto ... 8bd#457081

mikesLr

User avatar
Sky Aisling
Posts: 1368
Joined: Sat 27 Jun 2009, 23:02
Location: Port Townsend, WA. USA

How to save to Savefile only on demand in Puppy 5.2

#43 Post by Sky Aisling »

I realize this is an old thread, but, it's so close to my question that I'll take a chance and ask my question.

I am running my main machine with flash drive Puppies (the machine's HDDs went south last week). A save file icon appears on the desktop and stays for the remainder of the session unless I manually 'remove the item'.

Is there a way to have the save file icon automatically go away after the OS boots?

The two puppies I'm using via flash drives are Dpup Stretch and Bionic Upupbb frugal installed.

Thank you in advance for your response,

Sky

User avatar
mikeslr
Posts: 3890
Joined: Mon 16 Jun 2008, 21:20
Location: 500 seconds from Sol

#44 Post by mikeslr »

I'm not certain and I don't want to test the following because I want the Save Icon on my desktop.*

But, I think this will get rid of it. Open your file-manager to /root. You'll see a folder named Desktop. Within it is a file named "Save2flash.desktop". Delete it. Remove the desktop launcher. Open a terminal and type --without the quotes-- save2flash. Restart-x. [A reboot may be needed].

-0-0-0-0-0
* My preference is to create an icon which goes along with my Wallpaper. The "save" text can be eliminated. But than I'd have to remember the launcher was the launcher. FYI, with the exception of the added launcher, the wallpaper looks like this: https://www.classic-collection.co.uk/ho ... d-holidays
Attachments
koi-icon.png
Koi-save2flash launcher. Screenshot is only of lower right-region as Wallpaper was 4x larger than permitted by Forum.
(247.85 KiB) Downloaded 70 times

User avatar
Sky Aisling
Posts: 1368
Joined: Sat 27 Jun 2009, 23:02
Location: Port Townsend, WA. USA

How to save to Savefile only on demand in Puppy 5.2

#45 Post by Sky Aisling »

Thanks, mikesir for your quick answer.
I'm not certain and I don't want to test the following because I want the Save Icon on my desktop.*

But, I think this will get rid of it. Open your file-manager to /root. You'll see a folder named Desktop. Within it is a file named "Save2flash.desktop". Delete it. Remove the desktop launcher. Open a terminal and type --without the quotes-- save2flash. Restart-x. [A reboot may be needed].
Why do you want the icon on the desktop?
Clever idea about making the icon blend with the wallpaper.
Maybe the icon could be placed to a corner of the screen rather than smack-a-bucket in the middle of the screen?
I want the savefile to work. I find the icon annoying on the desktop screen. I'll go take a look at "savetoflash.desktop". When you say 'Remove the desktop launcher', do you mean the savefile icon?
Thanks again,
Sky
Whoa! the image of that beautiful place just came through. What a gorgeous location. How did they build that castle so high up on such a narrow rock? Such peaceful beauty.

User avatar
Sky Aisling
Posts: 1368
Joined: Sat 27 Jun 2009, 23:02
Location: Port Townsend, WA. USA

How to save to Savefile only on demand in Puppy 5.2

#46 Post by Sky Aisling »

Hi Mikeslr,

I got it to stick in the upper right corner of the desktop.
I can live with that. :lol:

Thank you for the instructions. I learned a lot from tinkering with your suggestion.

Sky

User avatar
mikeslr
Posts: 3890
Joined: Mon 16 Jun 2008, 21:20
Location: 500 seconds from Sol

#47 Post by mikeslr »

Hi Sky Aisling,

"When you say 'Remove the desktop launcher', do you mean the savefile icon?" Yes. But an icon is just a graphic. The reason that clicking a "desktop icon" does anything is that an icon has been used to decorate a launcher.

One of the unfortunate --and as yet not completely internalized-- consequences of covid19 is the effect it will have on tourism. A couple of years ago my wife and I took a bus tour thru the Balkans. Lake Bled, Slovenia, was one of the over-night stops. We took the boat trip to the dock on the other side. There may have been a funicular up to the castle. At any rate, we wandered around the castle. IIRC, there was a road on the other side of the mountain leading to the castle.

Returning to the Balkans was one of the things on our to-do list.

User avatar
Sky Aisling
Posts: 1368
Joined: Sat 27 Jun 2009, 23:02
Location: Port Townsend, WA. USA

How to save to Savefile only on demand in Puppy 5.2

#48 Post by Sky Aisling »

mikeslr,
What a beautiful place, so serene feeling.
Yes, that little blue orb with it's bouquet of red roses is certainly shaking up things. I saved for years to buy a reliable car for a trip on my 80th birthday. I got the car the week before my birthday March 21, 2020. Need I say more? Everything was cancelled that following day. So far I have put 60+ miles on the car over the last 2 months. lol. How many weeks per gallon does your buggy get?

Hopefully, you will be able to find a way back to that beautiful place sometime in the near distant future.

Take Care, mikeslr,
Sky

PS- using your suggestion about deleting the code... I tried replacing the save.svg with a icon 'invisible96x8.png'. It worked in replacing the save.svg to a transparent icon but the word 'save' remained in it's place and the actual savefile app would only activate by clicking on the the word 'save'. Fortunately the original savefile icon is sticking in the corner. In the past, when I've rebooted the icon pops back to it original place in the center of the desktop. But, not this time. Got lucky, I guess. :D

Post Reply