google-chrome:no better than chromium in root mode

Non release banter
Post Reply
User avatar
francois
Contributor
Contributor
Posts: 4988
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

google-chrome:no better than chromium in root mode

Post#1 by francois » 04 Oct 2015, 20:10

Working on a way to be with the latest version of the google-chrome desktop, there are two options: 1) going for chromium proposed by alien bob:
viewtopic.php?f=53&t=4890&p=37340#p37340
which seems to be be problematic because of security issues.

or going for the google-chrome version with SlackBuild:
http://slackbuilds.org/mirror/slackware ... le-chrome/

In this howto we are going for the google-chrome version from the files located in:
http://slackbuilds.org/mirror/slackware ... le-chrome/

INSTRUCTIONS:
1.0 create /tmp/google-chrome-current

Code: Select all

root@porteus:/# mkdir  /tmp/google-chrome-current
2.0 create and install the the slack-desc and google-chrome.SlackBuild files by copy/pasting the info into text files with their appropriate file names into /tmp/google-chrome-current:
slack-desc
google-chrome.SlackBuild

3.0 Modify google-chrome.SlackBuild error:
As there is an error on the SlackBuild modify it accordingly with your favorite text editor (kwrite or mousepad):
http://bovitron.com/blogostu/2015/03/04 ... 0-2272-76/
Change:

Code: Select all

ar p $CWD/google-chrome-${RELEASE}_current_${DEBARCH}.deb data.tar.lzma | lzma -d | tar xv || exit 1
to:

Code: Select all

ar p $CWD/google-chrome-${RELEASE}_current_${DEBARCH}.deb data.tar.xz | xz -d | tar xv || exit 1
4.0 Assign the right permission to google-chrome.SlackBuild:
right click on the file > contextual menu > properties > permissions > executable

5.0 Download the necessary google-chrome-stable_current_<architecture>.deb in /tmp/google-chrome-current :
https://www.google.com/chrome/browser/t ... form=linux

6.0 change to /tmp/google-chrome-current and build txz package:

Code: Select all

root@porteus:/tmp/google-chrome# ./google-chrome.SlackBuild
7.0 with right click contextual menu transform the .txz to .xzm and then double click on it to activate.

However, with the google-chrome version as with alien bob chromium version you will need:

Code: Select all

/etc/google/chrome/google-chrome --no-sandbox --user-data-dir
Voltaire: Le mieux est l'ennemi du bien.

neko
DEV Team
DEV Team
Posts: 930
Joined: 09 Feb 2013, 09:55
Distribution: APorteus-FVWM-ja-x86_64.iso
Location: japan

Re: google-chrome:no better than chromium in root mode

Post#2 by neko » 10 Oct 2015, 11:45

@francois
"mkgoogle-chrome" command was added described in "the Tool of Building Slimjet browser module" thread.
viewtopic.php?f=75&t=4875#p35562

Thanks.

User avatar
francois
Contributor
Contributor
Posts: 4988
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

Re: google-chrome:no better than chromium in root mode

Post#3 by francois » 10 Oct 2015, 12:08

You are great!
Voltaire: Le mieux est l'ennemi du bien.

Post Reply