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
   */
https://bugs.launchpad.net/ayatana-design/+bug/733349
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: https://bugs.launchpad.net/ayatana-design/+bug/733349/+attachment/3573380/+files/minimize.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: https://dl.dropboxusercontent.com/u/76369534/unityminimize.patch
For 12.04 precise:
Unity revamped patch applied. Thanks to Isaac Joseph. For details: https://launchpad.net/~ikarosdev/+archive/unity-revamped

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 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:
deb https://ppa.launchpadcontent.net/zxcq14/minimize-unity-7/ubuntu YOUR_UBUNTU_VERSION_HERE main 
deb-src https://ppa.launchpadcontent.net/zxcq14/minimize-unity-7/ubuntu YOUR_UBUNTU_VERSION_HERE main 
Signing key:
1024R/EC42F8FE6902D12AE4C7D9F74A65ADAB1C5F781A (What is this?)
Fingerprint:
EC42F8FE6902D12AE4C7D9F74A65ADAB1C5F781A

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

PPA statistics

Activity
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 ()
unity 5.21.0+minimized mehmet.nural ()
12 of 2 results

Latest updates

  • unity 530 weeks ago
    Successfully built
  • unity 533 weeks ago
    Successfully built