Home of a med student who likes to manage websites and talk tech!

[HOW-TO] Restore minimize/maximize/exit buttons to Ubuntu windows

with 2 comments

Ubuntu LogoBefore returning to school for the new academic year, I performed a complete wipe of my laptop so that I could reinstall fresh copies of Windows 7 Professional and Ubuntu 10.04 Lucid Lynx. One of the things I immediately did after installing Ubuntu was set up Compiz so as to take advantage of the nice effects that this desktop enhancement has to offer. However, after applying my settings and restarting, I noticed that none of my windows had the usual minimize, maximize and exit buttons or the accompanying title bar. Deactivating and reactivating ‘Window Decorations’ did not solve the problem, but two quick commands fixed it in less than 30 seconds. Here is what I did.

  1. While logged in to Ubuntu, press ALT+F2 to call the Run Application command window.
    Run Application screenshot

    Ubuntu's Run Application window

  2. Enter the following two commands in succession and press Run after each entry.
    metacity --replace
    compiz --replace

The problem might be fixed immediately after entering the first command, but execute the second as well to restore control to Compiz. You can then proceed to configure the Compiz effects just the way you like them.


Written by falcon1986

31 August, 2010 at 12:41 PM

Posted in Linux

Tagged with ,

2 Responses

Subscribe to comments with RSS.

  1. Thank you for this great little tip! I tried GNUsound which at the moment crashes X and when I logged in my Windows Decorations were gone — no fault of Compiz this time. Anyway, this was a quick and easy fix.



    20 September, 2010 at 9:43 AM

  2. Thanks Falcon1986. Wonderfully easy and useful – to a T.

    Debal Deb

    14 December, 2012 at 1:42 PM

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: