Ubuntu / Linux news and application reviews.


A few days ago, a post on the Ubuntu Forums was announcing a PPA for Ubuntu 12.04 that adds two patches for Unity: 'Dodge windows' and minimize/unminimize on click for the Unity launcher, but initially, the patches had a few bugs (including a bug that prevented minimize from working with multiple windows) which have been fixed recently.

Using the PPA, you'll get the exact same 'Dodge windows' and 'Dodge active window' behaviour in Ubuntu 12.04 as it was in Ubuntu 11.10. You can even change the 'Hide Launcher' behaviour in CompizConfig Settings Manager to 'Dodge windows', 'Dodge active window' (and obviously, the already existing 'Autohide' and 'Never'), like in Ubuntu 11.10.

The Unity package in the PPA has the minimize/unminimize on click patch too, which works like this:

1. If there is no opened window for that app
1.a. Open a new window
2. If there is only one opened window for that app
2.a. Focus the window, if not focused
2.b. Minimize the window
2.c. Restore the window
2.d. Goto 2.a
3. If there is more than one opened window for that app
3.a. Focus the latest used window, if not focused
3.b. Open spread view
3.c. Close spread view and minimize all windows of that app
3.d. Restore the latest used window
3.e. Goto 3.a


Here's a video in which you can see both the dodge windows and minimize on click for Unity in action:


(direct video link)



Get dodge windows and minimize on click for Unity in Ubuntu 12.04


To get dodge windows and minimize on click for Unity in Ubuntu 12.04, use the commands below:
sudo apt-add-repository ppa:ikarosdev/unity-revamped
sudo apt-get update
sudo apt-get upgrade

Then log out and log back in.


Revert the changes


If you'd like to go back to Unity from the official Ubuntu 12.04 repositories, without the dodge windows and minimize on click patches, use the commands below:
sudo apt-get install ppa-purge
sudo ppa-purge ppa:ikarosdev/unity-revamped



To get minimize on click for Ubuntu 11.10, see: Unity With Minimize On Click Patch (Unofficial) Available In A PPA For Ubuntu Users