WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Howto: Vivaldi, Opera and Chrome in TC 8.x  (Read 34669 times)

Offline neonix

  • Wiki Author
  • Sr. Member
  • *****
  • Posts: 401
Re: Howto: Vivaldi, Opera and Chrome in TC 8.x
« Reply #45 on: May 09, 2024, 10:17:28 AM »
Vivaldi browser for TC 15-x86_32

Latest version available for 32-bit Linux is vivaldi-stable_3.8.2259.42-1.i386.deb (Chrome/90.0.4430.214)
Relese date 2021-05-05
THERE WILL BE NO NEW VERSIONS OF VIVALDI FOR 32-BIT LINUX.

Code: [Select]
cd /home/tc
wget https://downloads.vivaldi.com/stable/vivaldi-stable_3.8.2259.42-1_i386.deb
ar x vivaldi-stable_3.8.2259.42-1_i386.deb
cd /
sudo tar fxJ /home/tc/data.tar.xz
cd /home/tc
rm -f _gpgbuilder
rm -f control.tar.xz
rm -f data.tar.xz
rm -f debian-binary
rm -f vivaldi-stable_3.8.2259.42-1_i386.deb

wget https://launchpadlibrarian.net/533822856/chromium-codecs-ffmpeg-extra_90.0.4430.72-0ubuntu0.16.04.1_i386.deb
ar x chromium-codecs-ffmpeg-extra_90.0.4430.72-0ubuntu0.16.04.1_i386.deb
tar fxJ /home/tc/data.tar.xz
rm -f control.tar.xz
rm -f data.tar.xz
rm -f debian-binary
rm -f chromium-codecs-ffmpeg-extra_90.0.4430.72-0ubuntu0.16.04.1_i386.deb
cd usr
cd lib
cd chromium-browser
sudo cp libffmpeg.so /opt/vivaldi/lib/
cd /home/tc/
sudo rm -r usr

tce-load -iw libXi.tcz
tce-load -iw libXtst.tcz
tce-load -iw nss.tcz
tce-load -iw libcups.tcz
tce-load -iw libXss.tcz
tce-load -iw at-spi2-atk.tcz
tce-load -iw gtk3.tcz
tce-load -iw libasound.tcz
tce-load -iw libxkbcommon.tcz

sudo ln -s /usr/local/etc/fonts/ /etc/
/opt/vivaldi/vivaldi-bin --disable-seccomp-filter-sandbox

    [Edit] Added code tags.  Rich
« Last Edit: May 09, 2024, 10:24:04 AM by Rich »

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11694
Re: Howto: Vivaldi, Opera and Chrome in TC 8.x
« Reply #46 on: May 09, 2024, 10:24:25 AM »
Hi neonix
Please use  Code Tags  when posting commands and responses seen in a terminal. To use  Code Tags  click on the  #  icon
above the reply box and paste your text between the  Code Tags  as shown in this example:

Quote
[code][   36.176529] pcm512x 1-004d: Failed to get supply 'AVDD': -517
[   36.176536] pcm512x 1-004d: Failed to get supplies: -517
[   36.191753] pcm512x 1-004d: Failed to get supply 'AVDD': -517[/code]

It will appear like this in your post:
Code: [Select]
[   36.176529] pcm512x 1-004d: Failed to get supply 'AVDD': -517
[   36.176536] pcm512x 1-004d: Failed to get supplies: -517
[   36.191753] pcm512x 1-004d: Failed to get supply 'AVDD': -517

Code Tags  serve as visual markers between what you are trying to say and the information you are posting. They also preserve
spacing so column aligned data displays properly. Code tags also automatically add horizontal and or vertical scrollbars
to accommodate long lines and listings.

Offline neonix

  • Wiki Author
  • Sr. Member
  • *****
  • Posts: 401
Re: Howto: Vivaldi, Opera and Chrome in TC 8.x
« Reply #47 on: May 16, 2024, 12:44:32 PM »
vivaldi-stable_6.7.3329.27-1 for TC 15.x x86_64
Code: [Select]
tce-load -iw p7zip.tcz

cd /home/tc
wget --no-check-certificate https://downloads.vivaldi.com/stable/vivaldi-stable_6.7.3329.27-1_amd64.deb

ar x *.deb
7z x data.tar.xz
cd /
sudo tar fx /home/tc/data.tar
cd /home/tc
rm -f _gpgbuilder
rm -f control.tar.xz
rm -f data.tar.xz
rm -f data.tar
rm -f debian-binary
rm -f *.deb
cd /home/tc/
wget --no-check-certificate https://github.com/nwjs-ffmpeg-prebuilt/nwjs-ffmpeg-prebuilt/releases/download/0.84.0/0.84.0-linux-x64.zip

unzip *.zip

sudo mv libffmpeg.so /opt/vivaldi/lib
rm -f *.zip

tar fxJ /home/tc/data.tar.xz
rm -f control.tar.xz
rm -f data.tar.xz
rm -f debian-binary
rm -f

#tce-load -iw libXi.tcz
#tce-load -iw libXtst.tcz
tce-load -iw libXcomposite.tcz
tce-load -iw libXrandr.tcz
tce-load -iw nss.tcz
tce-load -iw libxkbcommon.tcz
tce-load -iw libcups.tcz
#tce-load -iw libXss.tcz
tce-load -iw at-spi2-core.tcz
tce-load -iw libasound.tcz
#tce-load -iw at-spi2-atk.tcz
#tce-load -iw gtk3.tcz
#tce-load -iw libXi.tcz
tce-load -iw bash

tce-load -iw dbus

sudo ln -s /lib /lib64

sudo ln -s /usr/local/etc/fonts/ /etc/
/usr/bin/vivaldi-stable

Offline neonix

  • Wiki Author
  • Sr. Member
  • *****
  • Posts: 401
Re: Howto: Vivaldi, Opera and Chrome in TC 8.x
« Reply #48 on: December 10, 2024, 11:53:50 PM »
Here is script that creates vivaldi-stable_6.7.3329.27-1 with h.264 codecs  extenision
for TC 15.x x86_64 (tcz has 155 MB)

Code: [Select]
tce-load -iw squashfs-tools.tcz
tce-load -iw p7zip.tcz
tce-load -iw wget
cd /tmp
mkdir vivaldi
cd vivaldi
wget --no-check-certificate https://downloads.vivaldi.com/stable/vivaldi-stable_6.7.3329.27-1_amd64.deb
ar x *.deb
7z x data.tar.xz
tar fx /tmp/vivaldi/data.tar
rm -f _gpgbuilder
rm -f control.tar.xz
rm -f data.tar
rm -f data.tar.xz
rm -f debian-binary
rm -f *.deb

cd /tmp
mkdir codec
cd codec
wget --no-check-certificate https://github.com/nwjs-ffmpeg-prebuilt/nwjs-ffmpeg-prebuilt/releases/download/0.84.0/0.84.0-linux-x64.zip
unzip *.zipchmod +rwx vivaldi
mv -f libffmpeg.so /tmp/vivaldi/opt/vivaldi/lib
rm -f *.zip

cd /tmp
cd vivaldi
cd usr
mkdir local
cd local
mkdir tce.installed
sudo chown root:root tce.installed
cd tce.installed
sudo -s
echo "#!/bin/sh" > vivaldi
echo "if [ ! -e /lib64 ]; then" >> vivaldi
echo "ln -s /lib /lib64" >> vivaldi
echo "fi" >> vivaldi
echo "if [ ! -h /etc/fonts ]; then" >> vivaldi
echo "        ln -s /usr/local/etc/fonts /etc" >> vivaldi
echo "fi" >> vivaldi
echo "update-mime-database /usr/local/share/mime > /dev/null 2>&1" >> vivaldi
echo "ln -s /opt/vivaldi/vivaldi-bin /usr/local/bin/vivaldi" >> vivaldi
chmod +rwx vivaldi

cd /tmp/
cd vivaldi
cd usr
cd local
mkdir share
cd shareecho "#!/bin/sh" > vivaldi
echo "if [ ! -e /lib64 ]; then" >> vivaldi
echo "ln -s /lib /lib64" >> vivaldi
echo "fi" >> vivaldi
echo "if [ ! -h /etc/fonts ]; then" >> vivaldi
echo "        ln -s /usr/local/etc/fonts /etc" >> vivaldi
echo "fi" >> vivaldi
echo "update-mime-database /usr/local/share/mime > /dev/null 2>&1" >> vivaldi
echo "ln -s /opt/vivaldi/vivaldi-bin /usr/local/bin/vivaldi" >> vivaldi
chmod +rwx vivaldi
mkdir menu
cd menu

echo "?package(vivaldi-stable):needs="x11"" > vivaldi.menu
echo "  section="Applications/Network/Web Browsing"" >> vivaldi.menu
echo "  hints="Web browsers"" >> vivaldi.menu
echo "  title="Vivaldi"" >> vivaldi.menu
echo "  icon="/opt/vivaldi/product_logo_32.xpm"" >> vivaldi.menu
echo "  command="/opt/vivaldi/vivaldi-bin"" >> vivaldi.menu

cd /tmp/vivaldi/usr/local/share/       
mkdir applications
cd applications

echo "[Desktop Entry]" > vivaldi.desktop
echo "Version=1.0" >> vivaldi.desktop
echo "Name=vivaldi" >> vivaldi.desktop
echo "Exec=/usr/local/bin/vivaldi --disable-seccomp-filter-sandbox" >> vivaldi.desktop
echo "StartupNotify=true" >> vivaldi.desktop
echo "Terminal=false" >> vivaldi.desktop
echo "Icon=vivaldi" >> vivaldi.desktop
echo "X-FullPathIcon="/opt/vivaldi/product_logo_32.png"" >> vivaldi.desktop
echo "Type=Application" >> vivaldi.desktop
echo "Categories=Network;WebBrowser;" >> vivaldi.desktop
echo "MimeType=text/html;text/xml;application/xhtml_xml;image/webp;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/mailto;" >> vivaldi.desktop
echo "Actions=new-window;new-private-window;" >> vivaldi.desktop

echo "[Desktop Entry]" > vivaldi~1.desktop
echo "Version=1.0" >> vivaldi~1.desktop
echo "Name=vivaldi-new-window" >> vivaldi~1.desktop
echo "Exec=/usr/local/bin/vivaldi --new-window --disable-seccomp-filter-sandbox" >> vivaldi~1.desktop
echo "StartupNotify=true" >> vivaldi~1.desktop
echo "Terminal=false" >> vivaldi~1.desktop
echo "Icon=vivaldi" >> vivaldi~1.desktop
echo "X-FullPathIcon="/opt/vivaldi/product_logo_32.png"" >> vivaldi~1.desktop
echo "Type=Application" >>  vivaldi~1.desktop
echo "Categories=Network;WebBrowser;" >> vivaldi~1.desktop
echo "MimeType=text/html;text/xml;application/xhtml_xml;image/webp;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/mailto;" >> vivaldi~1.desktop
echo "Actions=new-window;new-private-window;" >>vivaldi~1.desktop

echo "[Desktop Entry]" > vivaldi~2.desktop
echo "Version=1.0" >> vivaldi~2.desktop
echo "Name=vivaldi-incognito" >> vivaldi~2.desktop
echo "Exec=/usr/local/bin/vivaldi --incognito --disable-seccomp-filter-sandbox" >> vivaldi~2.desktop
echo "StartupNotify=true" >> vivaldi~2.desktop
echo "Terminal=false" >> vivaldi~2.desktop
echo "Icon=vivaldi" >> vivaldi~2.desktop
echo "X-FullPathIcon="/opt/vivaldi/product_logo_32.png"" >> vivaldi~2.desktop
echo "Type=Application" >> vivaldi~2.desktop
echo "Categories=Network;WebBrowser;" >> vivaldi~2.desktop
echo "MimeType=text/html;textw-private-window;" >> vivaldi~2.desktop

cd /tmp
mksquashfs vivaldi vivaldi.tcz -b 1M
md5sum vivaldi.tcz > vivaldi.tcz.md5.txt

#dependencies
echo "libXcomposite.tcz >> vivaldi.tcz.dep
echo "libXrandr.tcz >> vivaldi.tcz.dep
echo "nss.tcz >> vivaldi.tcz.dep
echo "libxkbcommon.tcz >> vivaldi.tcz.dep
echo "libcups.tcz >> vivaldi.tcz.dep
echo "at-spi2-core.tcz >> vivaldi.tcz.dep
echo "libasound.tcz >> vivaldi.tcz.dep
echo "bash >> vivaldi.tcz.dep
echo "dbus >> vivaldi.tcz.dep


tce-load -iw libXcomposite.tcz
tce-load -iw libXrandr.tcz
tce-load -iw nss.tcz
tce-load -iw libxkbcommon.tcz
tce-load -iw libcups.tcz
tce-load -iw at-spi2-core.tcz
tce-load -iw libasound.tcz
tce-load -iw bash
tce-load -iw dbus