How to make ambiance title bar corners squared?
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.
Solution 1:
Edit unity.css;
Open a
terminal
withCtrl
+Alt
+t
;Type in the
terminal
;cd /usr/share/themes/Ambiance/gtk-3.0/apps/
Now type;
sudo -i gedit unity.css
In
gedit
(text editor) pressCtrl
+f
& in thesearch
field
that appears type;border-radius
You should see the search phrase highlighted, our interest is in the proceeding text;
: 6px 6px 0 0;
-
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
Save
andExit
the document.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;
/usr/share/themes/*theme-name*/gtk-3.0/apps/
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;
UnityDecoration.top:backdrop
the border-radius
value here will also need to be changed in order for square corners to work for windows currently unfocused.