Introducing: The all new freememapplet v1.0!
- Pizzasgood
- Posts: 6183
- Joined: Wed 04 May 2005, 20:28
- Location: Knoxville, TN, USA
I think it doesn't show ram unless you're in ram-mode. The rest of the time I think it shows the remaining space in your savefile.
[size=75]Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib[/size]
[img]http://www.browserloadofcoolness.com/sig.png[/img]
[img]http://www.browserloadofcoolness.com/sig.png[/img]
It seems to show the free space in the ramdisk - I am not really sure exactly what that means practically - is it possible to make it show the ram instead?
Also, when I bootup, it isn't swallowed correctly, but a couple of restarts of JWM corrects it. Does anybody have any ideas as to how to fix this?
NB. running Grafpup.
Also, when I bootup, it isn't swallowed correctly, but a couple of restarts of JWM corrects it. Does anybody have any ideas as to how to fix this?
NB. running Grafpup.
- Attachments
-
- image2.gif
- (27.14 KiB) Downloaded 2163 times
-
- image1.gif
- (4.24 KiB) Downloaded 2301 times
I have added the 'entirely in RAM' case to calcfreespace.sh
A real eye-opener. It's down to about 9MB.
Code: Select all
5) #entirely in ram
SIZEFREE=`free | grep 'Mem:' | tr -s ' ' | cut -f 5 -d ' '`
;;
It does not seem to work - still showing free space in ramdisk. This is my calcfreespace.sh
#!/bin/sh
#calc free space in which to create/save files.
SIZEFREE=0
PUPMODE=2
[ -f /etc/rc.d/PUPMODE ] && PUPMODE=`cat /etc/rc.d/PUPMODE`
case $PUPMODE in
3|7|13) #home partition/file mntd on pup_ro1, tmpfs on pup_rw
SIZEFREE=`df -k | grep ' /initrd/pup_ro1$' | tr -s ' ' | cut -f 4 -d ' '`
SIZETMP=`df -k | grep ' /initrd/pup_rw$' | tr -s ' ' | cut -f 4 -d ' '`
[ $SIZETMP -lt $SIZEFREE ] && SIZEFREE=$SIZETMP
;;
6|12) #home partition/file mntd on pup_rw (no tmpfs)
SIZEFREE=`df -k | grep ' /initrd/pup_rw$' | tr -s ' ' | cut -f 4 -d ' '`
;;
*)
SIZEFREE=`df -k | grep ' /$' | tr -s ' ' | cut -f 4 -d ' '`
;;
5) #entirely in ram
SIZEFREE=`free | grep 'Mem:' | tr -s ' ' | cut -f 5 -d ' '`
;;
esac
#exit $SIZEFREE
echo "$SIZEFREE"
###end###
BTW my swallow problem seems to be fixed by installing JWM 1.8 - I can't fathom why, as it worked with 1.7 in other versions of Puppy :)
#!/bin/sh
#calc free space in which to create/save files.
SIZEFREE=0
PUPMODE=2
[ -f /etc/rc.d/PUPMODE ] && PUPMODE=`cat /etc/rc.d/PUPMODE`
case $PUPMODE in
3|7|13) #home partition/file mntd on pup_ro1, tmpfs on pup_rw
SIZEFREE=`df -k | grep ' /initrd/pup_ro1$' | tr -s ' ' | cut -f 4 -d ' '`
SIZETMP=`df -k | grep ' /initrd/pup_rw$' | tr -s ' ' | cut -f 4 -d ' '`
[ $SIZETMP -lt $SIZEFREE ] && SIZEFREE=$SIZETMP
;;
6|12) #home partition/file mntd on pup_rw (no tmpfs)
SIZEFREE=`df -k | grep ' /initrd/pup_rw$' | tr -s ' ' | cut -f 4 -d ' '`
;;
*)
SIZEFREE=`df -k | grep ' /$' | tr -s ' ' | cut -f 4 -d ' '`
;;
5) #entirely in ram
SIZEFREE=`free | grep 'Mem:' | tr -s ' ' | cut -f 5 -d ' '`
;;
esac
#exit $SIZEFREE
echo "$SIZEFREE"
###end###
BTW my swallow problem seems to be fixed by installing JWM 1.8 - I can't fathom why, as it worked with 1.7 in other versions of Puppy :)
What puppy version are you using? I use 2.14. I don't have /etc/rc.d/PUPMODE, all the configuration seems to be in /etc/rc.d/PUPSTATE
try replacing with:
try replacing
Code: Select all
[ -f /etc/rc.d/PUPMODE ] && PUPMODE=`cat /etc/rc.d/PUPMODE`
Code: Select all
[ -f /etc/rc.d/PUPSTATE ] && echo `head -n 1 /etc/rc.d/PUPSTATE| cut -d = -f 2`
Will
contribute: [url=http://www.puppylinux.org]community website[/url], [url=http://tinyurl.com/6c3nm6]screenshots[/url], [url=http://tinyurl.com/6j2gbz]puplets[/url], [url=http://tinyurl.com/57gykn]wiki[/url], [url=http://tinyurl.com/5dgr83]rss[/url]
contribute: [url=http://www.puppylinux.org]community website[/url], [url=http://tinyurl.com/6c3nm6]screenshots[/url], [url=http://tinyurl.com/6j2gbz]puplets[/url], [url=http://tinyurl.com/57gykn]wiki[/url], [url=http://tinyurl.com/5dgr83]rss[/url]
I think could better bedisciple wrote:It does not seem to work - still showing free space in ramdisk. This is my calcfreespace.sh
#!/bin/sh
#calc free space in which to create/save files.
SIZEFREE=0
PUPMODE=2
[ -f /etc/rc.d/PUPMODE ] && PUPMODE=`cat /etc/rc.d/PUPMODE`
case $PUPMODE in
3|7|13) #home partition/file mntd on pup_ro1, tmpfs on pup_rw
SIZEFREE=`df -k | grep ' /initrd/pup_ro1$' | tr -s ' ' | cut -f 4 -d ' '`
SIZETMP=`df -k | grep ' /initrd/pup_rw$' | tr -s ' ' | cut -f 4 -d ' '`
[ $SIZETMP -lt $SIZEFREE ] && SIZEFREE=$SIZETMP
;;
6|12) #home partition/file mntd on pup_rw (no tmpfs)
SIZEFREE=`df -k | grep ' /initrd/pup_rw$' | tr -s ' ' | cut -f 4 -d ' '`
;;
*)
SIZEFREE=`df -k | grep ' /$' | tr -s ' ' | cut -f 4 -d ' '`
;;
5) #entirely in ram
SIZEFREE=`free | grep 'Mem:' | tr -s ' ' | cut -f 5 -d ' '`
;;
esac
#exit $SIZEFREE
echo "$SIZEFREE"
###end###
BTW my swallow problem seems to be fixed by installing JWM 1.8 - I can't fathom why, as it worked with 1.7 in other versions of Puppy
Code: Select all
5) #entirely in ram
SIZEFREE=`free | grep 'Mem:' | tr -s ' ' | cut -f 5 -d ' '`
;;
*)
SIZEFREE=`df -k | grep ' /$' | tr -s ' ' | cut -f 4 -d ' '`
;;
The wildcard should be always the least case for anything to come to prevent program crashes .
After all these years i guess A) the theme is not of much relevance and B) the ^ case problem ^ is solved by ^ the learning curve ^.
I found out that i really like freememaplet 1.2 but still have problems to find
file:///usr/share/doc/freememapplet.htm
anywhere on the net ,
As i read it is not included in Puppy 2 anymore ?
Which Puppy do i have to dl to get it ?
Maybe in dotpups 1 and 2, desktop tools:Karl Godt wrote:
I found out that i really like freememaplet 1.2 but still have problems to find
file:///usr/share/doc/freememapplet.htm
anywhere on the net ,
As i read it is not included in Puppy 2 anymore ?
Which Puppy do i have to dl to get it ?
http://dotpups.de/
Inspiron 700m, Pent.M 1.6Ghz, 1Gb ram.
Msi Wind U100, N270 1.6>2.0Ghz, 1.5Gb ram.
Eeepc 8g 701, 900Mhz, 1Gb ram.
Full installs
Hello Karl
i have attached a copy that i took out of the puppy-2.12-seamonkey.iso
It is identical to the one in both of these:
puppy-2.16.1-seamonkey-fulldrivers.iso
puppy-3.01-seamonkey.iso
CatDude
.
If you are referring to the freememapplet.htm file,Karl Godt wrote:...I found out that i really like freememaplet 1.2 but still have problems to find
file:///usr/share/doc/freememapplet.htm
anywhere on the net ,
As i read it is not included in Puppy 2 anymore ?
Which Puppy do i have to dl to get it ?
i have attached a copy that i took out of the puppy-2.12-seamonkey.iso
It is identical to the one in both of these:
puppy-2.16.1-seamonkey-fulldrivers.iso
puppy-3.01-seamonkey.iso
CatDude
.
- Attachments
-
- freememapplet.htm.gz
- (1.58 KiB) Downloaded 440 times
[img]http://www.smokey01.com/CatDude/.temp/sigs/acer-futile.gif[/img]
TT Thousand Thanks CatDude !
I could not find anything at the dotpup page except a freememapplet.pup with source by MU which did not include this help page .
FWIW : dopupbasic and dotpuphander seem to work still on slacko-5.3.1 and got dl and installed by the new ppm after i enabled Puppy 4 Repository and checked all four package types .
Nevertheless the above htmlpage is really necessary i think .
The only part that is confusing today in the page would be
Instead ^ "home" file ^ it would be ^ "save" file ^
but i am not really sure about the naming convention for the save[_-]file
for every different Puppy release .
Last year's iguleder's dpup had the "dpupsave-" -prefix for example .
Many Thanks again !
Also to rjbrewer : Now i have freememapplets by clarf,ttuuxxx,pemasu,MU and others .
FOUND AT THESE INTERESTING PAGES FOR FREEMEMAPPLET :
http://www.murga-linux.com/puppy/viewto ... 49&t=69623
http://www.murga-linux.com/puppy/viewto ... start=3825
http://www.murga-linux.com/puppy/viewto ... 49&t=15950
http://www.murga-linux.com/puppy/viewto ... start=3840[/u]
I could not find anything at the dotpup page except a freememapplet.pup with source by MU which did not include this help page .
FWIW : dopupbasic and dotpuphander seem to work still on slacko-5.3.1 and got dl and installed by the new ppm after i enabled Puppy 4 Repository and checked all four package types .
Nevertheless the above htmlpage is really necessary i think .
The only part that is confusing today in the page would be
which could be confused with the term ^ /mnt/home ^ nowerdays .The first time that you shutdown, you will be asked to create a "home" file, in which to save all your personal files/settings
Instead ^ "home" file ^ it would be ^ "save" file ^
but i am not really sure about the naming convention for the save[_-]file
for every different Puppy release .
Last year's iguleder's dpup had the "dpupsave-" -prefix for example .
Many Thanks again !
Also to rjbrewer : Now i have freememapplets by clarf,ttuuxxx,pemasu,MU and others .
FOUND AT THESE INTERESTING PAGES FOR FREEMEMAPPLET :
http://www.murga-linux.com/puppy/viewto ... 49&t=69623
http://www.murga-linux.com/puppy/viewto ... start=3825
http://www.murga-linux.com/puppy/viewto ... 49&t=15950
http://www.murga-linux.com/puppy/viewto ... start=3840[/u]