Portable Google Chrome for Puppy

Moderator: Forum moderators

Post Reply
User avatar
shinobar
Posts: 89
Joined: Sat Oct 17, 2020 2:21 am
Location: Japan
Has thanked: 13 times
Been thanked: 72 times
Contact:

Portable Google Chrome for Puppy

Post by shinobar »

cf. mikewalsh distributing Google-Chrome 'portable' 64-bit browser - (with updater!) in anopther thred.

Now auto-download capability thanks to mikewalsh and fredx181!
LATEST: google-chrome-portable v0.9.7 (2025-03-21)
https://shinobar.net/puppy/opt/pup64/go ... 9.7.tar.gz

The Portable Google Chrome for Puppy holds the Google Chrome as a sfs, its settings in a ext3 image file, google-chrome-config.3fs, so that the file system free. It loads the the Google Chrome sfs and the google-chrome-config.3fs to launch the Google Chrome as if launching a miniature Puppy.

The Portable Google Chrome also holds the cache and downloads in the same 'google-chrome-portable' folder, so that they are free from the 'Puppy space' and not limited by the pupsave size.
Document

Change Log:
#2013-12-16 shinobar
#2013-12-21 v0.2: chrome in sfs, Cache and Downloads here, config in $HOME
#2013-12-28 v0.3: run chrome with HOME=$APPDIR, ROX app
#2013-12-30 v0.4: make portable with user-data-dir here
#2014-01-28 v0.5: import bookmarks, Downloads folder, Cache folder, help file NLS
#2014-03-12 v0.6: fix was failed to show missings, import old portable bookmarks, allow over network
#2014-06-27 v0.7: chrome.default, cleaning up cache dir, local lib
#2021-05-27 v0.8: user data size 300MB. no sandbox option, disk cache, media cache
#2024-08-09 v0.9: keep SFS mounted, cache on ramdisk
#2024-08-23 v0.9.5: unmount sfs, 300MB for data_file, data_file folder for linux partitions, auto download(mikewalsh, fredx181)
#2024-09-04 v0.9.6: IME on bionicpup, no start page, Downloads link, old datafile detection, gtk2dialog
#2025-03-21 v0.9.7: option '--disable-infobars --test-type' (pp4mnklinux)

Last edited by shinobar on Fri Mar 21, 2025 11:43 am, edited 7 times in total.
User avatar
shinobar
Posts: 89
Joined: Sat Oct 17, 2020 2:21 am
Location: Japan
Has thanked: 13 times
Been thanked: 72 times
Contact:

Re: Portable Google Chrome for Puppy v0.9

Post by shinobar »

New! google-chrome-portable v0.9
Chache on RAM disk (if available).

http://shinobar.server-on.net/puppy/opt ... 0.9.tar.gz

User avatar
mikewalsh
Moderator
Posts: 6518
Joined: Tue Dec 03, 2019 1:40 pm
Location: King's Lynn, UK
Has thanked: 993 times
Been thanked: 2170 times

Re: Portable Google Chrome for Puppy

Post by mikewalsh »

@shinobar :-

Hm. Interesting concept. I guess this is borrowing some of the ideas from the original portable WINE, yes?

Does this keep itself up-to-date.......and if so, how do you get around the problem that SFSs are read-only, and have to be un-packed/modified/re-built to end up with a newer version?

Just curious!

Mike. ;)

User avatar
shinobar
Posts: 89
Joined: Sat Oct 17, 2020 2:21 am
Location: Japan
Has thanked: 13 times
Been thanked: 72 times
Contact:

Re: Portable Google Chrome for Puppy

Post by shinobar »

mikewalsh wrote: Sat Aug 10, 2024 11:06 am

I guess this is borrowing some of the ideas from the original portable WINE, yes?

Thank you Mike!
As for the idea, my answer is yes and no. The portable wine(Jan. 2014) borrows the idea of this Portable Google Chrome(Dec. 2013).

Updating Chrome version, the Portable Google Chrome makes new version of SFS converting from .deb, and then replace the SFS from the older.
As for updating Chrome, maybe next version of this Portable Google Chrome borrows your technology .

Last edited by shinobar on Sat Aug 10, 2024 9:19 pm, edited 1 time in total.
User avatar
mikewalsh
Moderator
Posts: 6518
Joined: Tue Dec 03, 2019 1:40 pm
Location: King's Lynn, UK
Has thanked: 993 times
Been thanked: 2170 times

Re: Portable Google Chrome for Puppy

Post by mikewalsh »

@shinobar :-

shinobar wrote: Sat Aug 10, 2024 2:44 pm
mikewalsh wrote: Sat Aug 10, 2024 11:06 am

I guess this is borrowing some of the ideas from the original portable WINE, yes?

Thank you Mike!
As for the idea, answer is yes and no. The portable wine(Jan. 2014) borrows the idae of this Portable Google Chrome(Dec. 2013).

Uh-huh. Was that the one HoerMirAuf put together?

shinobar wrote: Sat Aug 10, 2024 2:44 pm

Updating Chrome version, the Portable Google Chrome makes new version of SFS converting from .deb, and then replace the SFS from the older.
As for updating Chrome, maybe next version of this Portable Google Chrome borrows your technology .

Well of course, you're very welcome to 'borrow' anything you like, mate. I've never had any fault to find with anything you've published; it's always been carefully thought-out and exquisitely executed. Frankly, I've always been a bit envious of your scripting skills; my own 'take' on your 'portable-WINE', using the WINE AppImages, is but a pale imitation.... :oops: :lol:

Mike. ;)

User avatar
shinobar
Posts: 89
Joined: Sat Oct 17, 2020 2:21 am
Location: Japan
Has thanked: 13 times
Been thanked: 72 times
Contact:

google-chrome-portable v0.9.5

Post by shinobar »

UPDATE: google-chrome-portable v0.9.5
DOWNLOAD: http://shinobar.server-on.net/puppy/opt ... 9.5.tar.gz
#2024-08-23 v0.9.5: unmount sfs, 300MB for data_file, data_file folder for linux partitions, auto download(mikewalsh, fredx181)

User avatar
shinobar
Posts: 89
Joined: Sat Oct 17, 2020 2:21 am
Location: Japan
Has thanked: 13 times
Been thanked: 72 times
Contact:

Post by shinobar »

UPDATE: google-chrome-portable v0.9.6
DOWNLOAD: http://shinobar.server-on.net/puppy/opt ... 9.6.tar.gz
#2024-08-23 v0.9.5: unmount sfs, 300MB for data_file, data_file folder for linux partitions, auto download(mikewalsh, fredx181)
#2024-09-04 v0.9.6: IME on bionicpup, no start page, Downloads link, old datafile detection, gtk2dialog

User avatar
shinobar
Posts: 89
Joined: Sat Oct 17, 2020 2:21 am
Location: Japan
Has thanked: 13 times
Been thanked: 72 times
Contact:

Updating Google Chrome

Post by shinobar »

If you already installed the Portable Google Chrome for Puppy, updating the google chrome is vary easy.

Accauding to the document:
Right-click the google-chrome-portable folder and select 'Build'. Or, open the folder and click the executable shell script icon 'Build'.
Click 'OK' button on the GUI window. Dowmloading and updating automatically proceeds.

bgeiselman
Posts: 2
Joined: Wed Feb 26, 2025 4:13 am

Re: Portable Google Chrome for Puppy

Post by bgeiselman »

Thanks for posting this! I am new to Linux. I successfully installed Google Chrome according to your instructions, but I get a constant warning that "You are using an unsupported command line flag: --no sandbox. Stability and security will suffer." Is this normal or did I do something wrong? Is the browser not secure? Thanks!

User avatar
rockedge
Site Admin
Posts: 7021
Joined: Mon Dec 02, 2019 1:38 am
Location: Connecticut,U.S.A.
Has thanked: 3149 times
Been thanked: 2933 times
Contact:

Re: Portable Google Chrome for Puppy

Post by rockedge »

@bgeiselman First let me say :welcome: to the forums!

The warning is Google Chrome's way of saying that the Google people don't like you running as the root user on your single user system. It does NOT actually endanger your system's security to use the --no-sandbox switch. Of course engaging in dangerous behavior overall is something to consider, you running Chrome portable as the root user and with that option will be safe and secure.

User avatar
pp4mnklinux
Posts: 1314
Joined: Wed Aug 19, 2020 5:43 pm
Has thanked: 684 times
Been thanked: 330 times

Re: Portable Google Chrome for Puppy

Post by pp4mnklinux »

bgeiselman wrote: Wed Feb 26, 2025 4:27 am

Thanks for posting this! I am new to Linux. I successfully installed Google Chrome according to your instructions, but I get a constant warning that "You are using an unsupported command line flag: --no sandbox. Stability and security will suffer." Is this normal or did I do something wrong? Is the browser not secure? Thanks!

Hi:

As @rockedge said, there is no problem with this and it could help you to remind that u are using it in a "google-incorrect-way" haha.... but it is possible you don't like that message because u gonna close it everytime.

I solved it adding this two commands.-

Code: Select all

--disable-infobars --test-type

So no annoying message again.-

Hope it helps

Have a nice day.

Last edited by pp4mnklinux on Wed Feb 26, 2025 4:38 pm, edited 2 times in total.
User avatar
rockedge
Site Admin
Posts: 7021
Joined: Mon Dec 02, 2019 1:38 am
Location: Connecticut,U.S.A.
Has thanked: 3149 times
Been thanked: 2933 times
Contact:

Re: Portable Google Chrome for Puppy

Post by rockedge »

pp4mnklinux wrote: Wed Feb 26, 2025 4:27 pm

Code: Select all

--disable-infobars --test-type

So no annoying message again.-

Hope it helps

Have a nice day.

Nice!! Very helpful tip! :thumbup:

williwaw
Posts: 2151
Joined: Tue Jul 14, 2020 11:24 pm
Has thanked: 196 times
Been thanked: 414 times

Re: Portable Google Chrome for Puppy

Post by williwaw »

bgeiselman wrote: Wed Feb 26, 2025 4:27 am

Thanks for posting this! I am new to Linux. I successfully installed Google Chrome according to your instructions, but I get a constant warning that "You are using an unsupported command line flag: --no sandbox. Stability and security will suffer." Is this normal or did I do something wrong? Is the browser not secure? Thanks!

Hi bgeiselman

the browser itself will be "secure" as much as google claims it to be (or not).
as for your puppy being secure running a google app as root, I would say your risk is "commonly considered to be safe and secure" but "the risks are still unknown" might be more accurate.

while you dont say which puppy you are using, most pups have a way to run an app as user spot. user spot is a specially configured user that enables you to run any app with restricted privileges. common usage for run-as-spot is for internet facing apps like browsers and email, and some of the newer pups are configured to run internet facing apps as spot by default.

bgeiselman
Posts: 2
Joined: Wed Feb 26, 2025 4:13 am

Re: Portable Google Chrome for Puppy

Post by bgeiselman »

Thanks, Williwaw.

Sorry that I forgot to mention. I am using BookwormPup64. I see there is a way to run Firefox as a spot user. I guess will have to figure out how to do that with Google Chrome.

User avatar
mikewalsh
Moderator
Posts: 6518
Joined: Tue Dec 03, 2019 1:40 pm
Location: King's Lynn, UK
Has thanked: 993 times
Been thanked: 2170 times

Re: Portable Google Chrome for Puppy

Post by mikewalsh »

@bgeiselman :-

Welcome to the "kennels". Nice to have you here.

There have always been ways to run Chrome as the 'root' user, though as others have said, this is NOT the Google-preferred way! Running the majority of apps as the root user is perfectly safe in Puppy.....why SHOULD you have to run a single-user system in the same way as a multi-user one, i.e, asking your system's permission to do every little thing? However, for anything internet-facing (like browsers) I find it preferable to follow accepted practice and run them AS the Puppy restricted-user "spot".

Way back around 2016-17, we found that Google had moved the goalposts, and begun to insist on running their browser as a restricted user.....at that time, the usual Puppy hacks had quit working. So, we found the only way around this was to start adding the 'home' directory to the root "/" file-system, in order to emulate the mainstream layout of /home/user.....where everything runs as a restricted user.

(Since then, other ways to achieve the original Puppy run-as-root Chrome have been found, like the "--test-type" 'wrapper' exec-line "switch", although this is intended, by Google, primarily for developers.)

============================

A year or two later, we began developing the Puppy-portable system. One of our devs - @fredx181 - figured out a way to do this with Firefox. I was intrigued, since I'd always wanted to do this with Chrome itself, in the same way as the Windows PortableApps. Mucho experimentation followed, and it wasn't long before I'd sussed-out & understood the nut's'n'bolts of the process.....after which, there was no stopping me, and shortly after - with plenty of assistance from other community members! - we had a whole range of 'portable' browsers.

Having evolved the 'home' user method for the Chrome SFS packages a couple of years earlier (thanks to @jamesbond), I turned my attention to the best way of implementing this for portable-Chrome. Turned out the way to achieve it was to create a mini-"spot" directory within the portable itself (with appropriate permissions), then create profiles, etc, inside that. Downloads will end up in the /home/spot directory - this is now standard across all Puppies - but in every other respect, the portable Chrome is self-contained, and can be run in literally ANY Puppy.......either from a flash-drive, or from outside Puppy itself, and then 'linked' into any Puppy you wish to use it in. This way, a single instance of the browser can be shared between several Pups......and it removes the need to have to 'sync' your profile with Google's servers, too, since all Puppies are using the same browser AND profile.

After this, since many of our members are concerned about internet security, I began to add the ability to some of the other 'portable' browsers for the user to choose, at launch time, whether to run-as-root OR run-as-spot (Iron, Slimjet & Opera ATM). And since the built-in Chrome update mechanism doesn't function in Linux the way it does for the Windows build, I subsequently figured out a 'manual' method to do THIS via a script (after much head-scratching!).....which Fred later developed into a fully-automatic mechanism that checked for updates every time you fired it up. It works rather well!

Anyways, enough of this waffle. If you're interested, the 'other' portable-Chrome can be found here:-

viewtopic.php?t=146

Entirely up to you, of course. Like everywhere else in Linux, there's lots of ways of achieving the same result.....and although shinobar's portable Chrome & my portable Chrome go about it in different ways, the net result is the same. We all bounce stuff off each other, and borrow ideas & concepts here and there as needed. It's what a community is all about; at the end of the day, we just want to try and improve the Puppy experience for everyone.

(The main reason mine is back on page two of "Browsers & Internet" is simple.......because once you've downloaded it, it keeps itself up to date. You don't need to keep re-visiting the thread to download a new version.....(*shrug*)) :D

Mike. ;)

User avatar
shinobar
Posts: 89
Joined: Sat Oct 17, 2020 2:21 am
Location: Japan
Has thanked: 13 times
Been thanked: 72 times
Contact:

google-chrome-portable v0.9.7

Post by shinobar »

pp4mnklinux wrote: Wed Feb 26, 2025 4:27 pm

I solved it adding this two commands.-

Code: Select all

--disable-infobars --test-type

Thanks!
#2025-03-21 v0.9.7: option '--disable-infobars --test-type' (pp4mnklinux)
google-chrome-portable v0.9.7 (2025-03-21)
https://shinobar.net/puppy/opt/pup64/go ... 9.7.tar.gz

Post Reply

Return to “Browsers and Internet”