Skip to content
This repository has been archived by the owner on Mar 5, 2024. It is now read-only.

Flathub Yuzu not opening an explorer folder anymore on "install file to nand". #498

Open
notimp opened this issue Jun 12, 2022 · 5 comments
Labels
help wanted Extra attention is needed investigating Currently under investigation steam deck Steam Deck/EmuDeck related issues

Comments

@notimp
Copy link

notimp commented Jun 12, 2022

Yuzu behavior on clicking "install file to nand": Does nothing.

I'm on Steamdeck (Stable channel).

Worked in the past. :)

Another user found a workaround:

So, had to first do sudo steamos-readonly disable then sudo pacman-key --init then sudo pacman-key --populate archlinux then sudo pacman -S xdg-desktop-portal-kde
after that, the dialogs started working again
Why this wasn't mentioned anywhere it beyond me, either it's a bug uniquely on my end, or the people encountering issues just gave up.

But thats no suitable for "normal" Steamdeck users (that dont have access to sudo). Any idea why this would happen, or any suggested workarround that doesnt rely on sudo would be appreciated. (Even any insight on why it happens, I cant tell from pacman -S fixing it alone. :) )

@notimp
Copy link
Author

notimp commented Jun 12, 2022

Might be related to the emudeck (installer script for emulators on steamdeck) install and permissions (see: #96 ), I'll check and report back.

edit: Yes, setting permissions in flatseal fixed it. See attachment.

Bildschirmfoto 2022-06-12 um 08 48 41

I'll close the issue.

@notimp notimp closed this as completed Jun 12, 2022
@notimp notimp reopened this Jun 12, 2022
@notimp
Copy link
Author

notimp commented Jun 12, 2022

While working for the boot, where the permission was set in flatseal, the issue resurfaced on the next (shutdown and) boot up into desktop mode (not working again).

@liushuyu liushuyu added help wanted Extra attention is needed investigating Currently under investigation steam deck Steam Deck/EmuDeck related issues labels Jul 10, 2022
@liushuyu
Copy link
Collaborator

Sorry for the late response.

sudo pacman -S xdg-desktop-portal-kde

This should come pre-installed on (almost) all the Linux distros if you use KDE. XDG Portal is responsible for doing filesystem-related operations. As the application developer/distributor, we can't check for this (the app is sandboxed in Flatpak).

This is caused by the distribution packaging error and/or SteamOS oversight. We can't do anything about it. Please report the "missing xdg-desktop-portal-kde" issue to either SteamOS or Arch Linux.

As for the FlatSeal situation, the same thing: I can't reproduce this specific issue on my system (Arch Linux KDE X11). I don't currently own a Steam Deck, so I can't check this, sorry.

@Beanow
Copy link

Beanow commented Jul 22, 2022

Actually, KDE (and by extension KDE portals) won't be available if you're running under Steam Decks Gaming Mode.

Gaming Mode does not run a full desktop environment (runs gamescope) and from what I can tell is missing a lot of portals.

@liushuyu do you know what portal API exactly you're trying to use here?
I'm assuming it's the "Install Files" file opening dialog that we're talking about. If so, this won't work under Gaming Mode.

@notimp try using the default permissions in flatseal, starting yuzu in desktop mode (without any scripts) and install to nand there.

Edit: Looking at what I've got on my Steam Deck (currently on beta channel)

$ pacman -Q xdg-desktop-portal-kde 
xdg-desktop-portal-kde 5.23.5-1

So either it was missing and Valve's included it on later updates, or it was there all along.

@orowith2os
Copy link

The issue is likely that, yes, the Gaming Mode doesn't run any portals; specifically, the FileChooser portal. This might be able to be fixed by running a portal session inside of gamescope, but that is largely of upstream concern, and I'd consider it a "non-issue" as this isn't Yuzu-specific.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
help wanted Extra attention is needed investigating Currently under investigation steam deck Steam Deck/EmuDeck related issues
Projects
None yet
Development

No branches or pull requests

4 participants