Post links to your 64bit module repos here. Repo maintainers are responsible for resolving any issues caused by their xzm's.
-
evergreen
- Shogun

- Posts: 201
- Joined: 27 Mar 2016, 16:58
- Distribution: Porteus x86_64
- Location: Argentine, Patagonia
-
Contact:
Post#16
by evergreen » 02 Nov 2019, 17:39
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/
AMD A8-7410, APU AMD Radeon R5 Graphics M330
evergreen
-
Ed_P
- Contributor

- Posts: 8912
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Post#17
by Ed_P » 02 Nov 2019, 23:03
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]
Last edited by
Ed_P on 03 Nov 2019, 23:27, edited 1 time in total.
Ed_P
-
evergreen
- Shogun

- Posts: 201
- Joined: 27 Mar 2016, 16:58
- Distribution: Porteus x86_64
- Location: Argentine, Patagonia
-
Contact:
Post#18
by evergreen » 05 Nov 2019, 20:03
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 !

AMD A8-7410, APU AMD Radeon R5 Graphics M330
evergreen
-
Ed_P
- Contributor

- Posts: 8912
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Post#19
by Ed_P » 06 Nov 2019, 05:17
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??
Ed_P
-
ncmprhnsbl
- DEV Team

- Posts: 4256
- Joined: 20 Mar 2012, 03:42
- Distribution: v5.0-64bit
- Location: australia
-
Contact:
Post#20
by ncmprhnsbl » 06 Nov 2019, 05:56
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/
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44
ncmprhnsbl
-
Ed_P
- Contributor

- Posts: 8912
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Post#21
by Ed_P » 06 Nov 2019, 06:16
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.

Ed_P
-
jssouza
- Legendary

- Posts: 1165
- Joined: 09 Jul 2015, 14:17
- Distribution: Porteus x86 arm
Post#22
by jssouza » 06 Nov 2019, 10:27
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.
jssouza
-
Ed_P
- Contributor

- Posts: 8912
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Post#23
by Ed_P » 07 Nov 2019, 01:01
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
Ed_P
-
jssouza
- Legendary

- Posts: 1165
- Joined: 09 Jul 2015, 14:17
- Distribution: Porteus x86 arm
Post#24
by jssouza » 07 Nov 2019, 01:53
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
jssouza
-
Ed_P
- Contributor

- Posts: 8912
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Post#25
by Ed_P » 07 Nov 2019, 04:42

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?

Ed_P
-
Ed_P
- Contributor

- Posts: 8912
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Post#26
by Ed_P » 08 Nov 2019, 18:52
jssouza your change adds desktop files in /home/guest/ to the Menu in an Other category.
Ed_P
-
jssouza
- Legendary

- Posts: 1165
- Joined: 09 Jul 2015, 14:17
- Distribution: Porteus x86 arm
Post#27
by jssouza » 09 Nov 2019, 01:14
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
jssouza
-
Ed_P
- Contributor

- Posts: 8912
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Post#28
by Ed_P » 09 Nov 2019, 01:41
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.
Ed_P