Portable Google Chrome for Puppy

Browsers, email, chat, etc.
Message
Author
User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

Portable Google Chrome for Puppy

#1 Post by shinobar »

google-chrome-portable-0.7.tar.gz (2014-06-27)
http://shino.pos.to/party/bridge.cgi?puppy/opt/pup5/
DOCUMENT

Also available Portable Firefox --> http://www.murga-linux.com/puppy/viewtopic.php?t=91945
Portable SeaMonkey --> http://www.murga-linux.com/puppy/viewtopic.php?t=92015

Works with Precise Puppy and Slacko.
Phat Slacko, Slacko 5.5/5.6: see http://www.murga-linux.com/puppy/viewto ... 507#790507
Does not work on older Puppies.
Note: Recent Google Chrome does not support JAVA plugin. See http://www.murga-linux.com/puppy/viewto ... 964#797964

Google Chrome portable places the Google Chrome with its configuration files in a folder to utilize it without installing it in the puppy space(pupsave).

The Google Chrome portable 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. But amazingly, it takes no time. They are unmounted at the browsing finished so that the loop back devices to be free.

The Google Chrome portable 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.
Attachments
google_chrome_install.png
Firstly, you need to download the google chrome .deb package
(11.53 KiB) Downloaded 33637 times
Last edited by shinobar on Sat 06 Sep 2014, 16:04, edited 9 times in total.
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

jimmyjoe
Posts: 3
Joined: Fri 31 Jan 2014, 00:00

Chrome always says it wasn't closed properly

#2 Post by jimmyjoe »

Hi, shinobar and thank you for this great stuff! It installed without any problem and is working better than Chromium, which I used prevoiusly. What doesn't work is remembering the last session. Every time I close Chrome, on next start it says it wasn't properly shut down and returns to the first session ever. I found a 3fs file with google-chrome-config folder which looks OK. Could you suggest how to troubleshoot?

gcmartin

#3 Post by gcmartin »

Hi @Shinobar. Would you comment on "What happens when the desktop has to be restarted when this Chrome is active and running prior to a Ctrl-Alt-Bksp?". What happens in Chrome portable as it is restarted on the desktop by the user?

Thanks @Shinobar, as, your comments will clear this confusion.

P.S. Your DOCUMENT url in the opening post needs your attention: It is missing the "h" for the "http:..."
Last edited by gcmartin on Fri 31 Jan 2014, 02:23, edited 1 time in total.

gcmartin

Building the Chrome as a portable app in PUPPY.

#4 Post by gcmartin »

@Shinobar,
  • is this Chrome utility you offer ONLY for 32bit PUPs? It appears that it "may" also work for 64bit PUPs as well.
  • What happens in the future when new versions of Chrome arrive?
  • Should the utility be renamed from "Chrome Installer" to "Chrome Installer and Version Updater"? (that is, if it is designed for updates or even for Chromium options)
Thanks in advance for any help from you in answering these items raised.

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

Re: Google Chrome wasn't properly shut down

#5 Post by shinobar »

@gcmartin
Fixed theDOCUMENT link. Thanks.
Updating the Google Chrome, see the document.
As for the 64bit, try and hear me the result.

@jimmyjoe
Try this to see what happens.
1. Open the google-chrome-portable folder
2. Edit the script google-chrome-portable:
After the line 136, insert sleep 1 or more.
google-chrome-portable wrote: HOME="$EXTMNTPNT" "$GOOGLE_PATH" --user-data-dir="$USER_DATA_DIR" --disk-cache-dir="$DISK_CACHE_DIR" "$EXECPARAM" ###FIXME 2> "$GOOGLE_LOGFILE"
STATUS=$?
sleep 1
umountsfs
umountext
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

Fabio T
Posts: 90
Joined: Fri 31 Aug 2007, 20:33
Location: Italy

#6 Post by Fabio T »

In FatDog64 630, GoogleChromePortable don't works... Google Chrome (.sfs and .pet) breaks CUPS that complains "Internal Server Error".

This is log file:

'/mnt/home/Downloads/google-chrome-portable-0.5/google-chrome-0.5.sfs' is mounted on '/mnt/+mnt+home+Downloads+google-chrome-portable-0.5+google-chrome-0.5.sfs'.
'/mnt/home/Downloads/google-chrome-portable-0.5/google-chrome-config.3fs' is mounted on '/mnt/+mnt+home+Downloads+google-chrome-portable-0.5+google-chrome-config.3fs'.
HOME=/mnt/+mnt+home+Downloads+google-chrome-portable-0.5+google-chrome-config.3fs /mnt/+mnt+home+Downloads+google-chrome-portable-0.5+google-chrome-0.5.sfs/opt/google/chrome/google-chrome --user-data-dir=/mnt/+mnt+home+Downloads+google-chrome-portable-0.5+google-chrome-config.3fs/google-chrome-config --disk-cache-dir=/mnt/home/Downloads/google-chrome-portable-0.5 file:///usr/share/doc/home.htm
'/mnt/+mnt+home+Downloads+google-chrome-portable-0.5+google-chrome-0.5.sfs' unmounted.
'/mnt/+mnt+home+Downloads+google-chrome-portable-0.5+google-chrome-config.3fs' unmounted.

User avatar
ally
Posts: 1957
Joined: Sat 19 May 2012, 19:29
Location: lincoln, uk
Contact:

#7 Post by ally »

hey shinobar

working in slacko 5.6.5.6

nice! thanks

:)

User avatar
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

#8 Post by sunburnt »

Hi shinobar; An interesting approach to a no-install portable app.

But wouldn`t just having it on a partition with config. files be easier than using 2 union layers.?
I seem to recall the last no-install Chrome I made only needed one link for it to work properly.

Firefox comes setup like this, except like Chrome it still uses $HOME for config. and cache.
So in making a truly self-contained portable package like yours, 2 links are all that`s needed.
1 link for the config. dir., and 1 link so the cache isn`t in the Save file ( => /tmp/mozilla/firefox ).

In a truly multi-user Linux, the link setup would not work, but this setup of shinobar`s would...
.

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

Portable Firefox

#9 Post by shinobar »

Portable Firefox is now available:
http://www.murga-linux.com/puppy/viewtopic.php?t=91945

The Google Chrome needs SFS and .3fs because it requires linux file systems.
The Firefox is more simple because it is file system free.
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

gcmartin

#10 Post by gcmartin »

Hi @Shinobar. Thanks for this.

Would you mind updating the Title of this thread AND copying the Firefox portable info to your opening post as well.?

One idea for a title that comes to mind is "Firefox & Chrome - portable apps for Precise Puppy". Just an idea that may help others find your new entry.

User avatar
Ted Dog
Posts: 3965
Joined: Wed 14 Sep 2005, 02:35
Location: Heart of Texas

#11 Post by Ted Dog »

how about a chrome and pepper flash prebuilt iso. I would like to check if video from Amazon Prime can play in Linux again. But not to happy running google anything from my regular puppylinux setups.
Second problem is lack of good video support on most puppies. Fatdog64 works well on both 64bit boxes when playing video even witbout proprietary drivers. v621 has a good base.

gcmartin

Use in Slacko5.7 - ALSO where to store browser dynamic files

#12 Post by gcmartin »

Hi @Shinobar.

Questions
  • Does this (and also Firefox's implementation) work in SLACKO 5.7?
  • Can/should the "installer dialogue picture" (shown in your opening post of both Chrome and Firefox) request the user's input to where the installation of the dynamic files should occur outside of the PupSave subsystem OR should these be standardized in some specific folder? (Shinobar, you refer to this folder as the 'google-chrome-portable' folder and I believe the dialogue picture you show would better serve the user if a location could be selected on that screen)
Thanks in advance for any guidance.
Last edited by gcmartin on Mon 10 Mar 2014, 06:38, edited 2 times in total.

gcmartin

Shinobar's "Family of Portable Browsers"

#13 Post by gcmartin »

On another topic, @Shinobar, could you add an entry in your opening post with a link directing users to the SeaMonkey Portable you provide as well as the Firefox one you already provide?

This entry would make many aware of the "family of portables" you are maintaining for our use.

Hope this helps

gcmartin

Error in attempt to use Portable Installation Utility

#14 Post by gcmartin »

I tried installing the Portable Dialogue on Slacko57.

I get the following error when clicking on the folder after unzipped for installation of the Portable Installation Dialogue Utility:

Code: Select all

Google Chrome Installer 0.5: fatal ERROR

Now running on the virtual storage '//192.168.1.44/nas1', but this script must be placed on an actual storage mounted under '/mnt'.
Scenario
  1. I have a PC that does NOT have any local peripherals meaning there is NO HDDs/USBs.
  2. I have a mount to folder I made via root ID on my LAN.
  3. The NAS was then mounted from the address in the message to /mnt/nas1.
  4. The Installer for Portable is downloaded to /mnt/nas1/files.
  5. The installer is double-click executed and the resulting tarball is installed within /mnt/nas1/files/runtime
.All seems well until I double-clicked /mnt/nas1/files/runtime/google-chrome-portable-0.5, where I get the message shown.

Seems like a bug when trying to use the Installation dialog after unzipping to a LAN NAS folder.

Any ideas for circumvention. And, will I get a similar error when I try to set Chrome's folder-file needs on the nas1?

Please offer guidance
Attachments
Installation Error.png
I double-clicked /mnt/nas1/files/runtime/google-chrome-portable-0.5 object shown below
(6.05 KiB) Downloaded 34759 times

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

Google Chrome on Slacko Puppy

#15 Post by shinobar »

1. Google Chrome portable does not intend to run on the network drives.
2. Slacko needs GConf installed.
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

google-chrome-portable-0.6

#16 Post by shinobar »

UPDATE: google-chrome-portable-0.6.tar.gz
http://shino.pos.to/party/bridge.cgi?pu ... 5/precise/
#2014-03-12 v0.6: fix was failed to show missings, import old portable bookmarks, allow over network
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

gcmartin

Errors exist upon installation of Chrome Portable

#17 Post by gcmartin »

Attempted to install this portable to PhatSlacko 5.5. Cannot access Chrome. Message during installation:

Code: Select all

Extracting  '/root/Downloads/google-chrome-stable_current_i386.deb'
to '/var/tmp/google-chrome-portable-root...
__________________________________________
Making '/var/tmp/google-chrome-0.6.sfs'...
__________________________________________
Making user data file...
__________________________________________
Updating menu...
__________________________________________
Google Chrome Installer 0.6

Build completed.
Do you want to start Google Chrome now?
__________________________________________
Google Chrome Installer 0.6: fatal ERROR

Google Chrome failed.
Maybe 'libnss3' and 'libnspr4' need to be updated.
See '/tmp/google-chrome-portable.log'.
The 1st post of this thread suggest where these are. BUT, they cannot be referenced by http. AND, they are NOT provided via the Slacko PPM.

Code: Select all

# wget -c http://security.ubuntu.com/ubuntu/pool/main/n/nss/libnss3_3.15.3-0ubuntu0.12.04.1_i386.deb
--2014-04-16 21:51:37--  http://security.ubuntu.com/ubuntu/pool/main/n/nss/libnss3_3.15.3-0ubuntu0.12.04.1_i386.deb
Resolving security.ubuntu.com (security.ubuntu.com)... 91.189.92.201, 91.189.91.15, 91.189.88.150, ...
Connecting to security.ubuntu.com (security.ubuntu.com)|91.189.92.201|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2014-04-16 21:51:37 ERROR 404: Not Found.
Help!

User avatar
OscarTalks
Posts: 2196
Joined: Mon 06 Feb 2012, 00:58
Location: London, England

#18 Post by OscarTalks »

I've got no experience of PhatSlacko, only the standard Slacko, but those libs are inside the Firefox directory (which is added to LD_LIBRARY_PATH by /etc/profile so they should be found). If Chrome is not working because they are too old, updating your Firefox should cure that.
Oscar in England
Image

YoutIndia
Posts: 14
Joined: Tue 12 Feb 2013, 15:24

#19 Post by YoutIndia »

I am getting low res fonts in google search pages. This was not a issue from another chrome 32 that I have installed on my same laptop running puppy precise 5.7.1.

Here is the pic of how the affected page looks like. Almost every site is affected by this. The font is low res and mono. I don't know why, but it just is :

Image

The fonts on many pages are really low res. What can I do to fix that. As for now I am reverting to the older Chrome 32 from some .pet that I am running, but please tell me how to fix this as your chrome portable is the only way to have the latest Google chrome installed on Puppy Linux.

Anyone else having this problem as mine?

User avatar
Puppus Dogfellow
Posts: 1667
Joined: Tue 08 Jan 2013, 01:39
Location: nyc

#20 Post by Puppus Dogfellow »

YoutIndia wrote:
The fonts on many pages are really low res. What can I do to fix that. As for now I am reverting to the older Chrome 32 from some .pet that I am running, but please tell me how to fix this as your chrome portable is the only way to have the latest Google chrome installed on Puppy Linux.

Anyone else having this problem as mine?
untrue.

use
chrome33 pet
plus
google chrome fixator pet.

those two should work together to do what you want on any modern puppy.
(presently i have chrome33 running on precise 5.5, 5.6, and 5.7.)

hth (and i'm not sure why it wouldn't, though i can remember the jump from 28-31 being rough on the 5.5 install.)

Post Reply