Minimize/Maximize all windows command? [duplicate]
Solution 1:
Super-D will minimize/restore all windows.
http://www.ubuntugeek.com/list-of-ubuntu-unity-keyboard-shortcuts.html
Solution 2:
wmctrl is available in the Universe repository. Run sudo apt-get install wmctrl
to install it.
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.