Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> Back when I was writing xdg-desktop-portal-hyprland

Ah, yes, XDG "portals". The reason file selection and screencasting is broken on every new Linux/Wayland installation I do, forcing me to try to understand the insane matrix of supported, half-supported, broken, and unsupported features by the dozen+ different implementations, and come up with the magic configuration incantation that makes it work on my system. Brilliant stuff. But it's secure!

> That is why, I've decided to take matters into my own hands. I am writing a new bus.

Oh, goody. The author quotes xkcd/927 as if anticipating the response, when it's exactly appropriate for this situation.

> For example, with wayland, when you switch, you abandon X. You cannot run an X11 session together with a wayland one, simply not how it works.

Huh? I use niri, and had to install both Xwayland and xwayland-satellite to get some of my apps working. I have no idea what either does, and even less interest in figuring it out, but it sure sounds like some X compatibility layer. Please tell me more about how much X, and now D-Bus, sucks.

I switched to Wayland a few months ago, and I'm happy that things mostly work now, but it seems that reinventing the wheel is the M.O. of developers in the Wayland community. Everyone is tired of everyone else's shit, has a superiority complex as evidenced by this ranty article, and has the urge to recreate literally every tool in the ecosystem that works for their own specific use case. Case in point: the dozens of tools that start with `hypr`. I guess we can add "tavern" now to that, whatever the fuck it is.

I'm tired of the state and direction of modern Linux. I wish I could use OpenBSD and leave this constant churn and bickering behind.

EDIT: Ah, it seems the author agrees with me: https://blog.vaxry.net/articles/2024-linuxInfighting

They're pointing out toxic behavior, favoring constructive criticism, and yet engage in the same behavior they're criticizing. Wild. How we ended up with these people as leaders in the Linux community is beyond me.

> An important part of actually advancing a product forward is to cooperate.

100%. Maybe they should heed their own wisdom.





> Ah, yes, XDG "portals". The reason file selection and screencasting is broken on every new Linux/Wayland installation I do, forcing me to try to understand the insane matrix of supported, half-supported, broken, and unsupported features by the dozen+ different implementations, and come up with the magic configuration incantation that makes it work on my system. Brilliant stuff. But it's secure!

Is there some way to avoid such a mess (and other problems with XDG portals and other XDG stuff) by substituting a .so file, somehow? I don't really know enough about how it works to know whether or not such a thing would work. (Maybe it might work for some programs, depending on which libraries they use for this purpose.)


I have a very vague familiarity with how it works, but I don't think there are alternatives. If you're using Wayland, you either have to rely on a distro or DE to configure it for you, or do it yourself.

To be fair: I don't think the idea behind portals is necessarily bad. But the half-baked implementations that all do things slightly differently is a pretty bad UX overall.


Hmm, screencasting is finally working properly for me now. It was a loooong road...

Oh, it works for me too, but unless you're using a distro or DE that preconfigures it for you, you have to do it yourself. Which I'm used to on Void Linux and usually don't mind, but it's a horrendous UX that I just didn't have to deal with on X11.



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

Search: