Hacker News new | past | comments | ask | show | jobs | submit login

Does "native" exist on Linux, in your opinion? Feels to me like both QT and GTK (and maybe iced if cosmic comes to fruition?) could be considered native (or none of them can, depending on your point of view).



I’d answer this differently depending on when you ask. 10 years ago (random, but long enough number) I would have said an easy yes. Both GTK and QT would have been acceptable toolkits to use as the cross DE issues weren’t that many and bugs got fixed. Ask me a few years ago and I’d waver. It wasn’t clear how ecosystem friendly GTK4 would be, so I might have optimistically replied the same. But caveat it with a “maybe support both X11 and Wayland.” But ask me now and I’d say to earn the label *Linux native*, you would have to support a lot. GTK4 has proven to not play well with other DEs. The jump to Wayland has caused a fairly significant split in DEs (this year has greatly closed the gap with many showing great progress in supporting Wayland) which means some apps may not work on your DE of choice. And overall, I’d be hesitant to claim that any app is truly *Linux native* because installing an app no longer guarantees that it’ll just work and look and feel right. You’d need to have builds GTK4 & QT, and make sure that they work in both X11 and Wayland for the next few years. When I look for apps nowadays, I tend to append my DE and/or distribution to my search. I currently think it’s more truthful (on Linux) to say that an app is native to a DE instead of to Linux.

Note: I don’t think GTK4 is bad. One of the best parts of the Linux ecosystem is that we have a lot of great DEs that have gradually differentiated themselves by UX. GTK4 not playing well with others is in part due to how different GNOME’s UX is. The toolkit is meant to serve one DE paradigm now and that’s led to higher quality on that DE. The drawback to that diversification is that there is no easy way to support all DEs. Your toolkit drives what you support (unless you go out of your way to fix things that GTK4 isn’t fixing - which is why I put that bit about seeing how KDE issues would be addressed). The word “Linux”, now more than ever before, describes an ecosystem (or kernel) rather than an operating system.


> You’d need to have builds GTK4 & QT

Isn’t this just a long about way of saying “no”? Very few frameworks let you flip a switch and build against Qt OR Gtk.


The whole point of marketing an app as being native to an operating system is to appeal to users by saying that you are explicitly not using a framework that lets you flip a switch. That you are going out of your way to make separate builds in the operating system’s native framework so that it looks, feels, and performs as best as possible. That’s very clear in the messaging of how and why the macOS version was built. If you are going to go out of your way to market being native as your differentiating factor, I think that yes, you have to make separate builds of GTK and QT (and in the future, libcosmic if it gets a large percentage of users) in order to be able to genuinely market yourself as Linux native. So it is possible. It’s just not as easy as picking one framework and hand waving away the rest of a substantial portion of the userbase.

I’ll repeat that that is what I find disingenuous with the marketing and about page explanation. I have no problem debating whether or not QT-based desktops are a consequential portion of all Linux users. But if you agree that those users account for a sizable percentage of Linux users, then I think my take is a fair one.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: