Post

Apparently, there's no way to minimize a window progammatically in anything X11 or Wayland. And the X people, at least, made that design decision on purpose. A weird thing to me is that the window manager, the only thing that is supposed to minimize windows, doesn't have some sort of interface to

say, "Hey, I would like to minimize window N." Obviously, hacking wmctrl to take a -z (window) option and passing _NET_WM_ACTION_MINIMIZE if the window matches didn't work. kwin does not expose this functionality via DBUS either. This seems like a weird missing feature since wmctrl by itself

0 reposts0 likes

can move and resize windows, change window titles, change the active window, change the number of virtual desktops, and close windows. All of which seem potentially more disruptive/invasive than minimizing a window.