Sunday, May 5, 2024
 Popular · Latest · Hot · Upcoming
6
rated 0 times [  6] [ 0]  / answers: 1 / hits: 13636  / 3 Years ago, sat, september 25, 2021, 6:17:23

On a new 14.04 plain vanilla Ubuntu install, with the default theme, nothing special.
Bring up a gnome-terminal window (Ctrl + Alt + t)
The terminal window has no border (nor does it have a resize handle btw) it's a black rectangle.



How can I add a 1px white border (which I find useful when dealing with multiple overlapping gnome-terminal windows)?


More From » themes

 Answers
4

Copy your favorite theme from /usr/share/theme to ~/.theme. Name the theme folder something different from what it was named in the /usr/share/theme. This way when you select your chosen them you'll find it by the name you called the folder.



Example:



cp -R /usr/share/themes/Radiance/ ~/.themes/MyRadiance


Edit the gtk-3 folder of that new directory to make your borders any way you want them. You can also customize other components of the theme. It can be done by editing the UnityDecoration features of the unity.css file located in the apps folder:



~/.themes/MyRadiance/gtk-3.0/apps/unity.css


To change the borders change the 0's to a different number of the parameter:



-UnityDecoration-extents: 28px 0 0 0;


You can see all the possible editings here. Also, to use the new theme you have to install the Unity Tweak Tool.



sudo apt-get install unity-tweak-tool


To apply this for terminal add the following to gnome-terminal.css: UnityDecoration { -UnityDecoration-extents: 28px 1px 1px 1px; }


[#24724] Monday, September 27, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
umplegitimat

Total Points: 137
Total Questions: 126
Total Answers: 118

Location: Saint Pierre and Miquelon
Member since Sat, Aug 21, 2021
3 Years ago
umplegitimat questions
;