Live data from Hacker News

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

github.com

1–10 of 70 posts

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

#3

This does not appear to do anything that xdotool doesn't already do.

This solves a few issues in xdotool for me:

Window selection allows for multiple criteria at once, and I can also reject windows.

I'm also able to use the window manager's client list as a source, which makes getting toplevel windows much easier.

Window movement is done using static gravity, fixing an issue where windows were moving differently if they were a terminal window versus non-terminal window.

Bonk can delete properties. I sometimes delete WM_NORMAL_HINTS if a window has size hints set where I can't resize it the way I want.

xdotool can raise windows but can't lower them (bonk can do both).

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

#8

This does not appear to do anything that xdotool doesn't already do.

This solves a few issues in xdotool for me: Window selection allows for multiple criteria at once, and I can also reject windows. I'm also able to use the window manager's client list as a source, which makes getting toplevel windows much easier. Window movement is done using static gravity, fixing an issue where windows were moving differently if they were a terminal window versus non-terminal window. Bonk can delet…

> I sometimes delete WM_NORMAL_HINTS if a window has size hints set where I can't resize it the way I want.

With kwin it's easy to manually override an application/window to ignore geometry constraints or whatever. I do this for xterm to avoid having a few pixels of background showing at the edge when maximized.

I also used to do this a lot to get the much-nicer "soft fullscreen" in SDL1 applications.

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

#9
post #7
post #6

Kind of obsolete in the age of Wayland.

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.

Buggier or not - it's too late to think X11 is the alternative. It's not. Wayland is going to get better for whatever is needed.

X11 is absolutely not the way to go.

Post reply on HN