News for hackers. Stuff that matters.
Re:Debian KDE: Right Linux distribution for professional dig... by freedomben on Friday May 31, 2024 @04:27PM (#40539852)
I likewise love AppImages and wish more projects used them, but I also love Flatpak. The downside of Flatpak is the overhead it takes to learn what it does, how it works, and how to manage them. If you already know container stuff like docker/podman then it isn't too bad, but it's a non-zero cost and friction.

I think most people don't like AppImages mostly because they don't provide any sandboxing. I think that's a silly reason myself, but I'm also an old, and us olds aren't terrified of using our computers like the youngs seem to be ;-). Though, other OSes are getting sandboxing for applications and Linux needs to not get left behind, so I'm glad it's being solved.

I also think fragmentation is a (valid) reason people dislike AppImage also. It's nothing wrong with AppImage specifically, but that its existence harms adoption of Flatpak by making it easy for people to not use Flatpak. Personally I see them occupying different niches. I use App Images for things like Kdenlive, Logseq, Upscayl, and UHK Agent. Those could all be Flatpaks, but developer effort matters. If devs provide an App Image build I think we should be praising them from the rooftops for caring about Linux!

Another reason is that it clashes with immutable OSes like Fedora Silverblue or SteamOS that are heavily container-based.

What I'd love to see is a tool that takes an App Image and automatically builds it into a Flatpak (possibly with predefined metadata). Flathub could easily be populated this way so that it's easy for developers/distributors to package and ship, but also Flatpak is the standard.

Re:Debian KDE: Right Linux distribution for professional dig... by jwells89 on Friday May 31, 2024 @10:17PM (#40542326)
Unpopular opinion maybe, but I think sandboxing and app packaging/distribution should be entirely separate components so the user can mix and match the two freely. Combining both into a single “solution” makes for inconsistency and trouble.
Re:Debian KDE: Right Linux distribution for professional dig... by yjftsjthsd-h on Saturday June 01, 2024 @12:25PM (#40547020)
Flatpak uses bubblewrap, and you can use that separately (directly or through ex. bubblejail).
Re:Debian KDE: Right Linux distribution for professional dig... by Zetaphor on Friday May 31, 2024 @10:44PM (#40542467)
Greetings fellow UHK user, the best keyboard.
Re:Debian KDE: Right Linux distribution for professional dig... by freedomben on Sunday June 02, 2024 @01:28PM (#40555801)
Truly, it has forever made me dislike all other keyboard :-)

The layers (especially mouse layer) is so genius I can't believe it isn't more common

Re:Debian KDE: Right Linux distribution for professional dig... by jcelerier on Saturday June 01, 2024 @09:17AM (#40545495)
> Though, other OSes are getting sandboxing for applications and Linux needs to not get left behind, so I'm glad it's being solved.

it should have been very telling to the linux community that Microsoft with all its mighty billion dollars wasn't able to force sandboxing on the users with WinRT and had to backtrack and allow Win32 apps again. Hell, people moved to linux because MS tried that.

Re:Debian KDE: Right Linux distribution for professional dig... by tapoxi on Saturday June 01, 2024 @12:23PM (#40546998)
That's not because of the sandboxing, that's because WinRT required UWP. Microsoft since introduced Win32 sandboxing, which is how the Microsoft Store, most "inbox" apps on Windows, and Game Pass games work.

But sandboxing isn't a requirement on Linux, its an optional distribution method. When you look at a console like the Steam Deck, that system practically requires you to use Flatpaks for third-party software because the OS is an immutable image. If you install anything through pacman it will be wiped on the next OS upgrade.

Re:Debian KDE: Right Linux distribution for professional dig... by Gormo on Saturday June 01, 2024 @02:37PM (#40548028)
> Though, other OSes are getting sandboxing for applications and Linux needs to not get left behind, so I'm glad it's being solved.

It is an unquestionable mistake to conflate packaging/distribution and runtime sandboxing into a single solution. These are different problems that fundamentally have nothing to do with each other. There are great solutions for sandboxing that don't care how an application is installed, and solutions for packaging that don't force a specific sandboxing solution on you. This failure to separate concerns is one of the primary disadvantages of Flatpack.

Re:Debian KDE: Right Linux distribution for professional dig... by freedomben on Sunday June 02, 2024 @01:33PM (#40555823)
> This failure to separate concerns is one of the primary disadvantages of Flatpack.

I would agree with you if there wasn't already RPM, debs, etc. But also given how flatpak is implemented on top of containers, it's basically "sandboxed by default" and any unsandboxing involves exposing/mounting things in from the host into the container. You can "unsandbox" any flatpak you want using flatseal (or if you know how, flatpak directly), so I think flatpak is actually pretty good in this regard.

Re:Debian KDE: Right Linux distribution for professional dig... by Gormo on Monday June 03, 2024 @08:09AM (#40561886)
> I would agree with you if there wasn't already RPM, debs, etc.

No, these are purely packaging solutions that do not conflate their purpose with sandboxing.

> But also given how flatpak is implemented on top of containers,

Yes, this is the problem I'm referring to.