Live data from Hacker News

Show HN: Bonk, a command-line tool for X11 window management

github.com

61–70 of 70 posts

Re: Show HN: Bonk, a command-line tool for X11 window management

#61
post #56

Earlier quoted context omitted.

The idea is that to worry about security in something broken by design is a folly.

Right, the idea of running hostile programs on your system is broken by design, Wayland is engaging in folly by trying to protect against it. X11 gives up that pointless quest and, by doing so, at least it can provide some extra user-assistance features (including ones that can help mitigate security related user errors).

[deleted]

Re: Show HN: Bonk, a command-line tool for X11 window management

#62
post #39

Earlier quoted context omitted.

It depends a lot on your desktop enviornment/window manager, distro, hardware, etc. I personally find Wayland works perfectly out of the box whereas X11 still to this day has issues with basic stuff like screen tearing that needs me to add a line to my xorg config file to enable the driver feature that stops screen tearing. (Note that every other display server has zero issues -- MacOS, Windows, Wayland, etc so the f…

What are you running when you experience screen tearing? I've literally never once encountered it in over 20 years of using X.

I can consistently trigger it playing a video in any player under X11 e.g. videos in Firefox or in a standalone player like mpv/VLC etc. It's pretty damn obvious in certain types of videos e.g. action movies. But always on Intel GPU so it's possible it's not so noticeable with other GPU due to hardware or driver software differences. The Intel driver for xorg has a configuration flag that stops screen tearing.

Re: Show HN: Bonk, a command-line tool for X11 window management

#63
post #7

Earlier quoted context omitted.

Wayland is still buggier than a swamp. At this point they're no longer showstopping bugs, but if you don't want to be constantly annoyed by little things not working, X11 is still the way to go.

Have you ever tried running it with a non-Nvidia GPU?

I've only once ever used an NVidia card long ago, and learned enough to never try that again.

I'm not talking about low-level system/graphics bugs, but standard shell/toolkit/application bugs. Things like "alt-letter does not select the correct menu" and "switching between English/Greek keyboard layouts sometimes gets stuck".

Re: Show HN: Bonk, a command-line tool for X11 window management

#66
post #23

Earlier quoted context omitted.

> Yes, because it's still work in progress. And because the X11 maintainers decided that Wayland is the way forward and X11 will simply not get new display features like HDR.

> And because the X11 maintainers decided that Wayland is the way forward and X11 will simply not get new display features like HDR. Is Wayland a racket? Barely maintain the previous code instead of making clear that others should take it over because you are insterested in something else, then force everyone into your new incomplete code base, and probably bill for the reimplementation of basic capabilities, piece b…

What? It's been known that the X maintainers had moved on to devote almost all their efforts to Wayland for years now. And yes, part of the Wayland strategy has been -- much like with systemd -- to drag the community, kicking and screaming if need be, into modernity.

Anybody who wants to maintain Xorg is free to step up.

Nobody has really stepped up.

Re: Show HN: Bonk, a command-line tool for X11 window management

#67
post #28

Earlier quoted context omitted.

My understanding is that "window managing" tools like this are not possible due to how wayland handles information. Pro: More secure than x11, Con: I can't use wayland. Aside from investing a lot of time learning how to use a tiling wm I dont see how I'm going to get over my addiction to minimizing only the active window. ( xdotool windowminimize $(xdotool getactivewindow) )

For improved security with X11, try firejail+Xpra, or Qubes OS. They will not just help in the graphical front, but also others like processes and storage isolation.

Workarounds for the inherently broken security model of X11.

Gee, if only there were a modern display server protocol with a fixed security model!

Re: Show HN: Bonk, a command-line tool for X11 window management

#68
post #56

Earlier quoted context omitted.

This is a totally different issue; Wayland gives up the ability to provide user-aid that prevents an obvious human error. This is not really a security issue, it is a usability issue that can just happen to allow a user to make a security slip-up. In exchange, Wayland gains… well, nothing really, the idea is that it’ll protect users from malicious programs peeking at other windows on their computer. But in that case…

The idea is that to worry about security in something broken by design is a folly.

Are you posting from seL4, OpenBSD, or Genode?

Re: Show HN: Bonk, a command-line tool for X11 window management

#69
post #67

Earlier quoted context omitted.

For improved security with X11, try firejail+Xpra, or Qubes OS. They will not just help in the graphical front, but also others like processes and storage isolation.

Workarounds for the inherently broken security model of X11. Gee, if only there were a modern display server protocol with a fixed security model!

All models are wrong, some are useful?

Theoretically, X11 is dangerous. But what isn't?

Re: Show HN: Bonk, a command-line tool for X11 window management

#70
post #18
post #11

Earlier quoted context omitted.

The question is "when?". Wayland is 15 years old, it already had a lot of time to "get better". So today, in most cases, I'd say X11 is still the way to go, it just works better. When Wayland will get better and apps start supporting Wayland more than they support X11, it will be the time to switch, but at the glacial pace Wayland advances, chances are that your current system will be obsolete when it will happen. It…

> The question is "when?". Wayland is 15 years old, it already had a lot of time to "get better". So today, in most cases, I'd say X11 is still the way to go, it just works better. If you run more than one monitor with different DPI, Wayland is the only choice. If you want to do HDR, Wayland will be the only choice. > When Wayland will get better and apps start supporting Wayland more than they support X11, it will b…

> If you run more than one monitor with different DPI, Wayland is the only choice.

I run multiple monitors with differing physical DPIs on X11. Yeah, that means they have differing resolutions. It doesn’t bother me, and I can do all the things that I want, unlike if I were using Wayland.

Maybe someday Wayland will be a replacement for X11, but that day is not today.

Post reply on HN