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;
Open a terminal
with Ctrl
+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) press Ctrl
+f
& in the search
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
and Exit
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.
sudo gedit ...
might make a mess, sosudo nano ...
or usinggksudo
may be better – Wilf Jun 19 '15 at 14:10sudo -H
can be used as well asgksudo
– Wilf Jun 21 '15 at 12:30