How to get minimize button?

Asked by Nishant George Agrwal on 2012-06-21

I have tried setting the button-layout key in dconf-editor to "close:minimize" , but the button doesn't appear on the window, although clicking on the area does minimize the window. How do I get the minimize button to show?

Question information

Language:
English Edit question
Status:
Solved
For:
Gala Edit question
Assignee:
No assignee Edit question
Solved by:
Tom Beckmann
Solved:
2012-06-21
Last query:
2012-06-21
Last reply:
2012-06-21
Best Tom Beckmann (tombeckmann) said : #1

The minimize button icon was removed in eGtk, the elementary theme. So switching to another theme should fix this. Alternatively you could probably just copy the icon from a previous version of eGtk, but you may also need to adjust the metacity theme file, so switching to a different theme would be a lot easier.

Nishant George Agrwal (niagr) said : #2

Thanks Tom Beckmann, that solved my question.

FM5 (pvmhoang) said : #3

can i ask one more thing, where to put minimize icon

Tom Beckmann (tombeckmann) said : #4

I guess the code for drawing the icon was also dropped. So it would be easiest to look on the web for an older version of the elementary theme, perhaps you can even find it in the revision historty of eGtk.
You'd then just replace the metacity folder.

Nishant George Agrwal (niagr) said : #5

here's a very crude implementation:
https://code.launchpad.net/~niagr/+junk/egtk-minimize-button

back up your /usr/share/themes/elementary/metacity-1 directory and then add these two files, replacing the original xml