Page 2 of 3
Vivaldi Browser
Posted: 02 Nov 2019, 17:39
by evergreen
Hello Kulle,
So we could have the latest Vivaldi in this way that's good.
BTW it's very weird that now vivaldi-codecs-ffmpeg-extra is not longer in
https://slackbuilds.org
But with the updates they made some changes so now everything is vinculante in this url and there is the last Vivaldi. I feel like I should keep using safe sources .
https://slackbuilds.org/repository/14.2 ... k/vivaldi/
Thanks
Kulle wrote: ↑02 Nov 2019, 13:00
Hi evergreen,
the latest version vivaldi-2.9 only works with the latest codecs version.
The latest codecs version (vivaldi-ffmpeg-codecs-78.0.3895.5-1-x86_64.pkg...>) can be downloaded here:
http://repo.herecura.eu/herecura/x86_64/
Vivaldi Browser
Posted: 02 Nov 2019, 23:03
by Ed_P
evergreen wrote: ↑02 Nov 2019, 06:03
Maybe I am a little dictator
but you are right on a side, on the other side some people dont need it and some people need to have H.264/AAC supporting and I didnt explain what is the reason to have an extra module, thanks for the observation.
This works.
vivaldi.sh
Code: Select all
#!/bin/bash
if [ `whoami` != "root" ]; then
echo guest | sudo -S echo "******"
sudo sh $0 $1 $2
exit
fi
mkdir -p /tmp/xzms
mkdir -p /tmp/mod
echo
echo Download these two files to /tmp/xzms
echo
echo https://sourceforge.net/projects/projectignis/files/modules/Vivaldi/vivaldi-2.8.1664.44-x86_64-1_SBo.xzm/download
echo https://sourceforge.net/projects/projectignis/files/modules/Vivaldi/vivaldi-codecs-ffmpeg-extra-77.0.3865.90-x86_64-1_SBo.xzm/download
read
cd /tmp/xzms
for a in *.xzm; do xzm2dir $a /tmp/mod; done
cp /home/guest/Vivaldi.desktop /tmp/mod/usr/share/applications/
chmod +x /tmp/mod/usr/share/applications/Vivaldi.desktop
dir2xzm /tmp/mod /tmp/Vivaldi-Eds.xzm
One module with a working Menu item. Easier for new users to use.
Vivaldi.desktop
Code: Select all
[Desktop Entry]
Name=Vivaldi
Comment=A browser
Exec=vivaldi
Icon=vivaldi
Terminal=false
Type=Application
Categories=Network;
StartupNotify=false[code]
Vivaldi Browser
Posted: 05 Nov 2019, 20:03
by evergreen
Module Vivaldi-2.9.1705.31-x86_64-1_SBo
https://sourceforge.net/projects/projec ... m/download
Since version 2.9.xxx
https://slackbuilds.org/repository/14.2/network/vivaldi is offering Vivaldi and chromium-codecs-ffmpeg-extra together
the reason is the new script to get it placed here
libffmpeg.so location is here
So now we dont need to looking for any other solution.
To have access to this browser by default we should add some parameters editing /opt/porteus-scripts/xorg/browser for this
Code: Select all
#!/bin/sh
# Find and run a web browser.
where() { which $1 2>/dev/null; }
browser=`where firefox || where google-chrome || where google-chrome-stable || where opera || where midori || where konqueror || where palemoon || where vivaldi`
if [ -e /usr/share/applications/vivaldi.desktop ]; then
browser=`awk -F= '/Exec=/{print$NF}' /usr/share/applications/vivaldi.desktop | head -n1 | cut -f 1 -d ' '`
elif [ -e /usr/share/applications/browser.desktop ]; then
browser=`awk -F= '/Exec=/{print$NF}' /usr/share/applications/browser.desktop | head -n1 | cut -f 1 -d ' '`
fi
$browser $*
Cheers !
Vivaldi Browser
Posted: 06 Nov 2019, 05:17
by Ed_P
Still no Menu item for Vivaldi.
Code: Select all
guest@porteus:~$ su
Password:
root@porteus:/home/guest# ./vnew.sh
+ ls -lght /mnt/live/memory/images
+ grep viv
+ ls -lght /usr/share/applications
+ grep viv
+ ls -lght /usr/share/applications
+ grep Viv
+ activate /home/guest/Downloads/vivaldi-2.9.1705.31-x86_64-1_SBo.xzm
Quiet mode: off
Updating shared library links: /sbin/ldconfig
Updating CINNAMON menu: update-desktop-database
+ sleep 3
+ ls -lght /mnt/live/memory/images
+ grep viv
drwxr-xr-x 5 root 60 Nov 5 11:37 vivaldi-2.9.1705.31-x86_64-1_SBo.xzm
+ ls -lght /usr/share/applications
+ grep viv
+ ls -lght /usr/share/applications
+ grep Viv
root@porteus:/home/guest#
A Cinnamon problem??
Vivaldi Browser
Posted: 06 Nov 2019, 05:56
by ncmprhnsbl
Ed_P wrote: ↑06 Nov 2019, 05:17
A Cinnamon problem??
could be (like with palemoon and opera)
try
Code: Select all
# cp /mnt/live/memory/images/vivaldi-2.9.1705.31-x86_64-1_SBo.xzm/usr/share/applications/vivaldi.desktop /usr/share/applications/
Vivaldi Browser
Posted: 06 Nov 2019, 06:16
by Ed_P
Thank you
ncmp.
Code: Select all
guest@porteus:~$ su
Password:
root@porteus:/home/guest# cp /mnt/live/memory/images/vivaldi-2.9.1705.31-x86_64-1_SBo.xzm/usr/share/applications/vivaldi.desktop /usr/share/applications/
root@porteus:/home/guest# ls -lght /usr/share/applications/viv*
-rw-r--r-- 1 root 8.0K Nov 6 01:11 /usr/share/applications/vivaldi.desktop
root@porteus:/home/guest#
And it is showing in the Menu under Internet.
Strange. The basic desktop file I created and added to the module's /usr/share/applications folder would get copied to the system's /usr/share/applications folder and show in the Menu on Cinnamon when activated but not the vivaldi one so Cinnamon is working with some desktop files.
Vivaldi Browser
Posted: 06 Nov 2019, 10:27
by jssouza
Ed_P wrote: ↑06 Nov 2019, 06:36
jssouza this thread might interesting you. Vivaldi Browser (Post by Ed_P #74542)
Seems to be that unlike other DEs, cinnamon needs more than just a simple update-desktop-database command. So will have to use the old method of installing the desktop files.
Appending the following to update-menu, to manually install the .desktop files seems to work:
Code: Select all
dot_desktops=`cat /mnt/live/tmp/caches/desktop-install`
for dot_desktop in $dot_desktops; do
desktop-file-install $dot_desktop
done
Will look into it. Thanks.
Vivaldi Browser
Posted: 07 Nov 2019, 01:01
by Ed_P
jssouza wrote: ↑06 Nov 2019, 10:27
Appending the following to update-menu,
"update-menu"? Where do I find that file?
FYI
Code: Select all
Boot ISO: Porteus-CINNAMON-v4.0-x86_64.iso
Boot DE: 003-jinnamon-180702.xzm
Vivaldi Browser
Posted: 07 Nov 2019, 01:53
by jssouza
Ed_P wrote: ↑07 Nov 2019, 01:01
"update-menu"? Where do I find that file?
It's at /opt/porteus-scripts/xorg/update-menu
Vivaldi Browser
Posted: 07 Nov 2019, 04:42
by Ed_P
Thank you
jssouza.
So close. I actually looked in /opt/porteus-scripts and /opt/porteus-scripts/cinnamon.
Code: Select all
guest@porteus:~$ su
Password:
root@porteus:/home/guest# echo 'dot_desktops=`cat /mnt/live/tmp/caches/desktop-install` ' >> /opt/porteus-scripts/xorg/update-menu
root@porteus:/home/guest# echo 'for dot_desktop in $dot_desktops; do ' >> /opt/porteus-scripts/xorg/update-menu
root@porteus:/home/guest# echo ' desktop-file-install $dot_desktop ' >> /opt/porteus-scripts/xorg/update-menu
root@porteus:/home/guest# echo 'done ' >> /opt/porteus-scripts/xorg/update-menu
root@porteus:/home/guest# cat /opt/porteus-scripts/xorg/update-menu
#!/bin/sh
# Update CINNAMON menu:
echo "Updating CINNAMON menu: update-desktop-database"
update-desktop-database 2>/dev/null 2>&1
#user=`ps -C cinnamon-session -o user=`
#su $user -c "cinnamon --replace &"
dot_desktops=`cat /mnt/live/tmp/caches/desktop-install`
for dot_desktop in $dot_desktops; do
desktop-file-install $dot_desktop
done
root@porteus:/home/guest#
-update-
jssouza, how come update-menu added my basic Vivaldi.desktop to the menu but not the official vivaldi.desktop file without this fix?
Vivaldi Browser
Posted: 08 Nov 2019, 18:52
by Ed_P
jssouza your change adds desktop files in /home/guest/ to the Menu in an Other category.
Vivaldi Browser
Posted: 09 Nov 2019, 01:14
by jssouza
Ed_P wrote: ↑08 Nov 2019, 18:52
jssouza your change adds desktop files in /home/guest/ to the Menu in an Other category.
Not getting you. Why do you have desktop files in /home/guest?
Other things:
- The problem is more involved. I only mentioned the final fix that has to go into update-menu
- update-menu should not be called directly
- The scripts have changed a lot from porteus 4 to 5. The fix too will eventually come in porteus 5. You are still on porteus 4
Vivaldi Browser
Posted: 09 Nov 2019, 01:41
by Ed_P
Sorry. I meant /home/guest/Desktop files.
I am not calling update-menu directly, just activating vivaldi modules.
Yes, I do most of my stuff on 4. I do test 5, just not my main system.
Vivaldi Browser
Posted: 13 Nov 2019, 19:51
by evergreen
Module vivaldi-2.9.1705.41-x86_64-1_SBo.xzm
https://sourceforge.net/projects/projec ... m/download 77.8 MB
Cheers !
Vivaldi Browser
Posted: 02 Feb 2020, 23:08
by evergreen
Module vivaldi-2.10.1745.27-x86_64-1_SBo.xzm
https://sourceforge.net/projects/projec ... m/download 78.9 MB
Cheers !