Install latest Chromium instead of Chrome in Porteus kiosk 32-bit 3.7.0

Here you can post about the issues related to modifications performed manually (not through the kiosk wizard). Example: swapped kernel, added 3rd party modules or files.
Please describe in detail what has been changed and hopefully other kiosk user will be able to help.
Porteus team wont resolve bugs posted in this category as we support only modifications made by the kiosk wizard.
Forum rules
Porteus Kiosk section of the forum is unmaintained now. Its kept in a 'read only' mode for archival purposes.
Please use the kiosk contact page for directing your queries: https://porteus-kiosk.org/contact.html
link08
Black ninja
Black ninja
Posts: 30
Joined: 27 Sep 2017, 14:40
Distribution: Porteus-Kiosk-3.7.0-i586

Install latest Chromium instead of Chrome in Porteus kiosk 32-bit 3.7.0

Post#1 by link08 » 29 Sep 2017, 12:39

We need to make kiosk system for very old computers with 32-bit processors. However version of Google chrome included with latest 32-bit version of porteus kiosk 3.7.0 do not work correctly with our web sites. Because of this we want to substitute Google chrome with Chromium (or at least Opera) which works with our sites good. Firefox do not work with out sites good. I can not find any how-to where I can see steps that I need to do to substitue Google Chrome with Chromium or Opera.

link08
Black ninja
Black ninja
Posts: 30
Joined: 27 Sep 2017, 14:40
Distribution: Porteus-Kiosk-3.7.0-i586

Install latest Chromium instead of Chrome in Porteus kiosk 32-bit 3.7.0

Post#2 by link08 » 13 Oct 2017, 13:26

As of now we decided to abandon Chrome and Chromium and stick with Firefox.
However Firefox 50 do not work on Porteus kiosk 32-bit 3.7.0
I downloaded Firefox 50 module from ftp http://ftp.heanet.ie/mirrors/dl.porteus ... t/modules/
This module work without problems on Porteus - not kiosk edition.
However on Porteus kiosk edition I get error:

Code: Select all

XPCOMGlueLoad error for file /usr/lib/firefox-50.1.0/libmozgtk.so:
libgtk-3.so.0: cannot open shared object file: No such file or directory
Couldn't load XPCOM.
How do I install GTK3 on Porteus kiosk edition? Which package manager should I use? I tried USM and slackyd and they both report "not found"

link08
Black ninja
Black ninja
Posts: 30
Joined: 27 Sep 2017, 14:40
Distribution: Porteus-Kiosk-3.7.0-i586

Install latest Chromium instead of Chrome in Porteus kiosk 32-bit 3.7.0

Post#3 by link08 » 13 Oct 2017, 13:28

I want to add also that abandoning 32-bit Porteus was not very wise solution even when Google stopped supporting 32 bit Linux. Kiosk computers are logically much less powerful than other computers and that decision left lots of people in an unpleasant situation.

link08
Black ninja
Black ninja
Posts: 30
Joined: 27 Sep 2017, 14:40
Distribution: Porteus-Kiosk-3.7.0-i586

Install latest Chromium instead of Chrome in Porteus kiosk 32-bit 3.7.0

Post#4 by link08 » 17 Oct 2017, 08:07

Can I get some help on this forum?

link08
Black ninja
Black ninja
Posts: 30
Joined: 27 Sep 2017, 14:40
Distribution: Porteus-Kiosk-3.7.0-i586

Install latest Chromium instead of Chrome in Porteus kiosk 32-bit 3.7.0

Post#5 by link08 » 17 Oct 2017, 12:21

From where do I download GTK3 package for Slackware? I tried to use https://pkgs.org/download/gtk3 but there are no gtk3 package for Slackware in search results.

User avatar
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Install latest Chromium instead of Chrome in Porteus kiosk 32-bit 3.7.0

Post#6 by Ed_P » 17 Oct 2017, 12:33

Have you tried normal Porteus's USM?
Ed

link08
Black ninja
Black ninja
Posts: 30
Joined: 27 Sep 2017, 14:40
Distribution: Porteus-Kiosk-3.7.0-i586

Install latest Chromium instead of Chrome in Porteus kiosk 32-bit 3.7.0

Post#7 by link08 » 17 Oct 2017, 13:18

As I understand in normal (not kiosk) Porteus builds gtk+3 is already integrated, because Firefox V50 works without problems. I need to integrate GTK+3 into porteus kiosk 32 bit version.
For now my stopper is the following: I download GTK+3 from web site http://ftp.gnome.org/pub/gnome/sources/gtk+/3.22/ but I can not extract it, because there is no tar utility in Porteus kiosk.

User avatar
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Install latest Chromium instead of Chrome in Porteus kiosk 32-bit 3.7.0

Post#8 by Ed_P » 17 Oct 2017, 15:06

It doesn't matter what is in normal Porteus what I am suggesting is use it as a tool to help with some of the kiosk problems, like downloading a gtk+3 module from a Slackware distribution and converting it to a module or un-tari-ng it. :)
Ed

link08
Black ninja
Black ninja
Posts: 30
Joined: 27 Sep 2017, 14:40
Distribution: Porteus-Kiosk-3.7.0-i586

Install latest Chromium instead of Chrome in Porteus kiosk 32-bit 3.7.0

Post#9 by link08 » 18 Oct 2017, 07:39

When I enter usm in terminal in kiosk debugging mode I get error

Code: Select all

-bash: -usm: not found
How do I install such things as tar, usm on porteus kiosk?

User avatar
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Install latest Chromium instead of Chrome in Porteus kiosk 32-bit 3.7.0

Post#10 by Ed_P » 18 Oct 2017, 16:06

link08 I didn't mean for you to install normal Porteus tools/functions onto Kiosk rather to use them in normal Porteus to download and detar them then copy them to the kiosk system. Ok? :)
Ed

link08
Black ninja
Black ninja
Posts: 30
Joined: 27 Sep 2017, 14:40
Distribution: Porteus-Kiosk-3.7.0-i586

Install latest Chromium instead of Chrome in Porteus kiosk 32-bit 3.7.0

Post#11 by link08 » 19 Oct 2017, 09:33

I am trying to use USM on normal (not kiosk) Porteus to download GTK3. I do not know package name though.

I run the following command: usm -s gtk
And I get very long list of packages which name include gtk. Where is gtk3 from this list and what command should I use to install it?

Code: Select all

gtkwave-3.3.51-i586-1_slonly.txz was found in slackonly [not installed]
qalculate-gtk-1.0.0-i586-1_slonly.txz was found in slackonly [not installed]
gtklick-0.6.4-i586-1_slonly.txz was found in slackonly [not installed]
mp3splt-gtk-0.9.2-i586-1_slonly.txz was found in slackonly [not installed]
Alphacube-GTK-0.5-noarch-1_slonly.txz was found in slackonly [not installed]
QtCurve-Gtk2-1.8.15-i586-1_slonly.txz was found in slackonly [not installed]
ambiance-radiance-flat-colors-gtk-theme-16.04.1-noarch-1_slonly.txz was found in slackonly [not installed]
dark-aurora-gtk-theme-3.20.2-noarch-1_slonly.txz was found in slackonly [not installed]
gtk-chtheme-0.3.1-i586-3_slonly.txz was found in slackonly [not installed]
gtk-engines-unico-1.0.2-i586-1_slonly.txz was found in slackonly [not installed]
gtk-engines-2.21.0-i586-1_slonly.txz was found in slackonly [upgrade]
gtk-kde4-0.9.5b-i586-1_slonly.txz was found in slackonly [not installed]
gtk-nodoka-engine-0.7.5-i586-1_slonly.txz was found in slackonly [not installed]
gtk-theme-Albatross-1.7.4-noarch-1_slonly.txz was found in slackonly [not installed]
gtk-theme-Blackbird-0.4-noarch-1_slonly.txz was found in slackonly [not installed]
gtk-theme-Bluebird-1.2-noarch-1_slonly.txz was found in slackonly [not installed]
gtk-theme-Greybird-3.22.4-noarch-1_slonly.txz was found in slackonly [not installed]
gtk-theme-Orion-1.5-noarch-1_slonly.txz was found in slackonly [not installed]
gtk1-industrial-engine-0.2.36-i586-1_slonly.txz was found in slackonly [not installed]
gtk1-theme-switch-1.0.1-i586-1_slonly.txz was found in slackonly [not installed]
gtkhash-1.1-i586-1_slonly.txz was found in slackonly [not installed]
kde-gtk-config-2.2_git-i586-1_slonly.txz was found in slackonly [not installed]
myGtkMenu-1.3-i586-1_slonly.txz was found in slackonly [not installed]
numix-gtk-theme-20170627-noarch-1_slonly.txz was found in slackonly [not installed]
orchis-gtk-theme-3.1-noarch-1_slonly.txz was found in slackonly [not installed]
paper-gtk-theme-2.1.0-noarch-1_slonly.txz was found in slackonly [not installed]
vivacious-colors-gtk-icon-theme-1.4-noarch-1_slonly.txz was found in slackonly [not installed]
vivacious-colors-gtk-theme-16.04.4-noarch-1_slonly.txz was found in slackonly [not installed]
gtkdialog-0.8.3-i586-1_slonly.txz was found in slackonly [installed]
gtkextra-3.3.3-i586-1_slonly.txz was found in slackonly [not installed]
gtkballs-3.1.5-i586-2_slonly.txz was found in slackonly [not installed]
gtklife-5.1-i586-2_slonly.txz was found in slackonly [not installed]
gtkam-0.2.0-i586-1_slonly.txz was found in slackonly [not installed]
GtkD-3.3.1-i586-1_slonly.txz was found in slackonly [not installed]
c++-gtk-utils-2.0.29-i586-1_slonly.txz was found in slackonly [not installed]
gtk-aurora-engine-1.5.1-i586-2_slonly.txz was found in slackonly [not installed]
gtk-qt-engine-1.1-i586-2_slonly.txz was found in slackonly [not installed]
gtk-sharp-2.12.43-i586-1_slonly.txz was found in slackonly [not installed]
gtkdatabox-0.9.3.0-i586-1_slonly.txz was found in slackonly [not installed]
gtkglarea-2.1.0-i586-1_slonly.txz was found in slackonly [not installed]
gtkglext-1.2.0-i586-3_slonly.txz was found in slackonly [not installed]
gtkglextmm-1.2.0-i586-2_slonly.txz was found in slackonly [not installed]
gtkhotkey-0.2.1-i586-1_slonly.txz was found in slackonly [not installed]
gtkhtml-4.10.0-i586-1_slonly.txz was found in slackonly [not installed]
gtkimageview-1.6.4-i586-3_slonly.txz was found in slackonly [not installed]
gtksourceview-2.10.5-i586-1_slonly.txz was found in slackonly [downgrade]
gtksourceview3-3.18.4-i586-1_slonly.txz was found in slackonly [not installed]
gtkspell3-3.0.9-i586-1_slonly.txz was found in slackonly [not installed]
lablgtk-2.18.4-i586-1_slonly.txz was found in slackonly [not installed]
libexif-gtk-0.3.5-i586-2_slonly.txz was found in slackonly [not installed]
libunicapgtk-20160609-i586-1_slonly.txz was found in slackonly [not installed]
rep-gtk-0.90.8.3-i586-1_slonly.txz was found in slackonly [not installed]
webkit2gtk-2.16.6-i586-1_slonly.txz was found in slackonly [not installed]
webkitgtk-2.4.11-i586-1_slonly.txz was found in slackonly [not installed]
webkitgtk3-2.4.11-i586-1_slonly.txz was found in slackonly [not installed]
wxGTK-2.8.12-i586-3_slonly.txz was found in slackonly [not installed]
wxGTK3-3.0.3.1-i586-1_slonly.txz was found in slackonly [not installed]
gtk-recordmydesktop-0.3.8-i586-1_slonly.txz was found in slackonly [not installed]
gtkpod-2.1.5-i586-1_slonly.txz was found in slackonly [not installed]
efax-gtk-3.2.13-i586-1_slonly.txz was found in slackonly [not installed]
gtk-gnutella-1.1.11-i586-1_slonly.txz was found in slackonly [not installed]
spice-gtk-0.33-i586-1_slonly.txz was found in slackonly [not installed]
transmission-remote-gtk-1.2-i586-1_slonly.txz was found in slackonly [not installed]
Gtk2-GladeXML-1.007-i586-1_slonly.txz was found in slackonly [not installed]
perl-Gtk2-Ex-Simple-List-0.50-i586-1_slonly.txz was found in slackonly [not installed]
perl-Gtk2-Notify-0.05-i586-1_slonly.txz was found in slackonly [not installed]
perl-Gtk2-Unique-0.05-i586-1_slonly.txz was found in slackonly [not installed]
perl-gtk2-imageview-0.05-i586-3_slonly.txz was found in slackonly [not installed]
perl-gtk2-1.24992-i586-1_slonly.txz was found in slackonly [not installed]
pygtksourceview-2.10.1-i586-1_slonly.txz was found in slackonly [not installed]
pygtkspell-2.25.3-i586-1_slonly.txz was found in slackonly [not installed]
pywebkitgtk-1.1.8-i586-2_slonly.txz was found in slackonly [not installed]
rubygem-gtk2-2.2.5-i586-1_slonly.txz was found in slackonly [not installed]
colord-gtk-0.1.26-i586-1_slonly.txz was found in slackonly [not installed]
gtk-vnc-0.7.1-i586-1_slonly.txz was found in slackonly [not installed]
gtklp-1.3.1-i586-1_slonly.txz was found in slackonly [not installed]
gtk-vnc-0.6.0-i586-1ponce.txz was found in ponce [not installed]
gtkglarea-1.99.0-i486-2ponce.txz was found in ponce [not installed]
gtkglext-1.2.0-i486-3ponce.txz was found in ponce [not installed]
lablgtk-2.18.4-i486-1ponce.txz was found in ponce [not installed]
spice-gtk-0.33-i486-1ponce.txz was found in ponce [not installed]
webkit2gtk-2.14.3-i586-1ponce.txz was found in ponce [not installed]
webkitgtk-2.4.11-i586-1ponce.txz was found in ponce [not installed]
webkitgtk3-2.4.11-i586-1ponce.txz was found in ponce [not installed]
wxGTK3-3.0.2-i586-2ponce.txz was found in ponce [not installed]
gtkdatabox-0.9.2.0-i486-1alien.tgz was found in alien [not installed]
gtkmm-2.24.2-i486-2alien.tgz was found in alien []
oxygen-gtk2-1.4.6.1-i486-1alien.txz was found in alien [not installed]
wxGTK-2.8.12-i486-2alien.tgz was found in alien [not installed]
webkitgtk-2.4.11-i586-1sl.txz was found in slacky [not installed]
wxGTK-2.8.12-i486-3sl.txz was found in slacky [not installed]
gtk+2-2.24.31-i586-1_slack14.2.txz was found in slackwarepatches [installed]
gtk+-1.2.10-i486-5.txz was found in slackware []
gtk+2-2.24.30-i586-1.txz was found in slackware [downgrade]
gtk+3-3.18.9-i586-1.txz was found in slackware [installed]
gtk-xfce-engine-2.10.1-i586-2.txz was found in slackware [installed]
gtkmm2-2.24.4-i586-1.txz was found in slackware [installed]
gtkmm3-3.18.1-i586-1.txz was found in slackware [installed]
gtkspell-2.0.16-i586-3.txz was found in slackware [not installed]
oxygen-gtk2-1.4.6-i586-2.txz was found in slackware [not installed]
pygtk-2.24.0-i586-2.txz was found in slackware [not installed]
Packages found:  [1m 101 (B[m

Use:  [1m usm -i <package> (B[m for more info
Use:  [1m usm -g <package> (B[m to download

Another approach that I undertake was downloading GTK3 from official site https://www.gtk.org/download/index.php
Then I use guide https://developer.gnome.org/gtk3/stable ... lding.html to install it.
When I issue the command

Code: Select all

./configure --prefix=/opt/gtk
I get error

Code: Select all

configure: error: no acceptable C compiler found in $PATH
How do I install C compiler on normal (not kiosk) Porteus?

User avatar
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Install latest Chromium instead of Chrome in Porteus kiosk 32-bit 3.7.0

Post#12 by Ed_P » 19 Oct 2017, 13:34

link08 wrote:
19 Oct 2017, 09:33
I am trying to use USM on normal (not kiosk) Porteus to download GTK3.
:
:
Another approach that I undertake was downloading GTK3 from official site https://www.gtk.org/download/index.php
:
If you search for gtk3 or the version mentioned in your link gtk+ the search results will be more specific.

On my x86_64 system:

Code: Select all

guest@porteus:~$ su
Password: 
root@porteus:/home/guest# usm -s gtk+

gtk+2-2.24.31-x86_64-1_slack14.2.txz was found in slackwarepatches [installed]
gtk+-1.2.10-x86_64-5.txz was found in slackware []
gtk+2-2.24.30-x86_64-1.txz was found in slackware [downgrade]
gtk+3-3.18.9-x86_64-1.txz was found in slackware [installed]
Packages found:   4 

Use:   usm -i <package>  for more info
Use:   usm -g <package>  to download

root@porteus:/home/guest# usm -s gtk3

webkitgtk3-2.4.11-x86_64-2_slonly.txz was found in slackonly [not installed]
wxGTK3-3.0.3.1-x86_64-3_slonly.txz was found in slackonly [not installed]
webkitgtk3-2.4.11-x86_64-1ponce.txz was found in ponce [not installed]
wxGTK3-3.0.2-x86_64-2ponce.txz was found in ponce [not installed]
catfish-gtk3-1.4.1-x86_64-1gv.txz was found in salix [not installed]
webkitgtk3-2.4.11-x86_64-1sl.txz was found in slacky [not installed]
Packages found:   6 

Use:   usm -i <package>  for more info
Use:   usm -g <package>  to download

root@porteus:/home/guest# 
Ed

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5666
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

Install latest Chromium instead of Chrome in Porteus kiosk 32-bit 3.7.0

Post#13 by fanthom » 19 Oct 2017, 18:45

@link08
Even if you resolve all missing libs then kiosk still wont work properly until you rewrite many kiosk functions to match chromium browser specification:
- different application name (affects e.g. idle time parameter)
- different window preferences (affects popup windows)
- certificates and bookmarks must be imported to different folder
- chromium uses different path for global policies than chrome
- master preferences are kept in /usr/lib/chromium-browser and system expects them in /opt/google/chrome
- probably more issues to resolve

This is not hours but days of work, unless you care only about specific functions.
I'm sorry - i wont be able to help more.

Thanks
Please add [Solved] to your thread title if the solution was found.

User avatar
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Install latest Chromium instead of Chrome in Porteus kiosk 32-bit 3.7.0

Post#14 by Ed_P » 19 Oct 2017, 18:55

fanthom would a current Firefox browser be a better option for link08?
Ed

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5666
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

Install latest Chromium instead of Chrome in Porteus kiosk 32-bit 3.7.0

Post#15 by fanthom » 20 Oct 2017, 07:11

Yes, all you need to do is to resolve missing libs (gtk3 and similar), add gtk3 theme, icons, etc.

Mind that:
a) Firefox 52.x ESR requires pulseaudio for sound (or at least apulse)
b) Firefox in version 52+ wont support NPAPI plugins (java, citrix, pipelight, djvulibre, etc) except for flash
c) Firefox in version 56+ wont support legacy addons (ones that are not ported to WebExtensions API)

Thank you.
Please add [Solved] to your thread title if the solution was found.

Locked