$ /usr/bin/sh /usr/bin/xdg-open acestream://b8cad4710b1c3b2b84a82c1ece40c08517b8f766
xdg-open: no method available for opening acestream://b8cad4710b1c3b2b84a82c1ece40c08517b8f766
$ mpv --no-ytdl --cache=yes --hwdec=auto http://127.0.0.1:6878/ace/getstream?id=b8cad4710b1c3b2b84a82c1ece40c08517b8f766
Works fine
OS = Fedora LXQT 40
Last update = today, 2024-05-11
acestream installed via snap
$ xdg-mime query default x-scheme-handler/acestream
xdg-mime: no method available for querying the default application for MIME type of 'x-scheme-handler/acestream'
$ xdg-mime default mpv.desktop x-scheme-handler/acestream
xdg-mime: no method available for setting the default application for MIME type(s) of 'x-scheme-handler/acestream'
$ sudo dnf history info 721 |head
Transaction ID : 721
Begin time : Tue May 7 16:01:05 2024
Begin rpmdb : 8d93185832df435df32f0af4cb73d9b3d8ffc9ba3868a08ffbc4b649c903f0d8
End time : Tue May 7 16:29:27 2024 (28 minutes)
End rpmdb : 348394eb70e31335711e1f5b04c1b7a996ba7ea21f2e55a986beff47247a0f10
User : System <unset>
Return-Code : Success
Releasever : 40
Command Line : system-upgrade upgrade
sorry, i don’t understand what sould i do with xdg-mime.in and xdg-open.in ?
$ qtxdg-mat defapp --set mpv.desktop x-scheme-handler/acestream
Cannot mix incompatible Qt library (5.15.12) with this library (5.15.13)
Set '/usr/share/applications/mpv.desktop' as default for 'x-scheme-handler/acestream'
qtxdg-mat open acestream://b8cad4710b1c3b2b84a82c1ece40c08517b8f766
Cannot mix incompatible Qt library (5.15.12) with this library (5.15.13)
but if acestreamengine already running video plays.
$ /usr/bin/sh /usr/bin/xdg-open acestream://b8cad4710b1c3b2b84a82c1ece40c08517b8f766
Cannot mix incompatible Qt library (5.15.12) with this library (5.15.13)
but it works if acestreamengine already running. video plays.
$ mpv acestream://b8cad4710b1c3b2b84a82c1ece40c08517b8f766
works if acestreamengine already running.
Browser says (at journalctl) qtxdg-mat[7028]: Cannot mix incompatible Qt library (5.15.12) with this library (5.15.13)
and video don’t play even acestreamengine already running.
I tested it in a VM with other MIME types and also see the message that looks like an error, but it’s actually just a warning as it still works, so let’s continue troubleshooting:
I was having these problems. with xdg-open “no method available for opening”, after upgrade to Fedora 41. And, as a bonus, Ctrl-click links didn’t work in qterminal. Neither did right-click and choosing “Open Link”.
I wound up putting a trace on xdg-open by putting set -x at the top of thefile. (It’s a shell script after all). It told meqtxdg-mat was missing. So I installed it. And it started working after a few reboots, and possibly after reinstalling all qterminal* packages. I did a lot of stuff, okay? So xdg-open could use some better error messages.
But I hear it’s deprecated and will disappear eventually, in favor of gio-open or some such. Anyone confirm?