How to “show desktop” from command line?
I was wondering if there was a shell command that minimizes/maximizes all windows.
I have heard of
wmctrl -k on, but the program 'wmctrl' is not a default in Ubuntu.
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
Super-D will minimize/restore all windows.
wmctrl is available in the Universe repository. Run
I'm not a developer, but if your program needs it, I think you can list it as a dependency when you package the program. This will ensure that wmctrl is installed when your program is installed.