this post was submitted on 29 Oct 2023
258 points (95.7% liked)

Linux

48332 readers
1071 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'm not proposing anything here, I'm curious what you all think of the future.

What is your vision for what you want Linux to be?

I often read about wanting a smooth desktop experience like on MacOS, or having all the hardware and applications supported like Windows, or the convenience of Google products (mail, cloud storage, docs), etc.

A few years ago people were talking about convergence of phone/desktop, i.e. you plug your phone into a big screen and keyboard and it's now your desktop computer. That's one vision. ChromeOS has its "everything is in the cloud" vision. Stallman has his vision where no matter what it is, the most important part is that it's free software.

If you could decide the future of personal computing, what would it be?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 10 points 1 year ago (2 children)

For Linux in general? If I could decide? Here goes:

  • I would want people to realize that distro maintainers are actually important and Flatpak and co. are not actually as good of a thing as everyone makes them out to be.
  • I would want a full actively developed GNUstep-based desktop environment as the "default" Linux desktop (which apparently was the original intention).
  • I would want Xorg to finally go away.
[–] [email protected] 4 points 1 year ago (1 children)

I love Flatpaks and have embraced them totally on my desktop. They just make sense for sandboxing applications with Flatseal. Distro maintainers also ship software with bad defaults. I want to be able to easily control that.

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

sandboxing applications

Sandboxing is nice, but is not exclusive to Flatpak. I'm talking about the software distribution model.

Distro maintainers also ship software with bad defaults. I want to be able to easily control that.

So you trade distro packages which you can usually customize pretty well if you need to (e.g. modified Arch packages on the AUR) for Flatpaks where you have no chance at all to do that because the package build script isn't available? And the problem still isn't solved because now the people who can set bad defaults still exist, they're just different people.

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

Aside from all the things Flatpaks get right, a sandbox framework built right into the design is a major win and in my case, it's one of the big reasons I went with it.

You can also modify the build script for any flatpak's manifest and create packages with flatpak-builder. May not be as easy as PKGBUILDs but it's certainly possible.

The problem of bad software defaults is easily solved with Flatseal. My point is that, it takes a few clicks to deny permissions to Flatpak applications as opposed to sandboxing a traditional app yourself.

Writing sandbox profiles for apparmor or something similar is usually a complex elaborate affair. And even when you do finally manage to get a working profile, it still requires maintenance to keep the sandbox functional as the target software updates. You won't face any of these problems with Flatpak's bubblewrap.

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

because the package build script isn’t available?

What are you talking about? Every Flatpak on Flathub has their build manifest available on GitHub, you can fork or download it for yourself and change it how you'd like, just like you can with an Arch PKGBUILD

And the problem still isn’t solved because now the people who can set bad defaults still exist, they’re just different people.

For one, unlike with distro packages, lots of Flatpaks are made by the developers of their apps, so bad defaults aren't really going to be a thing for those since the developer would want to choose what's best for their own app

And for packages maintained by a third party, bad defaults are less common because maintainers don't need to account for each individual distro's unique package situation or specific dependency versions, and only have to package it once for every distro

[–] [email protected] 3 points 1 year ago (1 children)
  • while the current state of flatpaks might not be perfect. Aren't they on a good path to provide a futuristic packaging format?
[–] [email protected] 1 points 1 year ago (1 children)

Does what they built work well? I suppose so. But is what they're doing a good idea? I would say no, and the reasons as to why are in the post I linked.

What would you consider a "futuristic packaging format"?

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

I can't find that flatpaks are mentioned in that article

I guess mostly sandboxing, permission control, distribution and reproducibility

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

I can’t find that flatpaks are mentioned in that article

Flatpaks, like Snap (that it does mention) are the "upstream packaging" the entire article is about. Specifically about how they both have software vendors directly publish packages to their repositories without maintainers in between.

sandboxing, permission control [...] reproducibility

Yes, those are good. (Not sure how reproducible it actually is since I can't find a way to download build files from flathub, though...)

distribution

What do you mean by that?

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

Snaps only have one central repository which is controlled by canonical. I can set up a flatpak repo myself if I want to.

I haven't validated a package either but I read that you are able to do it.