Chrome 64bit run-as-spot. Closed

Moderator: Forum moderators

Post Reply
ozsouth
Posts: 1569
Joined: Sun Jul 12, 2020 2:38 am
Location: S.E. Australia
Has thanked: 241 times
Been thanked: 704 times

Chrome 64bit run-as-spot. Closed

Post by ozsouth »

EDIT 23/10/21 -
@mikewalsh now has an updater built into his portable chrome - excellent!
See: http://forum.puppylinux.com/viewtopic.p ... 790#p39790

I'm making Firefox ESR ALSA packages instead.
See: http://forum.puppylinux.com/viewtopic.p ... 132#p39132

I've made a 64bit Chrome RUN-AS-SPOT .pet version 94.0.4606.81. Tested OK in ScPup64-20.06.
Does not need apulse. Use at own risk.
Chrome is designed to be run as a less-privileged user - it doesn't run properly or safely as root.

Should anyone really want to run as root (not recommended), do install and before first start up,
edit /usr/bin/chrome , - remove last line & replace with:
exec -a "$0" "/opt/google/chrome/chrome" "$@" --user-data-dir --test-type --no-sandbox

You can save 3 files - just your Preferences, Bookmarks & Login Data (passwords) files, before any uninstall/installs.
(see /home/spot/.config/google-chrome/Default).
(After first start, can reinstate your Preferences, Bookmarks & Login Data files if you saved them, but then must ensure still part of spot group, by running in a terminal: chown -R spot:spot /home/spot ).

To install, first uninstall any other chrome version, then click on .pet in ROX-Filer.
Will have a menu entry under Internet submenu.

Is here: https://archive.org/download/Puppy_Linu ... 1-spot.pet
I apologise if any ads shown at Mediafire links are inappropriate.

ScPup64 needs gtk+3 from here: https://archive.org/download/Puppy_Linu ... 2404.7.pet

ScPup64 also needs libxkbcommon libs attached below.

Attachments
libxkbcommon64s.pet
For ScPup64 ONLY
(99.48 KiB) Downloaded 81 times
Last edited by ozsouth on Fri Oct 22, 2021 10:42 pm, edited 87 times in total.
ozsouth
Posts: 1569
Joined: Sun Jul 12, 2020 2:38 am
Location: S.E. Australia
Has thanked: 241 times
Been thanked: 704 times

Updt Chrome 64bit RUN-AS-SPOT

Post by ozsouth »

.

Last edited by ozsouth on Sun Feb 21, 2021 10:49 pm, edited 1 time in total.
one
Posts: 244
Joined: Sun Jul 12, 2020 7:53 am
Has thanked: 16 times
Been thanked: 59 times

Re: Chrome 64bit RUN-AS-SPOT

Post by one »

Hi ozsouth,

thank you for your effort - but the link from FilePup returns after the message "download started"
a "404" (Not found) ...

ozsouth
Posts: 1569
Joined: Sun Jul 12, 2020 2:38 am
Location: S.E. Australia
Has thanked: 241 times
Been thanked: 704 times

Re: Chrome 64bit RUN-AS-SPOT

Post by ozsouth »

@one - Sadly, Filepup has had issues occasionally in recent times. The high number of downloads showing probably means others have had to retry at different times. I know our archivist @ally has. I've been trialling others - many of which are worse.

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

Re: Chrome 64bit RUN-AS-SPOT

Post by mikewalsh »

ozsouth wrote: Thu Feb 18, 2021 9:58 pm

@one - Sadly, Filepup has had issues occasionally in recent times. The high number of downloads showing probably means others have had to retry at different times. I know our archivist @ally has. I've been trialling others - many of which are worse.

@ozsouth :-

Oz, if you want a reliable file-host that just works, you could do a lot worse than try MediaFire. I've had an a/c with them for around 6 years, and on the one occasion when I did have an issue with my account, their customer service team very promptly & courteously sorted it out for me.

I'd recommend them to anyone. They've always been pure "gold".

Mike. ;)

ozsouth
Posts: 1569
Joined: Sun Jul 12, 2020 2:38 am
Location: S.E. Australia
Has thanked: 241 times
Been thanked: 704 times

Re: Chrome 64bit RUN-AS-SPOT

Post by ozsouth »

@mikewalsh - Thanks. I looked at them some time ago, but the scruffy ads they had didn't fit my ethos. I will look at them again.

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

Re: Chrome 64bit RUN-AS-SPOT

Post by mikewalsh »

ozsouth wrote: Thu Feb 18, 2021 11:27 pm

@mikewalsh - Thanks. I looked at them some time ago, but the scruffy ads they had didn't fit my ethos. I will look at them again.

I use AdGuard to block all that stuff out, Oz. I never SEE any ads..! :P

Mike. ;)

ozsouth
Posts: 1569
Joined: Sun Jul 12, 2020 2:38 am
Location: S.E. Australia
Has thanked: 241 times
Been thanked: 704 times

Updt Chrome 64bit RUN-AS-SPOT

Post by ozsouth »

.

Last edited by ozsouth on Thu Apr 22, 2021 11:54 pm, edited 1 time in total.
User avatar
Grey
Posts: 2024
Joined: Wed Jul 22, 2020 12:33 am
Location: Russia
Has thanked: 76 times
Been thanked: 376 times

Re: Chrome 64bit RUN-AS-SPOT

Post by Grey »

Hello ozsouth. Is this your script for Chromium or someone else? I use it to launch fresh Chromium by tweaking it slightly.

Code: Select all

#!/bin/sh
   APP=/opt/chromium-ungoogled/chrome
#script to run $APP as spot...
ARGS=""
[ "$1" ] && while [ "$1" ]; do ARGS="$ARGS \"$1\""; shift; done
if [ $(id -u) -eq 0 ]; then
 [ $XAUTHORITY ] && cp $XAUTHORITY /root/spot/.Xauthority 2>/dev/null
 touch /root/spot/.Xauthority
 #following line is mostly there to catch any root:root files that may have got copied in...
 find /root/spot \( -not -user spot -or -not -group spot \) -exec chown -h spot:spot {} \; &
 export XAUTHORITY=/root/spot/.Xauthority  
 export XDG_CONFIG_HOME=/root/spot/.config
 export XDG_CACHE_HOME=/root/spot/.cache
 export XDG_DATA_HOME=/root/spot/.local/share
 exec su spot -s /bin/sh -c "\"$APP\" $ARGS"
else #precaution
 exec "$APP" "$ARGS"
fi

Fossapup OS, Ryzen 5 3600 CPU, 64 GB RAM, GeForce GTX 1050 Ti 4 GB, Sound Blaster Audigy Rx with amplifier + Yamaha speakers for loud sound, USB Sound Blaster X-Fi Surround 5.1 Pro V3 + headphones for quiet sound.

ozsouth
Posts: 1569
Joined: Sun Jul 12, 2020 2:38 am
Location: S.E. Australia
Has thanked: 241 times
Been thanked: 704 times

Updt Chrome 64bit RUN-AS-SPOT

Post by ozsouth »

@Grey - my chrome launcher is very simple (is in /usr/bin):

Code: Select all

#!/bin/sh

export LD_LIBRARY_PATH=/opt/google/chrome:$LD_LIBRARY_PATH

glib-compile-schemas /usr/share/glib-2.0/schemas

run-as-spot /opt/google/chrome/chrome "$@"
Last edited by ozsouth on Thu Apr 22, 2021 11:56 pm, edited 1 time in total.
User avatar
Grey
Posts: 2024
Joined: Wed Jul 22, 2020 12:33 am
Location: Russia
Has thanked: 76 times
Been thanked: 376 times

Re: Chrome 64bit RUN-AS-SPOT

Post by Grey »

@ozsouth Okay, got it.

Fossapup OS, Ryzen 5 3600 CPU, 64 GB RAM, GeForce GTX 1050 Ti 4 GB, Sound Blaster Audigy Rx with amplifier + Yamaha speakers for loud sound, USB Sound Blaster X-Fi Surround 5.1 Pro V3 + headphones for quiet sound.

ozsouth
Posts: 1569
Joined: Sun Jul 12, 2020 2:38 am
Location: S.E. Australia
Has thanked: 241 times
Been thanked: 704 times

Updt Chrome 64bit RUN-AS-SPOT

Post by ozsouth »

.

Last edited by ozsouth on Wed May 12, 2021 10:47 am, edited 1 time in total.
User avatar
mikewalsh
Moderator
Posts: 6163
Joined: Tue Dec 03, 2019 1:40 pm
Location: King's Lynn, UK
Has thanked: 795 times
Been thanked: 1982 times

Re: Chrome 64bit RUN-AS-SPOT

Post by mikewalsh »

@ozsouth :-

Hiya, Oz. Been wondering; out of pure curiosity, how are you getting on with MediaFire? Any probs?

I've had a couple of small issues over the years, both of which they fixed very politely & promptly, without any fuss. I know they all tend to use ads these days; TBH, it's very hard to find free file-hosting that doesn't.

(I've no idea if this is the case with the 'Drive'; the way it works with Google, you have to have an a/c with 'em before you qualify for the Drive anyway. From what I can work out, I probably qualified via 'grandad rights', since I've had a Google a/c for almost 20 years.....)

Mike. ;)

ozsouth
Posts: 1569
Joined: Sun Jul 12, 2020 2:38 am
Location: S.E. Australia
Has thanked: 241 times
Been thanked: 704 times

Updt Chrome 64bit RUN-AS-SPOT

Post by ozsouth »

@mikewalsh - Mediafire as a service is working well - thanks for the recommendation a few months ago.
It's the type of ads that concerns me, so I add to my links an apology in case any are inappropriate, which also serves as a warning. When I first looked years ago, you couldn't close ads & some were bordering onporn - now seem to be mostly betting, which I still worry about impressionable folk getting. At least you can just close them & continue to download now.

Clarity
Posts: 3834
Joined: Fri Jul 24, 2020 10:59 pm
Has thanked: 1632 times
Been thanked: 524 times

Re: Chrome 64bit RUN-AS-SPOT

Post by Clarity »

For Google Drive storage, there is a unique benefit. No ads! Not to mention that the ONLY corporation with a faster overall IP network is IBM. Google Drive's downloads & speed bests EVERYONE (except those with IBM stores)!

I am NOT a Google employee nor am I an advocate, so DONT attack for the obervation shared.

If you have a Google ID (a/c) test for yourself.

My current drawback: I haven't found howto use WGET to direct a download from a Google link; thus, I have always used a browser.

ozsouth
Posts: 1569
Joined: Sun Jul 12, 2020 2:38 am
Location: S.E. Australia
Has thanked: 241 times
Been thanked: 704 times

Updt Chrome 64bit RUN-AS-SPOT

Post by ozsouth »

.

Last edited by ozsouth on Thu Jun 10, 2021 4:06 am, edited 1 time in total.
User avatar
mikeslr
Posts: 2964
Joined: Mon Jul 13, 2020 11:08 pm
Has thanked: 178 times
Been thanked: 919 times

Re: Chrome 64bit RUN-AS-SPOT

Post by mikeslr »

Clarity wrote: Wed May 12, 2021 12:17 am

For Google Drive storage, there is a unique benefit. No ads! Not to mention that the ONLY corporation with a faster overall IP network is IBM. Google Drive's downloads & speed bests EVERYONE (except those with IBM stores)!...

I don't have the time right now to write an essay which links the following two observations and explain why Organizational objectives of efficiency and growth conflicts with Human objectives of freedom and opportunity. So, I'll leave it to you to connect the dots.
"Power tends to corrupt and absolute power corrupts absolutely." Lord Acton.
And Esau sold his birthright for a plate of beans. paraphrasing Genesis 25:29-24.

Clarity
Posts: 3834
Joined: Fri Jul 24, 2020 10:59 pm
Has thanked: 1632 times
Been thanked: 524 times

Re: Chrome 64bit RUN-AS-SPOT

Post by Clarity »

As I remember from my undergrad days: "There are those (few) who rise to the top with NO interest in corruption; while there are also those who rise to the top using corruptions as their means to grab and maintain power." We have to learn to be able to tell the difference (evidence).

User avatar
mikeslr
Posts: 2964
Joined: Mon Jul 13, 2020 11:08 pm
Has thanked: 178 times
Been thanked: 919 times

Re: Chrome 64bit RUN-AS-SPOT

Post by mikeslr »

It is not the rise to power which corrupts. It is the exercise of it. It is true from the petty bureaucrat to the God-Kings of Ancient Egypt or North Korea. It is true of Google. For example, viewtopic.php?p=27195#p27195.

ozsouth
Posts: 1569
Joined: Sun Jul 12, 2020 2:38 am
Location: S.E. Australia
Has thanked: 241 times
Been thanked: 704 times

Updt Chrome 64bit RUN-AS-SPOT

Post by ozsouth »

New version 94.0.4606.81. See first post.

bigphil
Posts: 95
Joined: Tue Jul 21, 2020 12:56 pm
Location: Sunny Sussex
Has thanked: 14 times
Been thanked: 16 times

Re: Chrome 64bit run-as-spot paused

Post by bigphil »

@ozsouth,
why does the header on this thread say 'paused', does this mean you will no longer produce any version updates?
If so would you kindly post an easy explanation on how to produce the .pet so a simple person like me can do it.

regards
Phil

ozsouth
Posts: 1569
Joined: Sun Jul 12, 2020 2:38 am
Location: S.E. Australia
Has thanked: 241 times
Been thanked: 704 times

Re: Chrome 64bit run-as-spot paused

Post by ozsouth »

Hi there in Sunny Sussex, Phil (I stayed in Hove 4 years ago - nice).

I'm not using Puppy much these days (use Chromebook instead), and there are alternatives
from Mike Walsh & Peebee. Also my Chrome .pets get downloaded an average of just 4 times
whereas my Firefox hits double figures, so I figured it wouldn't be a great loss if I stopped.
As Chrome sometimes update 3 times in a week, it's becoming more onerous.

I basically download the .deb file from Chrome's site & in a terminal expand it in an empty folder,
via: dpkg-deb -x (deb name .deb) new
(their debs are about to get a different compression so our dpkg-deb will need updating).
I then expand my previous .pet in another empty folder in a terminal via: tar -Jxvf (pet name .pet)
then update new parts from aforementioned .deb folder (new), then move the now-updated .pet
folder to root, give it meaningful name, cd / then run dir2pet in a terminal. Then test in
fossapup64 & ScPup64. ScPup64 needs gtk3 & libxkbdcommon lib packages (see first post in
this thread). As long as you work in empty folders, you shouldn't corrupt your system. Have a
few practice runs & ask if you get stuck.

Post Reply

Return to “Browsers and Internet”