Flatpak is ALMOST perfect

First of all, MASSIVE shout out and gratitude to every developer publishing on flathub. You’ve made life on Linux a breeze to where my wife and her friend have grown to prefer it for their desktops.

In the spirit of keeping things turnkey for new users, I want to bring attention to a couple issues specific to flatpaks.

  • The FPS limiter that GameMode/Gamescope provides works great for native apps, but Flatpak packages completely ignore it.

  • Unnecessarily strict sandboxing makes users have to hunt for workarounds that could/should be solved by having the app ask for permission to access certain things, like an Android app

Why does t his matter? It matters because I can’t recommend certain apps as flatpaks to new steam deck owners and Linux users, despite the entire internet saying they’re fine and work out of the box. They don’t.

  • Moonlight: Streaming feels less smooth than it should because the gamescope limiter never kicks in. Before I knew this was a flatpak limitation, I went crazy tweaking settings trying to figure out why my stream felt jittery even on a hard line. Same issue for emulators most people install through Emudeck.

  • Heroic: Same as Moonlight. Thing is, users are expected to dive into the app settings and manually cap FPS – a step that feels unnecessary for a handheld that’s supposed to be plug‑and‑play. Games that feature HDR also need manual intervention. On top of that, you need to hunt down a very specific version of the Mangohud and Gamescope flatpaks just to get anything close to the expected behavior.

  • Both of these are related to gaming on the Steam Deck, and I’m sure they work fine on Desktop. OnlyOffice however, refuses to open any files stored on my NAS. It’s been a while since I’ve tried so maybe this was fixed. This issue with OnlyOffice is what led to me abandoning flatpak entirely for a while and moving to AppImages.

  • Piper straight up doesn’t work via flatpak.

  • With OpenRGB, I wasn’t in the mood to troubleshoot what was wrong with the udev stuff so I just booted into a windows drive and set my wifes RGBs there.

I am aware that I’m probably venting in the wrong place. Whenever I’ve submitted reports, the developers simply say “its a flatpak issue, use the appimage”. This is so frustrating to deal with as someone who wants to be productive. Neither side wants to acknowledge these issues and it feels pointless putting in the effort to report these things (which end users shouldn’t have to worry about) just to get turned away.

I truly love Flatpak (and immutable distros). My friends, family, and even Valve have shown that it’s the most likely path forward for mainstream Linux adoption. I hope that this post brings a tiny bit of awareness to these issues and that the community will take these pain points seriously.

1 Like

I’m not going to comment on all of this, but just about this part:

That’s basically what the XDG Desktop Portals are for.

Take access to a file as an example:
Ideally, an app would request from the system to access a file. The system would show the user a file chooser, so they can decide what file should be accessed. Then the system gives the app access to the file.

If an app uses the FileChooser portal, this works without issue and shouldn’t even be noticeable by the user.

So, the “Android-like permission system” already exists in the form of the XDG Desktop Portals.

Now, you’ve mentioned OnlyOffice later on. The issue here, if I recall correctly, is that OnlyOffice doesn’t use the portal to access files. Because of this it needs a static permission, which is only set to an certain extend by default. Hence the need for “workarounds” if this isn’t enough.

While sometimes there is the case where a portal is still missing (or isn’t feasible), sometimes its also that the app just doesnt use the portal when one exists. This is something an application would need to fix.

This is unhelpful, figure out if it’s still the case and how you access the NAS (protocol might be important here)

you need to read the apps description

correct, as this is the flathub forum and not the flatpak issue tracker