Better HN
topnewbestaskshowjobs
Log inSign up

QEIAo7BCrzKtYQ

3 karma · joined Nov 26, 2022 (4y ago) · 3 submissions

Submissions

comment 4y ago · link · parent

>If the Linux kernel had worked the same way, we'd never have gotten Linux.

Yes we would. In fact it's exactly how Linux works and has worked for decades. New features get added in drivers and then get rolled up into driver subsystems when enough hardware supports them.

comment 4y ago · link · parent

That post is some pretty bad misinformation. An API for global keyboard shortcuts was being worked on and just got merged 2 months ago. https://github.com/flatpak/xdg-desktop-portal/issues/624

There is a way to protect against LD_PRELOAD: use sandboxing. X11 is bad for security because it's an intentional escape around the sandbox.

The "tear it down and build something else argument" is also going nowhere, anything else you build is going to run into the same questions of how to go about implementing these features.

comment 4y ago · link · parent

>The Wayland architecture does not give me a choice in my screenshot, video recording, and remote desktop tool

Yes it does. Use the screenshot, screencast and remote desktop XDG portals for that. It's understandable you're confused because the X11 way was to try to jam everything into X extensions whether it made sense or not. The overall trend lately is to move APIs into other components (XDG portals, pipewire, DBus, systemd, etc.)