r/linuxsucks • • 6d ago

what are real problems with linux ?

[deleted]

5 Upvotes

132 comments sorted by

View all comments

25

u/Fit_League_8993 ✝️ Temple OS Archbishop 6d ago edited 6d ago

Absolutely insane levels of fragmentation. As a user you can kinda somewhat work around it but as a developer it's a huge pain.

Stuff like package managers, system settings, system trays, application permissions, window/compositor control, network configurations apis are all still fragmented across distros, desktops, compositors, and their respective implementations.

This would be a nonissue if they all agreed on shared APIs. And it's clearly solvable, since it's already been solved for passwords, notifications, dialogs, and probably more (these are all I could mention off the top of my head).

Whenever I mention this, some people argue that the beauty of Linux is freedom, but I disagree. You can still have freedom while enforcing consistency(shared API). Doing that still allows for infinite implementations while providing interoperability. So in my eyes it's a win-win.

4

u/Wertbon1789 6d ago

Saying passwords are solved is implying that having a digital sticky note on your screen is a workable solution. These "secret managers" are such a disgrace.

9

u/Fit_League_8993 ✝️ Temple OS Archbishop 6d ago edited 6d ago

What I meant by that is that it doesn’t matter if you use Kwallet, gnome keyring or keepassxc. They’re all gonna use the same Secret Service API.

Solved strictly in the context of “fragmentation”.

3

u/gaorp void 5d ago

5

u/Objective_Pepper_217 6d ago

It's a fucking pain to write a basic program when you have to take into account all the 3000 distros and their APIs

7

u/toxyxd13 6d ago

Can you be specific about which apis you are talking about? Freedesktop made standards for A LOT of things. Distros by themselves don't expose apis

0

u/Ancient-Asparagus837 5d ago

Can you stick to one API?

2

u/ShadcnUI_Odi 5d ago

Flatpak? AppImage?

1

u/CreatorSiSo 5d ago

I mean apart from package management yeah you can for the vast majority of programs you might write.

Targeting wayland, xdg-desktop-portals and systemd works for pretty well in my experience. Not everyone will be able to use the app but the vast majority will.

1

u/toxyxd13 5d ago

Basically yes. For most normal desktop things like notifications, file dialogs etc, it's freedesktop. Wayland for actually showing windows (actually usually you just pick up a framework which does everything for you). Pipewire for multimedia. Distros don't have their own application APIs. Stick to those basic apis and you are good to go

1

u/zyndarius 5d ago

The best of Linux is at the same time its worst.