TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Is there any future for the GTK-based Desktop Environments?

72 点作者 rohshall大约 3 年前

23 条评论

com2kid大约 3 年前
So much fighting over how best to draw the UI that will launch various instances of the Chrome engine.<p>Want to know why everything is written in Electron or as a web app? Because literally every desktop platform over the last decade has decided to play design and engineering games instead of just make a really solid stable base to write apps on top of.
评论 #30953768 未加载
评论 #30953764 未加载
评论 #30955086 未加载
评论 #30954936 未加载
评论 #30955521 未加载
new_user_final大约 3 年前
&gt;That KDE Plasma 5 is finally usable and stable, after having decided to stop pushing the ridiculous plasmoids on the user (were they liking the Windows Desktop Gadgets, or they were simply idiots?), is like having an old whore finally becoming a respectable woman. It’s hard to forget the developers’ idiotic decisions, though. I don’t like to be Microsoft’s guinea pig, why should I be KDE’s?<p>This attitude describes why there is no future for Linux desktop.
评论 #30954416 未加载
评论 #30954790 未加载
评论 #30954559 未加载
linguae大约 3 年前
Given non-GNOME developers&#x27; frustration with increasingly GNOME-centric releases of GTK, and given some of the licensing issues surrounding Qt (such as the one-year delay for FOSS releases of the toolkit: see <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=25748335" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=25748335</a>), I believe the time is ripe for a BSD-licensed GUI toolkit for X11 and Wayland that uses server-side decorations and tries to be as unopinionated as possible in order to allow for different visions of the desktop instead of imposing a particular vision through the toolkit. In fact, starting such a project is something I&#x27;ve been considering for a long time.<p>If only had GNUstep (<a href="http:&#x2F;&#x2F;www.gnustep.org&#x2F;" rel="nofollow">http:&#x2F;&#x2F;www.gnustep.org&#x2F;</a>) been the toolkit for the Linux desktop instead of the Qt vs GTK&#x2F;GNOME wars; this would have saved a lot of drama regarding toolkits. Back in the mid-2000&#x27;s it appeared that the matter was settled during the KDE 3 and GNOME 2 days; a lot of people seemed to be happy with these desktops, and those who preferred non-GNOME Gtk desktops and applications had plenty of options. However, ever since GNOME 3 the GNOME developers have been able to mold GTK to its vision at the expense of other GTK users who didn&#x27;t share GNOME&#x27;s vision. Qt is less opinionated, but its stewardship is up to the whims of whatever company that owns it. GNUstep is free from these issues, but it never received mass adoption.<p>Come to think about it, maybe instead of a new toolkit, maybe we should look into GNUstep some more and consider investing our developer resources into building a GNUstep desktop ecosystem. But I&#x27;m curious about what other people are thinking.
评论 #30954647 未加载
评论 #30955569 未加载
评论 #30955636 未加载
mavu大约 3 年前
The tone of that article makes sure that I stop reading after 2 paragraphs.
评论 #30954707 未加载
评论 #30954868 未加载
JCWasmx86大约 3 年前
Yes. GNOME is better than ever, GTK4+Libadwaita is simply doing one: Looking perfect.<p>The HIG are excellent, without GNOME I would be maybe 40% as productive as with it.
评论 #30957371 未加载
评论 #30954565 未加载
评论 #30956171 未加载
ogogmad大约 3 年前
I&#x27;m using KDE5 at the moment, and it&#x27;s essentially problem-free. It&#x27;s got more features than I know what to do with, but this somehow doesn&#x27;t detract from it but rather enhances it.<p>KDE5 never seems to be the default choice of desktop environment for distros like Manjaro, but you&#x27;re unlikely to go wrong picking it as your default option, if you&#x27;re given that option.
评论 #30954703 未加载
评论 #30955074 未加载
评论 #30954536 未加载
pengaru大约 3 年前
Programming GTK+ programs in C is rather unpleasant in my limited experience.<p>Despite the set of signals supported by widgets being a fixed part of the documented API, there aren&#x27;t even explicitly typed-checked function signatures for callbacks appropriate for those signals. The docs tell you what the function signature needs to be for a specific signal like &quot;clicked&quot;, but since all the callbacks basically get thrown into a generalized dictionary of void * keyed by signal name hanging off gobject, there&#x27;s literally ZERO type checking of the callbacks your program installs on signals.<p>Segfaults because your callback had the wrong parameter types&#x2F;arity for the signal you connected is the norm, and that&#x27;s arguably the best scenario. You can also install a callback on a signal that expects a gboolean return, and your callback returns void, welp, no segfault, but unpredictable behavior. It&#x27;s kind of awful, there won&#x27;t be any compile-time errors when making these mistakes, despite being C.<p>It feels like someone learned how to implement a dictionary then made gobject and built a GUI on top of it with dictionaries all the way down. I don&#x27;t want runtime dictionaries used for representing any set of things known at compile-time. Fine, use dictionaries for runtime-defined signals, but why the hell am I suffering this way for the things fully known by the toolkit before I even started writing my GTK+ program? Sigh. I may as well just write javascript.
评论 #30954775 未加载
onphonenow大约 3 年前
Fast windows 95 would have been fine. Instead the devs lost their minds w design craziness. VS Code and chrome pycharm etc means it’s not a huge deal - they are all x platform
评论 #30954706 未加载
denismi大约 3 年前
Yep, Nautilus is &quot;unusable&quot; without the compact view.<p>Idiotic hyperbole like this is where I stop reading. How can I take anything beyond that seriously?
评论 #30954930 未加载
kelnos大约 3 年前
I was an Xfce core maintainer from around 2004 to 2009. In addition to my work on Xfce, I also built a media player, and played around with some other projects that never really went anywhere. GTK2 had its warts, but it was generally fairly easy to build things, and it was fairly easy to work around things when something didn&#x27;t work the way I wanted.<p>GTK3 changed a lot of this. Many things that were previously public were now considered private implementation details. Much of that was perfectly understandable (necessary, even), but occasionally this meant that there were things you could do in GTK2, but just couldn&#x27;t in GTK3 (or could, but doing so was a huge pain in the ass). GTK3 deprecated or outright removed some things in GTK2, and it wasn&#x27;t often clear what the supported replacement was supposed to be. The theming&#x2F;styling system was completely replaced, which meant redoing themes, and any app that used theming APIs had to have that part completely rewritten.<p>On occasion I would report issues to the GTK folks, or would watch issues others had reported that I was interested in, and responses were all over the map, from helpful and welcoming, to actively hostile. What became very clear was that the GTK developers, over time, started only caring about the GNOME use cases. If you were using GTK for something non-GNOME, the GTK developers did not care about you, and would not reverse decisions that (incidentally or otherwise) broke your ability to do what you wanted to do.<p>I get it: as an open source developer, you have your own priorities, and you&#x27;re usually not beholden to your users for features or any particular work. I certainly did not care for it when people not contributing to my software would demand I do things for them. But man, did it suck to constantly feel like the rug was getting pulled out from under me.<p>I haven&#x27;t touched GTK4 yet, but judging from what I&#x27;ve read about it, I really don&#x27;t want to. I used Qt a bit around the early &#x27;00s, and kinda liked it, but didn&#x27;t love it (granted, I&#x27;m sure things are unrecognizably different now, for better or worse). Regardless, these days I have zero interest in writing C++. (To be perfectly honest, I have little interest in writing C either.) My hope is that one of the pure-Rust UI toolkits will take off, but at the same time that doesn&#x27;t help existing C&#x2F;C++ projects, since new-language rewrites are painful and often counter-productive. And on top of that, it just sucks to have more UI toolkit proliferation, which makes it harder to style things so the various apps on your desktop look reasonably consistent with each other.<p>Of course, my happy place would be Xfce rewritten to use a modern UI toolkit that is not GTK (or Qt, for that matter). (I would prefer Rust, but see above re: new-language rewrites.) But if we all thought the GTK2-&gt;GTK3 effort for Xfce took a really long time, rewriting using a new toolkit (let alone a new language) would likely take a decade. We were always understaffed when I was involved, with Xfce being a spare-time, volunteer, passion project for everyone involved (I believe one guy was paid for a while to work on Xfce-related things, but not for all that long). Not sure how much that&#x27;s changed, but I wouldn&#x27;t expect much corporate backing, despite Olivier (the project lead) working for Red Hat.
评论 #30954574 未加载
评论 #30954705 未加载
cmacleod4大约 3 年前
Just use Tk, problem solved :-) - <a href="https:&#x2F;&#x2F;tkdocs.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;tkdocs.com&#x2F;</a>
jchw大约 3 年前
I agree with some of this, though it is perhaps a bit overly harsh at times. Frankly, I’m not terribly impressed by the direction that Qt has taken either, though. This puts the open source desktop in a pretty unfortunate place…
评论 #30956286 未加载
rkangel大约 3 年前
As a consumer of desktop environments (and not a GUI application developer) I think that GTK based desktop environments are in the best place they have ever been and Linux as a DE for &#x27;normal&#x27; people is a reasonable option in a way it never has been in the past.<p>Gnome on Fedora is a solid experience. It works well out of the box, it&#x27;s performant, intuitive, well designed and good looking. I&#x27;m sure it rubs some developers the wrong way (there are always some) but based on my (small sample size) observation of people using it, it seems to be intuitive. It&#x27;s not just Gnome - Wayland is part of the picture because it makes things like multi-monitor more reliable too. We&#x27;re past the performance issues that the current version of Gnome had to start with, and Wayland is continually having the issues eliminated (once the last few screen sharing ones are dealt with there won&#x27;t be loads to complain about).
ggm大约 3 年前
Feels like 80&#x2F;20 class problem. 80% working, same effort to close 80% of the remaining 20% and recurse enough times you wind up burned out. Now add rewrites and factionalism and dissent.<p>They don&#x27;t love and nurture each other and they don&#x27;t love their users either.<p>I used to care. As a user I can&#x27;t buy into it any more.
plaguepilled大约 3 年前
A preface: I use GNOME and KDE on separate devices. I have tried i3 and intend to return to it when graced with more time to customise it. Importantly, I used GNOME before GTK3 happened.<p>I mention the above as preface because I see these kinds of posts on this website a lot and they are very misleading, and I believe I have the credentials to explain why.<p>If you skim the original article you could be forgiven for thinking that it is a well researched and justified piece of writing, but I would like to challenge that. In particular, I note that a lot of &#x27;evidence&#x27; for the claims of GTKs downfall are hinged in the author&#x27;s preexisting expectations (and bizarre tangents - who gives a shit about title bars one way or another in a conversation about software maintenance? Scope pls).<p>One very revealing assumption by the author is the idea that a major release of a community project such as GTK3 should be free of bugs. This seems very obvious to an end user. &#x27;Of course a major release should be stable! What are you saying? I need my servers to be reliable so I can feed my kids! Not everyone lives in fantasy land like you, plaguepilled!&#x27;<p>But there are actually two assumptions being made here. The first is that major releases of FOSS should be free of bugs and not corrected with time, and the second assumption is that this is no harder to accomplish than for a commercial entity.<p>However, crucially, the open source software community has had a huge shortage of maintainers for at least a decade now. Look up your favourite utility, then look up the team supporting it: often it is one person who is very, very over it. This can contribute to the phenomenon of fixes that come after the major release, not with it.<p>In fact, this single fact can explain why major projects that &#x27;weren&#x27;t broken&#x27; seemingly &#x27;choose&#x27; to self sabotage. The GNOME team are not stupid. They are heavily under-resourced. The same can be said for KDE and even the Linux kernel teams. If that bothers you, it is far more productive to actually contribute your time to fixing the issue than simply describing it while waxing lyrical about how all these modern devs have simply &#x27;lost the way&#x27;.<p>But I am here to contend that the idea of flawless FOSS is itself bizarre. Wealth inequality is a major issue in 2022 and proposing that the existing body of skilled software engineers should provide enterprise level software, <i>consistently</i>, without pay, is insane. If you care about software support and are not paying, and you do not yourself write FOSS software, you are at best a hypocrite, and at worst attempting to exploit people.<p>I am a fan of FOSS and want it to be better, but this article is not the way to that future.
评论 #30956156 未加载
syntheweave大约 3 年前
There&#x27;s something missing from the analysis, which I believe is quite important: There are only a few applications complex enough to push these toolkits to their limits, and that&#x27;s not a case of &quot;developers craving such a toolkit and not getting it&quot;. Most of the things people were going to write native for in the past have been absorbed into the browser; and many new applications are written with a more ground-up concept of UI that needs to start from the beginning with a lower level framework(e.g. game engines). Without that ambient demand pulling toolkits forward, they&#x27;re going to revert to the needs of desktop environments - a problem which was already solved mostly adequately back in the 2000&#x27;s and now is in a product churn cycle. The complaints of Linux desktop users haven&#x27;t been about the desktop UI in quite some time; it&#x27;s been other parts of the stack with friction that sometimes surfaces to the desktop(e.g. input devices under Wayland, or the entire landscape of audio session management), but not the basics of windowing and presentation.<p>Every time Linux faces big coordination challenges to stand up a more robust overall system, a &quot;Ship of Theseus&quot; method of getting first a political consolidation and then replacement has appeared. This can be traced at least as far back as the appearance of udev, and more recent examples include PulseAudio, systemd, Pipewire, and Wayland. One can see this taking place on both the GNOME and KDE fronts too: both had their toolkits come up out of an environment where GUI hadn&#x27;t yet been commoditized, and therefore the stakeholders were broad. Over two decades on, consolidation has taken place, and that&#x27;s gradually reached a point where it does impact the &quot;alternative desktops&quot; like Xfce.<p>The overall maintenance budget for old code isn&#x27;t infinite, though. We can leverage the past, but only if we&#x27;re still doing the same things we needed in the past. And I don&#x27;t think the desktop is staying the same; the move towards touchscreens was a fashion, but the approaches to UX are generally going away from creating a space shuttle control panel, and instead looking for a way to configure more targeted workspaces. Which means that toolkit needs are changing as a result.
评论 #30954960 未加载
评论 #30957383 未加载
jcelerier大约 3 年前
&gt; My ultimate prediction is that within about three years after GTK 5 is released, touchscreens will go out of vogue<p>haven&#x27;t they already ? I remember buying much more easily a computer with a touchscreen in 2011 than today, at some point every other model had it, but now it feels like NVidia&#x27;s 3D Vision in its end times.<p>Same for tablets, when I check analytics for my website, tablet use is pretty much zero.
评论 #30955564 未加载
评论 #30955657 未加载
jart大约 3 年前
I think there&#x27;s a future for STLWRT. All was right with the world when Linux looked like this: <a href="https:&#x2F;&#x2F;www.linglom.com&#x2F;images&#x2F;Linux&#x2F;ChangeIPAddress&#x2F;1.png" rel="nofollow">https:&#x2F;&#x2F;www.linglom.com&#x2F;images&#x2F;Linux&#x2F;ChangeIPAddress&#x2F;1.png</a> I still run RHEL5 and use it everyday. I don&#x27;t even consider it that old.
评论 #30955413 未加载
评论 #30955812 未加载
seba_dos1大约 3 年前
All I got out of this blog post is that its author appears incredibly toxic. There&#x27;s no need to waste your time with it.
hulitu大约 3 年前
&quot;Is the Linux desktop heading south?&quot;<p>There is a whole world out there. I use fvwm as a &quot;desktop environment&quot; with MC as file manager. I also find the idea of &quot;desktop environment&quot; a bit old. Even on windows 10 every programm behaves differently. Even MS is not able to have a unique look and feel in its own programms.
anthk大约 3 年前
I use Fluxbox (slightly tweaked Zukitre theme), lxappearance, Tango2 icons and Rox filer with a bunch of plugins among Rox-Lib under ~&#x2F;lib.<p>90% CLI oriented but with common sensical GUI plugins and settings.<p>The best of both words, and a &quot;DE&quot; with unmatched speeds.
评论 #30955804 未加载
wooque大约 3 年前
Yes, Xfce is working perfectly as it was for the last 7-8 years
greatgib大约 3 年前
&lt;&lt;So, if GTK+ 3 flopped, how are we where we are today, with GTK+ 3 suddenly being forced down our throats? It turns out it was probably started by Red Hat.&gt;&gt;<p>Systemd, gnome 3, I think that it is Red hat that ruined the desktop experience in the last decade by imposing terrible choices on everyone else...
评论 #30954602 未加载
评论 #30955733 未加载