this post was submitted on 03 Nov 2023
189 points (94.4% liked)

Linux

48375 readers
1915 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

I've been involved with Linux for a long time, and Flatpak almost seems too good to be true:
Just install any app on any distro, isolated from the base system and with granular rights management. I've just set up my first flatpak-centric system and didn't notice any issues with it at all, apart from a 1-second waiting time before an app is launched.

What's your long-term experience?

Notice any annoying bugs or instabilities? Do apps crash a lot? Disappear from Flathub or are unmaintained? Do you often have issues with apps that don't integrate well with your native system? Are important apps missing?

(page 2) 50 comments
sorted by: hot top controversial new old
[–] [email protected] 5 points 1 year ago

I had heroic games launcher as a flatpak and my FPS was 33% lower than a native install of heroic

[–] [email protected] 5 points 1 year ago

Mostly okay. My only annoyance is setting up electron apps to use Wayland.

[–] [email protected] 5 points 1 year ago

I've gone back to using packages from my repo. I was all-in with flatpaks for a while because they tend to be more up to date than my distro's packages and I liked the idea of the sandboxing but in practice I've found it a nuisance getting applications to speak to each other and I don't like all the redundant code bloating my internal drive. The thing that really did it for me though was the other day when I had to restore my system from a Timeshift backup. It took an hour and a half to restore a recent backup, with well over 90% of that time showing as flatpak stuff.

[–] [email protected] 4 points 1 year ago

The only problem I've encounter was the steam client not recognising my controller and then I've decided to install steam non-flatpak.

[–] [email protected] 4 points 1 year ago (1 children)

Screwed up fonts in GTK software, even though the xdg-portal app for KDE is installed. At some point I just gave up. I see no reason to install any Flatpak if the software in question is already in the distro's repository and current enough anyway. Maybe except OBS, because the Flatpak version comes with Youtube integration which, to my understanding, needs to remain closed source and won't make it into a FOSS repository.

load more comments (1 replies)
[–] [email protected] 4 points 1 year ago

It's fine. No real crash/stability issues on the flatpaks I've installed. The real downsides are that, yeah, some apps don't integrate well with the rest of the system either in some functions or theming, due to the sandboxing, and if an app has many or large dependencies it can take up a lot of space compared to a native/repo app and you also may then have more than one copy of those dependencies on your system. That doesn't usually cause conflicts (a positive side of sandboxing), but it may be a problem on smaller storage devices if you use a lot of flatpaks or need other large apps installed.

[–] [email protected] 4 points 1 year ago

I have made very good experience with Steam installed from flatpak. Only my loved browser "qutebrowser" seems to be abandoned in the flathub-repo. It takes so much time to compile it on Gentoo, so flatpak is a very good fallback for programs with painful compile times.

[–] [email protected] 4 points 1 year ago* (last edited 1 year ago)

Absolutely fucking awful. I’ve had issues with every one I’ve used.

Been trying to move to silverblue/ublue/sericia.

Firefox comes out of the box as both a system package and a flatpak. The flatpak does WebGL stuff fine, but video is broken; the system package does video, but webgl is broken.

Boxes was the first app I had needed to open a file with, and every time I need to, I have to restart some systemd portal service first. And there’s no guest to host audio.

I always had this problem with Inkscape on standard fedora where the icons on the layers menu would be corrupted. Wasn’t so on my first use of it with flatpak. Great! But subsequent runs the issue returned.

Discord worked fine for a few weeks. Then it started crashing on launch. A bit of googling and installing an old MESA platform flatpak had the problem resolved… for a day.

The only flatpak that has worked without a hitch has been Spotify.

Everything is so different, I have no idea how to debug this shit. And even then, I’m not 15 with unlimited time and zero dollars any more. I don’t have the time to spend 5 hours working out why my image editors icons are wrong.

Having a one-stop distribution-agnostic repository where it’s easy to install software devops-style is a win. (Setting up custom repos, or installing the latest rpm every week (looking at you discord) can be a pain). Buuut I’m not convinced.

[–] [email protected] 4 points 1 year ago* (last edited 1 year ago)

I started on Debian, Ubuntu and Fedora. Native apps where often horrible. I remember SciDavis for Ubuntu being completely broken, Libreoffice for Fedora, and Flatpak just worked.

Officially supported Flatpaks are great, a bit like the Windows way but better, as they are reviewed, containerized and in an actual repository.

But flatpakking random apps isnt that easy, but I really want to learn it. Especially an easy semi-automatic way of converting Appimages (may they burn in hell) to Flatpaks. Like BalenaEtcher and so many more.

Also, Flatpaks are not secure in the case of biig projects. Nearly all the known Linux apps like Libreoffice, Gimp, Inkscape etc are unisolated. And trying to specify the permissions (only home and all the mounts, instead of your entire root partition) gives you "they are insecure anyways and should get portals" and your PRs closed.

So they are in a very incomplete state currently, and you need to manually secure them to be actually kinda protected. But without Portals, entire home access is not actually isolated.

Also, try and use the --verified repo:

flatpak remote-add --subset=verified flathub-verified https://flathub.org/repo/flathub.flatpakrepo

Problem here is that many apps like VLC, that work great, are not yet adopted by upstream, so the verified repo is not really usable currently.

And native messaging (keepassxc-browser, etc.) and other things are not always working. Drag&drop is, for some reason, but not in Firefox, maybe there are different ways.

[–] [email protected] 4 points 1 year ago* (last edited 1 year ago)

Why flatpak when I have apt/.deb? I never needed, at all, any flatpaks

[–] [email protected] 4 points 1 year ago

I am on MicroOS-based distro, so all my GUI applications are from Flatpak. I don’t see any difference from more traditional distro, it just works.

[–] [email protected] 4 points 1 year ago

They take a lot of space but the advantages you get are amazing, VScodium broke again this week, I could just rollback to the commit that worked with no issues. I can install apps I don't trust and not give them any permission over my filesystem. And best of all: it works on any distro so I know my setup is reproducible easily.

[–] [email protected] 3 points 1 year ago

I have replaced every app, that can be replaced, with flatpak. My only gripe is that they don't follow the system theme by default.

[–] [email protected] 3 points 1 year ago

Great. I like being able to deny apps permission to my home folder with a simple flick via Flatseal. Only issue I have with it is the slow update times, flathub seriously need to get more mirrors.

[–] [email protected] 3 points 1 year ago (2 children)

most flatpaks are awesome, it's my preferred way to get apps. except for steam and syncthing. for some reason no amount of fuckery in flatseal can get flatpak-steam to correctly recognize my game drive or flatpak-syncthing to actually sync files from certain locations. for everything else tho flatpaks rock

[–] [email protected] 3 points 1 year ago* (last edited 1 year ago) (1 children)

Flatpaks are sandboxed to user space. I use Flatseal which allows you to grant flatpaks additional permissions. I used it to allow the flatpak version of syncthing to sync files that it otherwise lacked read/write permissions for.

That solution has worked really well for me and resolved my main frustration with flatpaks.

[–] [email protected] 2 points 1 year ago

yeah I mentioned I used flatseal lol. Ive tried giving it specific narrow permissions and I've tried just enabling everything and giving it full perms but nothing works great the way other versions of syncthing and steam just work

[–] [email protected] 3 points 1 year ago

Syncthingy works great? Try either Flatseal or KDEs flatpak permission settings to add the directories you are missing. As long as all packages use Portals, either they are completely unisolated or they break in those ways. I prefer the second option and add the needed directories

[–] [email protected] 3 points 1 year ago

They don't seem to play nice with autostart, on kde at least. Updates sometimes need to retry a couple of times. Other than that no problems on my end. I'm using a read only root fedora spin and mainly distrobox-export apps on arch for anything missing, or rpm-ostree for the odd thing I need to start at boot.

[–] [email protected] 3 points 1 year ago

None whatsoever. Thankfully.

[–] [email protected] 3 points 1 year ago

Only using it for Telegram at the moment but it's been good. A like slow to launch but otherwise works great and integrates with the notification features of Linux Mint.

Other things like WhatsApp, Inoreader, Mastodon, Lemmy I run as a web app using Mint's brilliant web app tool which makes the web app like and with like a native app.

[–] [email protected] 3 points 1 year ago* (last edited 1 year ago)

All the problem I haven encountered with flatpak is short-term (GPU passthrough, wayland support etc), and all of them either dont work or require a one time fix.

Basically if I dont encounter problem on the frist day, I have never encounteted any problem after that, unless a update introduced some bug in the software, of course.

[–] [email protected] 2 points 1 year ago

The couple of apps I use through flatpak has not had any issues as far as I can tell. Other than maybe being a little slow to get pushed to the newest version.

[–] [email protected] 2 points 1 year ago

They are great, I use them over the native package whenever I can on Fedora Workstation. Can't say I've had any issues with them in recent years.

load more comments
view more: ‹ prev next ›