Before switching to Wayland I would minimise all GNOME Shell windows with the following command:
wmctrl -k on
xdotool are X11-only applications. What CLI command can I use to minimise all windows in a GNOME Shell / Wayland session?
- Can I minimize a window from the command line? (Ask Ubuntu)