Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This is a quick post to show how to make wine app hides the titlebar and fully fill the vertical area of screen space when maximized.

In Unity DE, when Wine app is maximized, it doesn't hide the titlebar so the window can't be fully maximized. It looks something like this:

titlebar still showing on maximize

share|improve this question
up vote 3 down vote accepted

The fix is simple. Launch CompizConfig Setting Manager (apt-get install compizconfig-settings-manager) and open Window Decoration setting and in the Decoration Windows field, delete the existing rule any, then enter (!state=maxhorz & !class=wine)

If you got that right, your wine app titlebar should no longer appear when the app is maximized and it will be shown back when you unmaximized it.

Titlebar is hidden on maximize

share|improve this answer
Just want to note that, since Ubuntu 14.04 the decoration rule that I submitted here has been made redundant as Unity now uses its own window decorator and that seems to have magically solved the issue with wine app window being unable to fully maximize – Flint May 5 '14 at 17:55

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.