Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Mon 09 Dec 2019, 11:14
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects
MintPup (Trusty LTS)
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 13 of 23 [334 Posts]   Goto page: Previous 1, 2, 3, ..., 11, 12, 13, 14, 15, ..., 21, 22, 23 Next
Author Message
Ether

Joined: 21 Aug 2013
Posts: 202

PostPosted: Fri 25 Sep 2015, 17:43    Post subject: Re: MintPup
Subject description: savefile unused space; how to add menu item
 

.

Quote:
active free space check script in ~/Startup/freechk set to appear on 30Mb. You can change the warning to 100Mb or more from MBLEFT=30


This doesn't seem to work for Porteus savefile. I have 1000MB Porteus savefile and I set MBLEFT=950, and got no warning. I'm pretty sure I installed more apps than 50MB.

Freememapplet works but it displays free RAM, not free space in savefile.

Is there a way to query the system to find out how much space is left in a Porteus savefile?

Quote:
Create new desktop file (/usr/share/applications/firefox-new.desktop for example) using Utility --> Menumaker or just paste this inside:
Code:
[Desktop Entry]
Version=1.0
Name=Firefox
Exec=firefox
Terminal=false
Type=Application
Icon=firefox
Categories=Network;

Then System --> Menu Puppy (or type update-menus in terminal) and you will see Network --> Firefox entry.

That worked. Thank you.

.
Back to top
View user's profile Send private message 
Ether

Joined: 21 Aug 2013
Posts: 202

PostPosted: Fri 25 Sep 2015, 18:45    Post subject: Re: MintPup
Subject description: savefile unused space; how to add menu item
 

.
Ether @ http://www.murga-linux.com/puppy/viewtopic.php?p=865283#865283 wrote:
This doesn't seem to work for Porteus savefile.

I did some more testing:

- It works with changes=/casper/changes.dat

- It doesn't work with changes=EXIT:/casper/changes.dat
.
Back to top
View user's profile Send private message 
saintless


Joined: 11 Jun 2011
Posts: 3882
Location: Bulgaria

PostPosted: Sat 26 Sep 2015, 02:21    Post subject: Re: MintPup
Subject description: savefile unused space; how to add menu item
 

Ether wrote:
.Freememapplet works but it displays free RAM, not free space in savefile.

It displays free RAM if you boot without persistent or with changes=EXIT:
It displays free space using save file, folder or partition (encrypted or not). The screenshot attached in my previous post is from 256Mb RAM machine and it shows 1,5Gb free memory.
Ether wrote:
.I did some more testing:

- It works with changes=/casper/changes.dat

- It doesn't work with changes=EXIT:/casper/changes.dat

Because with changes=EXIT:/casper/changes.dat your save file free space is not in use. The size of your save file with changes=EXIT:/ is the size of your RAM. When you choose to save the changes on Exit (or typing save2flash) the system will copy the session data (which is only in RAM at the moment) inside your save file.
Installing packages with changes=EXIT:/ is limited to the RAM size (not to the save file size).

Edit: I'm not sure if safe checking the free space is possible with changes=EXIT:/ boot code. Unmounted save file can be mounted and selecting all data Properties will show the size inside and the difference compared to the save file size will show the free space.
But with changes=EXIT:/ the system reads (overlays) the existing data on boot without using the free space from the save file but only RAM free space. Mounting the same save file manually could not be safe for the filesystem structure inside.
I don't know porteus-boot process enough to suggest free space checking with changes=EXIT:/ boot code.
Maybe booting with changes=/casper/changes.dat just to check the free space inside changes.dat and then reboot with changes=EXIT:/ is the only safe way.

Edit2: OK, solved. There is easy and safe way to do it with changes=EXIT:/
Tested only with save folder but should be the same for save file.
Right click -> Properties on /mnt/live/memory/images/changes-exit
Screenshot attached.

Toni
save-on-exit.jpg
 Description   
 Filesize   53.62 KB
 Viewed   1256 Time(s)

save-on-exit.jpg

Back to top
View user's profile Send private message MSN Messenger 
Ether

Joined: 21 Aug 2013
Posts: 202

PostPosted: Sat 26 Sep 2015, 09:06    Post subject: Re: MintPup
Subject description: savefile unused space; how to add menu item
 

.
Quote:
There is easy and safe way to do it with changes=EXIT:/
Tested only with save folder but should be the same for save file.
Right click -> Properties on /mnt/live/memory/images/changes-exit

Thank you. It works with MintPup save file too! (MintPup changes=EXIT:/casper/changes.dat)

The 550MB free looks correct, because I tested with
changes=/casper/changes.dat
and got warning with MBLEFT=600 but no warning with MBLEFT=500

Also, looking at Properties of /mnt/live/memory/changes shows how many MB of changes are in RAM that will be written to the save file on exit? So you can check to make sure the changes in RAM don't exceed the free space in the changes.dat file?
changes.png
 Description   
 Filesize   42.95 KB
 Viewed   1197 Time(s)

changes.png

changes-exit.png
 Description   
 Filesize   50.74 KB
 Viewed   1213 Time(s)

changes-exit.png

Back to top
View user's profile Send private message 
saintless


Joined: 11 Jun 2011
Posts: 3882
Location: Bulgaria

PostPosted: Sat 26 Sep 2015, 10:15    Post subject: Re: MintPup
Subject description: savefile unused space; how to add menu item
 

Ether wrote:
.Also, looking at Properties of /mnt/live/memory/changes shows how many MB of changes are in RAM that will be written to the save file on exit? So you can check to make sure the changes in RAM don't exceed the free space in the changes.dat file?

Yes, good idea. Attached small script to make the check easy when using changes=EXIT:/ code.
Extract the archive in /opt/bin (or /usr/bin) and type in terminal check-on-exit:
Code:
mint ~ # check-on-exit
Not saved yet session data:
Used
131 Mb
Your save file has free space:
Available
853 Mb


Toni
check-on-exit.zip
Description 
zip

 Download 
Filename  check-on-exit.zip 
Filesize  364 Bytes 
Downloaded  255 Time(s) 
Back to top
View user's profile Send private message MSN Messenger 
Ether

Joined: 21 Aug 2013
Posts: 202

PostPosted: Sat 26 Sep 2015, 14:07    Post subject: Re: MintPup
Subject description: savefile unused space; how to add menu item
 

saintless wrote:
Attached small script to make the check easy when using changes=EXIT:/ code.
Extract the archive in /opt/bin (or /usr/bin) and type in terminal check-on-exit:
Code:
mint ~ # check-on-exit
Not saved yet session data:
Used
131 Mb
Your save file has free space:
Available
853 Mb

Works great! Thanks.

.
Back to top
View user's profile Send private message 
wanderer

Joined: 20 Oct 2007
Posts: 1112

PostPosted: Wed 14 Oct 2015, 10:10    Post subject: Thanks  

Just a report and thank you to Saintless for creating MintPup

I'm using it to post this now

I use it everyday

It does everything I want it to do

works on my desktop and laptop

works with wired and wireless connections

apt works great

I like jwm as my window manager rox as my filemanager etc

running firefox and vlc

As far as I'm concerned its a done deal

Thanks again Saintless for all your hard work

I also would like to thank futwerk for his beautiful artwork

wanderer

Last edited by wanderer on Fri 16 Oct 2015, 16:39; edited 1 time in total
Back to top
View user's profile Send private message 
saintless


Joined: 11 Jun 2011
Posts: 3882
Location: Bulgaria

PostPosted: Thu 15 Oct 2015, 05:33    Post subject: Re: Thanks  

Thanks Wanderer.
There will be one more iso update in few months including all from fixes post. Maybe we will get more reports about problems till then.

Toni

_________________
Farewell, Nooby, you will be missed...
Back to top
View user's profile Send private message MSN Messenger 
saintless


Joined: 11 Jun 2011
Posts: 3882
Location: Bulgaria

PostPosted: Sat 17 Oct 2015, 05:39    Post subject:  

New fixes for frugal installer from Fred described here.
Upgrade the installer package with:
Code:
sudo apt-get update
sudo apt-get install mintpupinstallscripts

Fixes post updated with the same information.

_________________
Farewell, Nooby, you will be missed...
Back to top
View user's profile Send private message MSN Messenger 
saintless


Joined: 11 Jun 2011
Posts: 3882
Location: Bulgaria

PostPosted: Thu 22 Oct 2015, 14:08    Post subject:  

Ether wrote:
.
saintless wrote:

I'm experimenting with Debian Live Lenny and posting from this machine makes me feel good Smile


Wow. 167MHz CPU with 60MB RAM. Is there a browser available for that, that actually works? I'd like to try that on some of my bottom-feeder PCs.

~

Hi Ether.
I have something ready but I will not post it here. It has nothing to do with Puppy and not much from DebianDog included. It is only base without Xorg but with scripts to install and remaster the system as you like.
Changed Lenny (Debian 5.0) with Etch (Debian 4.0). Etch gave much better RAM usage result compared to Lenny. Probably I will upload more versions in time here:
https://github.com/MintPup/Retro-Debian
http://kazzascorner.com.au/saintless/Retro-Debian/

Toni

_________________
Farewell, Nooby, you will be missed...
Back to top
View user's profile Send private message MSN Messenger 
saintless


Joined: 11 Jun 2011
Posts: 3882
Location: Bulgaria

PostPosted: Thu 22 Oct 2015, 14:13    Post subject:  

Some more fixes from Fred for the frugal installer. Upgrade the package with:
Code:
sudo apt-get update
sudo apt-get install mintpupinstallscripts


Toni

_________________
Farewell, Nooby, you will be missed...
Back to top
View user's profile Send private message MSN Messenger 
wanderer

Joined: 20 Oct 2007
Posts: 1112

PostPosted: Thu 22 Oct 2015, 17:20    Post subject:  

cool

saintless and fred

thanks again

wanderer
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 4205
Location: holland

PostPosted: Mon 26 Oct 2015, 13:59    Post subject:  

Hi Toni, all,

Some strange things I discovered when playing more with mintpup:

- Synaptic:
This synaptic version provided from mintpup repository has limited options:
The 'Mark all upgrades' icon is missing and trying to select all 'upgradable' packages also doesn't work (upgrade is not available in right-click option)
Doing a web search, this explains it (mintupdate is the official way to upgrade):
http://unix.stackexchange.com/questions/170659/why-is-there-no-mark-for-upgrade-in-synaptic-package-manager-for-upgradeable-p

- Firefox
Installed firefox from official Mint repo. Trying to do a search from the standard mozilla search page doesn't work, same for the search bar (no search engines active)
Setting the start page to e.g. google or duckduckgo was the way to solve this for me.

My solution: Install synaptic and firefox from the ubuntu-trusty repository.

Maybe I might end up by disabling all Mint repositories, make a remaster and call it 'UbuntuDog' or perhaps... 'Jubuntu' Very Happy

Fred
Back to top
View user's profile Send private message 
saintless


Joined: 11 Jun 2011
Posts: 3882
Location: Bulgaria

PostPosted: Mon 26 Oct 2015, 14:10    Post subject:  

Hi Fred.

Thanks for sharing the solutions.
UbuntuDog sounds nice Smile

Toni

_________________
Farewell, Nooby, you will be missed...
Back to top
View user's profile Send private message MSN Messenger 
saintless


Joined: 11 Jun 2011
Posts: 3882
Location: Bulgaria

PostPosted: Thu 29 Oct 2015, 10:50    Post subject:  

Fixes post information updated:
Quote:
8. The included /sbin/cryptsetup doesn't create working encrypted save file. Install this fixed cryptsetup-bin_1.6.6-9-mintpup_i386.deb or run in terminal:
Code:
sudo apt-get update
sudo apt-get install cryptsetup-bin

_________________
Farewell, Nooby, you will be missed...
Back to top
View user's profile Send private message MSN Messenger 
Display posts from previous:   Sort by:   
Page 13 of 23 [334 Posts]   Goto page: Previous 1, 2, 3, ..., 11, 12, 13, 14, 15, ..., 21, 22, 23 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Projects
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0758s ][ Queries: 13 (0.0209s) ][ GZIP on ]