I was using MPV (flatpak version) on Z16, but now that I've upgraded to Z17 it won't open (nothing happens when I click to open it). I uninstalled and re-installed but that didn't help.
Any ideas how to fix this?
PS: I need to use the flatpak version because I use it with another program.
Due to Flatpak being an extra sandbox, you can install flatseal to provide more permissions to Flatpak apps:
sudo apt install flatseal
Flatseal is a GUI application the manages Flatpak package portals.
It may be that the Flatpak package of MPV needs system permissions to operate - it would need access to see your music files, at least...
PulseAudio and Pipewire may be culprits, too.
A shame that the command returned no errors... But no errors displayed often point toward a permissions issue.
This surprises me a bit, since MPV is known to have quite a few issues on Wayland and actually is supposed to fallback to X-server (XWayland).
Here is a more low level verbose error logging run command to try:
That command wouldn't work, I ended up installing it via the software center. I tried opening MPV afterward, but it's still not working. Is there a particular setting in Flatseal that I should change?
Yes, I agree as the software center is again giving the error "GPG verification enabled, but no signatures found (use gpg-verify=false in remote config to disable)"
Not sure if the two are related or not, but permissions seem to be an issue since upgrading
Even with that command, terminal still outputs the same thing:
The GUI app is used to modify permissions, so yes, you must launch Flatseal then go in and change what you need to change. I do not use any flatpak's at all, so I have never used it or Flatpak MPV to know the details - but I suspect you may see clear indicators on launching Flatseal and examining the options.
Actually... these likely are related. Yes... I know I suggested a new thread - I thought this error above had been solved, yet MPV remained.
Let's look at that error.
You can leave the gnome-software-plugin-snap package off (Be sure to backspace the `space between flatpak plugin and snap plugin in the command, too) if you do not use Snaps and SnapD
With all that done, reinstall MPV from software store and test...
Ok, I followed all your instructions. The error in the software center is still there. With Mpv, it still won't open however I clicked on a video file and the audio started playing and I could see the app icon in my dash, but there is nothing visual showing (there is no video on my screen). I'm thinking I may have to give up on MPV.
(This screenshot is from the description of mpv in flathub.org)
I think you made an right assumption. It's missing write permission to home and needs to be set through flatseal.
And since the OP mentioned that audio plays and icon appears in the dock but no video shows, my guess could be missing any multimedia-codecs or video drivers.
Recently, another user had this problem when using a flatpak app. The multimedia codecs were installed on the computer, but the flatpak had no access to them and videos were not playing. After the permissions for all users/system files were set, everything worked perfectly.
Did You tried to install MPV directly from the flathub Website?
Yes, that can't work because Flatseal is a Flatpak, too. But the Installation of Flatseal did worked, yes?
this Nuvola Flatpak Repo is not added by default. Maybe this makes the Problem. You could try it with deleting it and then install MPV. And there would be the Question now if MPV will be installed from this Flatpak Repo and not from the normal flathub one.
When you open Gnome Software and seach for mpv what Options do You get? I have 2:
The first one is the APT Version and the 2nd one the Flatpak Version from Flathub. When You open the Site of each, You have on the right side the ''Install'' Button and under it the Package Format and Source. Could You take a Look at it and tell us what Options do You have there?
No, those instructions don't work anymore... well, at least for me. The thing is, I never installed a Nuvola player. I can't find it in flatpak list or apt list and I can't seem to be able to remove the repository either. How do I just get rid of this thing?
I gave MPV the permissions via Flatseal - no change. As for the codecs or drivers, MPV was working perfectly prior to upgrading to Z17. Am I wrong to assume I should already have the correct drivers? I don't know how to install media codecs or how to check if I have the correct ones.
This is only a picture of the internet. But it should look similar. Click on mpv and then at filesystem toggle on "All users files" and if that isn't enough so that videos are playing, also "All system files"
I honestly do not recall ever installing Nuvola. I've deleted it and now the error in the software center is gone - yay! However, after reinstalling MPV, it still isn't playing the video portion (only the sound plays).
I have the same as you - 2 options, 1 apt, 1 flatpak/snap
What you could try is, switching to Xorg and look if that helps.
Logout and at login click on your username, then a cog icon appears. There you can set "Zorin desktop on Xorg". Then login with your password.