Add minimize on click feature to unity precise and trusty

PPA description

This allows minimize application's windows upon clicking its launcher icon.
 /* Behaviour:
   * 1) Nothing running, or nothing visible -> launch application
   * 2) Running and active:
   * -> if 1 window open -> minimize
   * -> if 2 or more windows open -> spread application
   * 3) Running and not active -> focus application
   * 4) Spread is active and different icon pressed -> change spread
   * 5) Spread is active -> Spread de-activated, and minimize all windows
For 14.04 trusty:
A patch that is in the description of this bug was applied to unity 7.
The patch wasn't written by me. This is the original patch:
Thanks to contributor (comment #322 at that bug) for sharing this solution.
But i made a few small changes. This is the patch i've applied:
For 12.04 precise:
Unity revamped patch applied. Thanks to Isaac Joseph. For details:

Adding this PPA to your system

You can update your system with unsupported packages from this untrusted PPA by adding ppa:zxcq14/minimize-unity-7 to your system's Software Sources. (Read about installing)

sudo add-apt-repository ppa:zxcq14/minimize-unity-7
sudo apt-get update
Technical details about this PPA

This PPA can be added to your system manually by copying the lines below and adding them to your system's software sources.

Display sources.list entries for:
Signing key:
1024R/EC42F8FE6902D12AE4C7D9F74A65ADAB1C5F781A (What is this?)

For questions and bugs with software in this PPA please contact mehmet.nural.

PPA statistics

0 updates added during the past month.
View package details

Overview of published packages

12 of 2 results
Package Version Uploaded by
unity 7.1.2+14.04.20140314-minimized (Newer version available) mehmet.nural (2014-03-14)
unity 5.21.0+minimized mehmet.nural (2014-02-26)
12 of 2 results

Latest updates

  • unity 266 weeks ago
    Successfully built
  • unity 268 weeks ago
    Successfully built