Ubuntu – Do some applications in Unity start “maximized” but not integrated into the panel

maximizedpanelunity

When I start some applications like Gimp or update-manager they start like if they where maximized but they have window decorations, are not integrated into the Unity panel and therefore move towards the screen bottom.
I also tried to force maximize behaviour via compizconfig-settings-manager but that doesn't change anything.

What can I do to start these applications maximized with integration into the Unity panel?
enter image description here

Best Answer

gDevilspie can do that for you!

What is gDevilspie?

A user friendly interface to the Devil's Pie window matching daemon, To create rules easily.

Devil's Pie is a window-matching utility, It can be configured to detect windows as they are created, And match the window to a set of rules. If the window matches the rules, it can perform a series of actions on that window.

How to install gDevilspie?

Hit Alt+Ctrl+T to open terminal and run following command:

sudo apt-get install gdevilspie

Or search for gDevilspie in Software Center and install from there.

How to use?

  • Once installed, Hit Super key (Windows key) to open Unity dash and search for "gDevilspie" and open it.
  • Open "Gimp".
  • In gDevilspie click on "add" to add a new rule.

  • In "Rule Editor" Click on "Get", Select Gimp window and "Apply".

enter image description here

  • Name this new rule as "Gimp" in top field.
  • Under "Matching" tab enable "window_xid" and "application_name"

enter image description here

  • Under "Actions" tab enable "maximize" and click save.

enter image description here

  • On the main window enable the option "Start devilspie daemon automatically at login" and click on "Start". That's it!

enter image description here

Now whenever you will start "Gimp" it will automatically be maximized. You can add rules for "Update Manager" or any other program in the same way.

Related Question