Nightmayr-snaps / yuzu-snap

3 stars 4 forks source link

[Solution] Yuzu does not allow playing backups from EXTERNAL drives #31

Open Overc1ocker opened 3 years ago

Overc1ocker commented 3 years ago

Hello everyone, I discovered a small caveat in the YUZU snap today. By default, it will not play XCI backups from removable media or external hard disks. In order to fix this, you must run sudo snap connect yuzu:removable-media. After this, you should be able to play XCIs stored on a external disk!

boriseto commented 2 years ago

It can also be used without the sudo command (there will be a prompt for the password). I'd recommend to add this to the installation info in snapcraft store and maybe the readme file.

Nightmayr commented 2 years ago

If you're on a GTK based desktop like GNOME, you shouldn't need to connect removable-media as xdg-desktop-portal-gtk should spawn a file picker that allows the sandbox to look at external drives. The KDE equivalent package xdg-desktop-portal-kde has been pretty buggy in my testing for example it brings up a file picker that you can't select anything in or close the window, hence I've opted to not use portals on KDE for the time being until it behaves as expected.

I think in future snaps will present a dialog window on first run where you can enable the permissions (kinda like android apps) https://forum.snapcraft.io/t/permission-requests-from-application-like-in-android/27944. So hopefully should mean less instructions needed on my part but I'll look to update the page with a note on KDE external drive access.

Additional tip you can run snap commands without sudo or a password if you have an Ubuntu one account, and login via snap login. Obviously if you'd rather not register an account you can just proceed as normal with sudo