Is there a way to make the corners squared in ambiance or another theme for ubuntu 14.04?

I prefer the look and feel of squared corners.


Edit unity.css;

  1. Open a terminal with Ctrl+Alt+t;

  2. Type in the terminal;
    cd /usr/share/themes/Ambiance/gtk-3.0/apps/

  3. Now type;
    sudo -i gedit unity.css

  4. In gedit (text editor) press Ctrl+f & in the search field that appears type;

  5. You should see the search phrase highlighted, our interest is in the proceeding text;
    : 6px 6px 0 0;

  6. Modify this text so that the line reads;
    border-radius: 0px 0px 0 0;

    I recommend keeping the px indicators in this line for easy future reference

  7. Save and Exit the document.

  8. Logout& back in, or change the theme & back again, enjoy!

This method should work with other themes as well, replacing Ambiance in the directory above with the appropriate theme package name;


Then modifying the corresponding unity.css file as before.

Keep in mind that for some themes there may be another border-radius entry in a separate css class within the same unity.css document that has to do with the window when it is not in focus.

This class will have the name;


the border-radius value here will also need to be changed in order for square corners to work for windows currently unfocused.

| improve this answer | |
  • sudo gedit ... might make a mess, so sudo nano ... or using gksudo may be better – Wilf Jun 19 '15 at 14:10
  • post updated, I hope this didn't cause anyone any issues... funny to answer my own question, goes to show what a bit of poking around can offer. – proxeIO Jun 21 '15 at 12:09
  • It should be fine :D (the entire running GUI program as root = stuff ends up owned by root is a bit controversial (e.g.). It just annoying when it makes a mess. N.B. I think sudo -H can be used as well as gksudo – Wilf Jun 21 '15 at 12:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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