Page 1 of 1
Chrome 64bit run-as-spot. Closed
Posted: Thu Nov 12, 2020 7:26 am
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.
Updt Chrome 64bit RUN-AS-SPOT
Posted: Wed Feb 17, 2021 7:20 am
by ozsouth
Re: Chrome 64bit RUN-AS-SPOT
Posted: Thu Feb 18, 2021 9:53 pm
by one
Hi ozsouth,
thank you for your effort - but the link from FilePup returns after the message "download started"
a "404" (Not found) ...
Re: Chrome 64bit RUN-AS-SPOT
Posted: Thu Feb 18, 2021 9:58 pm
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.
Re: Chrome 64bit RUN-AS-SPOT
Posted: Thu Feb 18, 2021 11:06 pm
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.
Re: Chrome 64bit RUN-AS-SPOT
Posted: Thu Feb 18, 2021 11:27 pm
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.
Re: Chrome 64bit RUN-AS-SPOT
Posted: Fri Feb 19, 2021 12:54 am
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..!
Mike.
Updt Chrome 64bit RUN-AS-SPOT
Posted: Thu Apr 22, 2021 1:52 am
by ozsouth
Re: Chrome 64bit RUN-AS-SPOT
Posted: Thu Apr 22, 2021 2:18 am
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
Updt Chrome 64bit RUN-AS-SPOT
Posted: Thu Apr 22, 2021 2:32 am
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 "$@"
Re: Chrome 64bit RUN-AS-SPOT
Posted: Thu Apr 22, 2021 11:49 am
by Grey
Updt Chrome 64bit RUN-AS-SPOT
Posted: Tue May 11, 2021 11:13 am
by ozsouth
Re: Chrome 64bit RUN-AS-SPOT
Posted: Tue May 11, 2021 3:08 pm
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.
Updt Chrome 64bit RUN-AS-SPOT
Posted: Tue May 11, 2021 11:35 pm
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.
Re: Chrome 64bit RUN-AS-SPOT
Posted: Wed May 12, 2021 12:17 am
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.
Updt Chrome 64bit RUN-AS-SPOT
Posted: Wed May 26, 2021 8:40 am
by ozsouth
Re: Chrome 64bit RUN-AS-SPOT
Posted: Wed May 26, 2021 3:28 pm
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.
Re: Chrome 64bit RUN-AS-SPOT
Posted: Sat May 29, 2021 8:59 am
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).
Re: Chrome 64bit RUN-AS-SPOT
Posted: Sat Jun 05, 2021 2:01 pm
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.
Updt Chrome 64bit RUN-AS-SPOT
Posted: Fri Oct 08, 2021 1:16 am
by ozsouth
New version 94.0.4606.81. See first post.
Re: Chrome 64bit run-as-spot paused
Posted: Sat Oct 16, 2021 5:00 pm
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
Re: Chrome 64bit run-as-spot paused
Posted: Sat Oct 16, 2021 11:46 pm
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.