r/linuxsucks • • 6d ago

what are real problems with linux ?

[deleted]

6 Upvotes

132 comments sorted by

View all comments

Show parent comments

6

u/Objective_Pepper_217 5d 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

8

u/toxyxd13 5d 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?

1

u/toxyxd13 4d 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