Can't resize pupsave file

Using applications, configuring, problems
Message
Author
User avatar
Subito Piano
Posts: 731
Joined: Mon 28 May 2007, 03:12
Location: UPSTATE New York
Contact:

#16 Post by Subito Piano »

...and it's telling me it can't save all files, yet gives no red warning that i am running out of room. Most of my files get saved on the stick, not within puppy, though, so it's not a major concern. it freaks me out b/c i've been thinking about finally using Puppy as my main OS and i sure can' have that. I know this particular problem would disappear with a complete install but it makes me nervous about what else wold goof up. Mind you, this is a remaster I did but i believe i ONLY added programs; i don't think i tinkered with the "inner workings."

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#17 Post by Semme »

So where's the big one?

Code: Select all

du -k --max-depth 1 /root/|sort -n | tail -10

User avatar
Subito Piano
Posts: 731
Joined: Mon 28 May 2007, 03:12
Location: UPSTATE New York
Contact:

#18 Post by Subito Piano »

/mnt/home (sdb1)

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#19 Post by musher0 »

Hey, subito piano!

Here's how to increase the size of your pupsave file externally,
without calling or using the internal "Resize pupsave" script
included in the Puppy menu.

Type the following in console:

Code: Select all

cd /mnt/home
echo 128000 > pupsaveresize.txt
cp pupsaveresize.txt txt.pupsaveresize
Reboot.

~~~~~~~~~~
Line 1 of this little code bring you to your main disk.
Line 2 inserts the number of Mg's to add to your pupsave file.
(It doesn't matter if the actual name of the save file in your
Puppy is wheezysave, precisesave or whatever.)

Line 3 makes a copy for future use.
(Just copy your backup as pupsaveresize.txt the next time you need it.)
~~~~~~~~~~

You can indicate, on line 2, any reasonable number, e.g.
256000, 384000, 512000, 640000, 768000, 896000
(that's, in human readable terms,
256 Mg, 384 Mg, 512 Mg, 640 Mg, 768 Mg, 896 Mg),
the only limit being the remaining capacity of your disk in Mg's.
(I'd suggest leaving some wiggle room, though.)

This little trick works in all Puppies, BTW.

BFN.

musher0
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#20 Post by musher0 »

Subito Piano wrote:WELL-- this is interesting. After reboot, the file size indeed is a GB - BUT the little file size indicator icon in the tray is still red, warning me of low space left...???!!! Yeah, i can live with that, but SOMETHING is wacky....perhaps b/c i let it completely run out of space earlier today?
The rebooting should have reset the free Mg's indicator.

Have you tried emptying all your caches : browser, root/.thumbnails.

See if you have big fouled-up print jobs in /var/cache/cups or other
junk in /var/spool.

Do you have OpenOffice or LibreOffice on there ? If so, try moving
/root/.config/.openoffice to another (usb) drive and bring back a link
in its place from where you moved it to. My /root/.config/.openoffice
folder indicates 16 Mg already, and I just installed the program.

Do you have a big file in /tmp? Sometimes, xerrs.log inflates to a large size.
(There might be a lot of "error messages" in one session, although
lines in xerrs.log are mostly informative, not actual errors).

Do you have big remnants of downloads or installs in /root or in /root/downloads?

I hope the above helps you free up some space in your pupsave file.

BFN.

musher0
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

User avatar
Subito Piano
Posts: 731
Joined: Mon 28 May 2007, 03:12
Location: UPSTATE New York
Contact:

#21 Post by Subito Piano »

Yeah -- i blew something apart and just started over. Fortunately i found i had a save file. Thanks. :/

partsman
Posts: 363
Joined: Wed 06 Jun 2012, 19:00
Location: OHIO,USA

#22 Post by partsman »

Hello all :D
I just was wondering if there was a solution to the above ? I have the same problem with this puppy :
http://www.murga-linux.com/puppy/viewtopic.php?t=92763
I have used musher0 's method above to enlarge my save file but the
pupsave indicator in the system tray doesn't show that it is bigger :?
Just wonder if there are any ideas ?
This particular puppy Has been heavily modified and I know that it does complain of have packages installed that may cause some issues :?
One may possibly be with system theme !
After making my first pupsave file upon reboot it had told me that there were several packages that may need to be uninstalled but I didn't do that as I was afraid I would brake it ? Other than having to create my own menu entries all has been well :?
Thank you for everyone's help in advance :wink:
[color=red]Anyone can build a fast processor. The trick is to build a fast system. (Seymour Cray)[/color] :wink:

User avatar
Subito Piano
Posts: 731
Joined: Mon 28 May 2007, 03:12
Location: UPSTATE New York
Contact:

#23 Post by Subito Piano »

You should be able to navigate to the drive containing your pupsave file and check its size to see if it was resized or not...??

You could make a copy of the the pupsave file and then try uninstalling the packages. If it breaks, use you backup pupsave file when you boot.

If you don't know how to do any of this, let us all know, and do report back!

partsman
Posts: 363
Joined: Wed 06 Jun 2012, 19:00
Location: OHIO,USA

#24 Post by partsman »

Than you ! Subito Piano :wink:
Here is what i found :
In usr/share/themes/eXperience/gtk-2.0/ there is a script called : gtkrc
I deleted this file and now I can resize my pupsave file :wink:
I tried to resize in a fresh savefile with no joy !
It seems this is an issue with this pupplet so i will also post in this thred :
http://murga-linux.com/puppy/viewtopic.php?t=92763
I am sure csipesz is not aware of it :oops: But I do belive he may do full installs :wink:
I only had to reset my wallpaper etc. after deleted the file and rebooted :wink:
Thanks again for your helpful reply though Subito Piano :wink:
[color=red]Anyone can build a fast processor. The trick is to build a fast system. (Seymour Cray)[/color] :wink:

User avatar
Subito Piano
Posts: 731
Joined: Mon 28 May 2007, 03:12
Location: UPSTATE New York
Contact:

#25 Post by Subito Piano »

Hmm....you mean that if you load a fresh puppy and make a brand-new save file, without adding any packages, then reboot into the new save file, even then you cannot successfully resize it? That would be problematic.

FYI, this from Barry on this post
GTK2

GTK2 provides the menus, widgets and dialog boxes for an application. Basically, that's everything inside a window -- but not the window border and title-bar as that is handled by the window manager.

For users, the GUI application to choose a GTK2 theme is Chtheme, that you will find in the 'Desktop' menu. This application was created by Aristotle Pagaltzis.

GTK2 themes are a bit more fiddly to create. There are heaps of them out there and you can either find one ready-made or modify one -- it is a very steep learning curve to create one from scratch.

The GTK2 themes are located at /usr/share/themes. Take a look there -- you will find that the simplest themes have just one file, 'gtkrc'. Then there's my creation, 'Gradient-grey', which in addition to the 'gtkrc' file has four images. From there, it goes up and up, some themes having a hundred or more image files.

So how does a theme get chosen as the current theme? When a GTK2 application starts, by default it looks first for the file /etc/gtk-2.0/gtkrc, and then for the file /root/.gtkrc-2.0. If it finds both, they are both read, but anything in the latter will override the former. It is the latter that Chtheme modifies. Taking a look inside /root/.gtkrc-2.0:

include "/usr/share/themes/Gradient-grey/gtk-2.0/gtkrc"

In other words, the 'Gradient-grey' theme is chosen.
Blessings,

Subito

partsman
Posts: 363
Joined: Wed 06 Jun 2012, 19:00
Location: OHIO,USA

#26 Post by partsman »

Subito Piano wrote:Hmm....you mean that if you load a fresh puppy and make a brand-new save file, without adding any packages, then reboot into the new save file, even then you cannot successfully resize it?
That is correct Subito Piano it would not resize until i deleted In usr/share/themes/eXperience/gtk-2.0/gtkrc :wink:
Thank you again for the info :wink:
[color=red]Anyone can build a fast processor. The trick is to build a fast system. (Seymour Cray)[/color] :wink:

Mayou

Slacko 5..3.3 XFCE theme shiki gtkrc removed

#27 Post by Mayou »

Slacko 5..3.3 XFCE theme shiki gtkrc removed.
I was unable to increase my pupsave adn removing file gtkrc in the this shiki theme well solved my problem. Thanks to you.
partsman found :
In usr/share/themes/eXperience/gtk-2.0/ there is a script called : gtkrc
I deleted this file and now I can resize my pupsave file

So i did.

partsman
Posts: 363
Joined: Wed 06 Jun 2012, 19:00
Location: OHIO,USA

Re: Slacko 5..3.3 XFCE theme shiki gtkrc removed

#28 Post by partsman »

Mayou wrote:Slacko 5..3.3 XFCE theme shiki gtkrc removed.
I was unable to increase my pupsave adn removing file gtkrc in the this shiki theme well solved my problem. Thanks to you.
partsman found :
In usr/share/themes/eXperience/gtk-2.0/ there is a script called : gtkrc
I deleted this file and now I can resize my pupsave file

So i did.
Well always glad to hear that my ramblings have helped in some small way :wink:
Although I don't understand what a theme would have to do with the pupsave file :?
But glad it was of some help to you Mayou :D
[color=red]Anyone can build a fast processor. The trick is to build a fast system. (Seymour Cray)[/color] :wink:

Pelo

Pupjibaro 1.0.4 cannot resize its pupsave

#29 Post by Pelo »

In usr/share/themes/eXperience/gtk-2.0/ there is a script called : gtkrc
Ok i test it...
Fine ! gtkrc erased in current gtk theme and resize works :)
Attachments
gtkrc.jpg
Pfind will locate current theme
(48.28 KiB) Downloaded 99 times
Last edited by Pelo on Tue 01 Dec 2015, 00:25, edited 1 time in total.

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

Re: Slacko 5..3.3 XFCE theme shiki gtkrc removed

#30 Post by musher0 »

partsman wrote:
Mayou wrote:Slacko 5..3.3 XFCE theme shiki gtkrc removed.
I was unable to increase my pupsave adn removing file gtkrc in the this shiki theme well solved my problem. Thanks to you.
partsman found :
In usr/share/themes/eXperience/gtk-2.0/ there is a script called : gtkrc
I deleted this file and now I can resize my pupsave file

So i did.
Well always glad to hear that my ramblings have helped in some small way :wink:
Although I don't understand what a theme would have to do with the pupsave file :?
But glad it was of some help to you Mayou :D
Yeah, that's theoretically impossible.

(BTW, those gtkrc's are not "scripts", they're called "configuration files".)

But if it worked!

Motto of the day: "Kill a theme, you'll get to resize your pupsave!"
Why not, eh? :roll: :twisted: ;)

It's more likely that the small space you gained by erasing that little
config file made the difference, i.e. made the resizing possible. Your disk
must be getting pretty full, eh? Time for a major disk clean-up, maybe?

BFN.

musher0
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

Pelo

Don't try to explain why,don't worry about that, enjoy it

#31 Post by Pelo »

Don't try to explain why, Musher0, don't worry about that, enjoy it !
When i resize, it's at least 64MB... free 471MB on my pendrive...
GTK theme have more impact that one could believe, not by their size, but by blocking processes.
:) Merci Subito piano ! Pupjibaro is an Ubuntu, Nilson Morales perhaps will find an explanation, if it's really necessary to explain why something works.
Porqué no se redimensiona el pupsave ? le pregunto aqui.and on his Facebook Puppy forum para los usarios de habla ibérica. .

"echar el pelo" exp."to waste time"
Attachments
menu.jpg
Check your active theme using your menu
(74.13 KiB) Downloaded 61 times

Post Reply