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 06 Apr 2020, 23:58
All times are UTC - 4
 Forum index » House Training » HOWTO ( Solutions )
How I made a Portable Chromium
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [4 Posts]  
Author Message
jrb


Joined: 11 Dec 2007
Posts: 1490
Location: Smithers, BC, Canada

PostPosted: Sun 05 May 2019, 10:30    Post subject:  How I made a Portable Chromium
Subject description: Reducing ram use by placing Chromium on a harddrive or flashdrive
 

First I downloaded Peebee's chromium.sfs, 75Mb to the drive my Bionic32-light is installed on. He's really good about keeping these up to date. This one is version 74.0.3729.108.

Next I extracted using UExtract. Went into the extracted folder, moved /usr/lib/chromium to the drive, in this case /mnt/sdc1/chromium.

Then I renamed the extracted folder to chromium-install, went inside and created /root/Startup. I wrote a new script, chromium_link, which contained:
Code:
#!/bin/sh
rm -fr /usr/lib/chromium
ln -s /initrd/mnt/dev_save/chromium /usr/lib/chromium

Since the chromium folder is on the same drive as my Puppy I was able to use /initrd/mnt/dev_save/chromium, but this only works if you have already saved Puppy. There are alternate ways to do this that are more versatile, but I will keep it simple for now.

Next I used dir2sfs to resquash the chromium-install folder:
Code:
dir2sfs /mnt/sdc1/chromium
giving me chromium-install_19.03.sfs, which I renamed to chromium-install.sfs. 336Kb

Now use Menu->System->Boot Manager->SFS-packages to tell Puppy to load chromium-install.sfs at bootup. "Chromium Web Browser" should appear on the Internet menu.

I've gone from using 256.9Mb of ram loading the original chromium.sfs to using 1.37Mb with the chromium-install.sfs Very Happy
Back to top
View user's profile Send private message 
RetroTechGuy


Joined: 15 Dec 2009
Posts: 2955
Location: USA

PostPosted: Mon 06 May 2019, 23:48    Post subject: Re: How I made a Portable Chromium
Subject description: Reducing ram use by placing Chromium on a harddrive or flashdrive
 

jrb wrote:
I've gone from using 256.9Mb of ram loading the original chromium.sfs to using 1.37Mb with the chromium-install.sfs Very Happy


Ahhh...unbloated browsers, what an amazing concept (whose idea was it to make the browser consume all available computer resources?).

_________________
Add swapfile
WellMinded Search
PuppyLinux.US Search
Back to top
View user's profile Send private message 
Mike Walsh


Joined: 28 Jun 2014
Posts: 6095
Location: King's Lynn, UK.

PostPosted: Fri 19 Jul 2019, 08:46    Post subject:  

@ jrb:-

Nice one.

I believe this is another implementation of what davids45 & myself have been doing for some time now. We both use an external data partition, with a complete Linux 'file-system' set-up on it. Anything we want to share between Pups, we set all the appropriate bits up in the appropriate directories, then sym-link everything across to each Pup in the same directories, etc.....because that's where each Pup will expect to find them.

Cuts down enormously on storage space used when sharing large packages between several Pups, and I guess it's a variation on 'portability', too!

It's perhaps a wee bit cumbersome to initially set-up, though I did discover it's perfectly possible to create .pet or SFS packages containing nothing but sym-links. These can then be used for 'adding' an app to another Puppy.....

I used this method for a long while to 'share', 'remotely', a single instance of the final 32-bit package of Google Chrome between around a dozen Pups. I now do the same with Iron 69 in newer Pups; this version will play NetFlix flawlessly.....newer versions refuse to totally. Iron's my favourite Chrome replacement for newer, 32-bit Pups.....Chromium's all 'bleeding-edge', and wants the very newest of everything before it'll condescend to run.

Mike. Wink

_________________
MY 'PUPPY' PACKAGES

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


Joined: 13 Nov 2011
Posts: 3336
Location: Cradle of Humankind

PostPosted: Sat 20 Jul 2019, 01:42    Post subject:  

I probably do the same although all my puppy files are on the same partition. This is actually easily achieved when using sfs-addons. I have frugal installs of puppy, each puppy in its own folder. Now, the same version of Palemoon runs on all puppys so I only have one Palemoon sfs in one of the puppy folders and symlink that to the other puppys in there respective folders.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [4 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » HOWTO ( Solutions )
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.0398s ][ Queries: 11 (0.0067s) ][ GZIP on ]