HNHacker News
TopNewBestAskShowJobs

emersion

1,402 karma · joined April 1, 2016

[ my public key: https://keybase.io/emersion; my proof: https://keybase.io/emersion/sigs/rG1cF4bsomhCCfaFB7BmHYZMsbof0h0CWXBO5SfxpiQ ]
submissionscomments
emersion··on How to get root on Ubuntu 20.04 by pretending nobody’s /home
This was maybe an issue back in the day but should be fixed now. logind has a PrepareForSleep event and a lock mechanism to let the lock screen show up before the machine goes to sleep.
emersion··on No More Free Work from Marak: Pay Me or Fork This
This means you're no longer producing open-source software. You're now producing proprietary software.
emersion··on On Abandoning the X Server
https://cmpwn.com/@sir/105097280819605590
emersion··on On Abandoning the X Server
> Power user functionality like copy paste on the other hand? https://github.com/swaywm/sway/issues/4007 might want to pray before using that.

Come on.

Congratulations, you've found the only opened bug report about clipboard on Sway/wlroots. It's triggered by edge cases (X11 client hanging + fcitx apparently), and most of it has been fixed already.

Are you really trying to convince people that the clipboard is broken on Wayland with this? Maybe you could start by actually trying Wayland.

emersion··on On Abandoning the X Server
>as the platform under it (the hardware, the kernel, etc.) changes to the point that it becomes non-functional.

The kernel has a pretty strong backwards-compatibility stance, so you'd need to wait a long time.

Nobody stops you from running an outdated and insecure distribution to use X11 (in this hypothetical future). Nobody stops you from patching X11 to support newer interfaces.

If you want to stick with X11, you can. Nobody urges you to upgrade.

emersion··on On Abandoning the X Server
Yup, the thing is called the wayland-protocols repository.
emersion··on Graphical User Interface Using Flutter in Embedded Systems [pdf]
> it's not terribly complicated to pass exclusive access to display across processes.

You're just starting to re-invent the Wayland protocol. You need to pass input too… and more of Wayland re-invented.

>desktop environments are huge

Weston or Cage doesn't really qualify as huge.

Also, I think you underestimate the work to write a program using KMS and libinput. It's pretty easy to write a toy app, but writing a solid framework is something else.

emersion··on On Abandoning the X Server
<3
emersion··on On Abandoning the X Server
Nvidia still doesn't implement the de-facto standard API used by everybody else (GBM).
emersion··on Graphical User Interface Using Flutter in Embedded Systems [pdf]
>Embedded doesn’t need wayland nor X.org

It depends. In this particular case, the demo seems to contain a launcher which allows to start multiple apps and switch between them. A window manager sounds preferable in this case.

Also, Flutter handles all of the Wayland/X11 implementation details. In this case it's less work to just use the already-existing backend.

emersion··on On Abandoning the X Server
KDE and Mir already implement some wlroots protocols. We (wlroots) try to get as many compositors as possible on board.
emersion··on On Abandoning the X Server
Yes, Xwayland lets users run X11 applications inside Wayland compositors.
emersion··on On Abandoning the X Server
The compositor I maintain (Sway) has continuous integration for FreeBSD.
emersion··on On Abandoning the X Server
The people who take decisions can take decisions because they contributed a lot to the project. If you want to take decisions too, there's no need to be part of a big company, all you need is getting involved.

The ecosystem is still powered by the community. I see a lot of patches coming from hobbyists in many related projects.

emersion··on On Abandoning the X Server
That's what wayland-protocols [1] is for.

[1]: https://gitlab.freedesktop.org/wayland/wayland-protocols

emersion··on On Abandoning the X Server
>If I install some distro, Arch say, and I wanted to use Sway, and I then want to run Kile, will Kile then run through XWayland?

Kile seems to use Qt5, so should work without Xwayland.

> Will it work just as well as Kile on KDE Neon?

It should, yes. I don't use Kile though, so I haven't checked.

emersion··on On Abandoning the X Server
Nobody is forcing you to use Wayland. Nobody is arguing that X.org's server will disappear from the face of the earth.
emersion··on On Abandoning the X Server
> Those users are the target market that those companies are interested in pleasing.

Not really, no. My company (SourceHut) has nothing to do with Wayland and is just sponsoring me for working on open-source software (_any_ open-source software). A few other developers are working for Collabora, which mainly focuses on Wayland for embedded use-cases. So, none of these companies have a real interest in pleasing desktop users.

Regardless, it doesn't mean that I personally don't care about my users, or that I want to fight against them. It's just that if you don't like something, you need to step up and do something about it to improve the situation, instead of just complaining.

Maintainers are scarce.

> it’s possible that […] your work makes the world a worse place

Always great to hear that…

emersion··on On Abandoning the X Server
Correction: on my compositor and all compositors implementing the protocols wlroots pushes forward. This includes Sway, but also all wlroots-based compositors, and for some protocols also KDE and Mir.
emersion··on On Abandoning the X Server
Shortcut keys are configured in the compositor, and screenshots/screencasts work in a cross-compositor fashion via xdg-desktop-portal.
emersion··on On Abandoning the X Server
Not really. There are hundreds of contributors not paid by anyone. Until 1 year ago I wasn't paid for my Wayland-related work. I'm now very lucky to have a company sponsor my contributions, but that's far from being the case of everybody.

Even if all developers were paid, they wouldn't be paid _by users_. It means the developers don't owe the users anything.

emersion··on On Abandoning the X Server
I can find Wayland equivalents for my compositor for all of these tools:

https://github.com/swaywm/sway/wiki/i3-Migration-Guide#commo...

emersion··on The X.Org Server Is Abandonware?
"Wayland" is just the protocol, can you give more details about your setup? For instance, GNOME is more heavyweight than say Sway (and gives a more feature-ful and eye-candy user experience in return).
emersion··on The X.Org Server Is Abandonware?
You can thank Zoom for using the proprietary GNOME D-Bus API instead of xdg-desktop-portal. (And you can also thank Zoom for being bad in general, I guess.)
emersion··on The X.Org Server Is Abandonware?
Yeah, the KMS docs need some love. I'm trying to help with that. But note that even with EGLStreams you'd still be using KMS. And GBM's API is pretty small, basically just gbm_bo_import/gbm_bo_create/gbm_bo_get_*.
emersion··on The X.Org Server Is Abandonware?
I'm a wlroots developer, and I'm using an old Sandybridge mobile i5 CPU daily. So I'm pretty surprised about this. I'd be interested in a bug report if you were to try again.
emersion··on The X.Org Server Is Abandonware?
This talk "The Real Story Behind Wayland and X" by Daniel Stone (a longtime X developer) may debunk some misconceptions in this thread:

https://www.youtube.com/watch?v=RIctzAQOe44

emersion··on The X.Org Server Is Abandonware?
https://gitlab.freedesktop.org/mstoeckl/waypipe/
emersion··on Mailgo, a new concept of mailto and tel links
Not declarative, which means users would need to know they have to go to settings and enable it.
emersion··on Mailgo, a new concept of mailto and tel links
Would be better solved with a user-agent implementation I think. Let local apps and webmails advertise support for mailto links, make the user-agent display a dialog and let the user pick one.

We're almost there, the only issue is that there's no declarative way to advertise support for mailto links, webmails need to ask the user.

← PreviousPage 4 of 8Next →