Saturday, April 20, 2024
 Popular · Latest · Hot · Upcoming
38
rated 0 times [  38] [ 0]  / answers: 1 / hits: 16659  / 2 Years ago, tue, march 8, 2022, 5:35:58

I have multiple terminal windows open with a black background and the black shadow on the black background is completely lost when they overlap. This is a problem for any windows with a black background. I used to modify unity.css to add window borders, but 17.10 is Gnome and that doesn't work any more! I don't see any Gnome theme controls in the settings UI either.



Worked in Ubuntu 17.04, but not 17.10



Edit /usr/share/themes/Ambiance/gtk-3.20/apps/unity.css and change



-UnityDecoration-extents: 28px 0 0 0;


to



-UnityDecoration-extents: 28px 2 2 2;


Doesn't work: gnome-terminal.css



Edit /usr/share/themes/Ambiance/gtk-3.20/apps/gnome-terminal.css



@define-color terminal_border #ff0000;

vte-terminal.terminal-screen {
-TerminalScreen-background-darkness: 0.95;
background-color: @terminal_bg;
color: #fff;
border-width: 1px 1px 0px 1px;
border-color: @terminal_border;
}


Doesn't work: gnome-applications.css



Edit /usr/share/themes/Ambiance/gtk-3.20/apps/gnome-applications.css
to say



TerminalScreen {
background-color: @theme_base_color;
color: @theme_fg_color;
-TerminalScreen-background-darkness: 0.95;
border-bottom-width: 2px;
border-right-width: 2px;
border-left-width: 2px;
}

TerminalWindow GtkNotebook.notebook {
border-bottom-width: 2px;
border-right-width: 2px;
border-left-width: 2px;
}


Possible Hint:



Maybe I should be editing something in /usr/share/gnome-shell/theme?



alternatives.log:update-alternatives 2017-11-12 10:59:31:
run with --install /usr/share/gnome-shell/theme/gdm3.css gdm3.css
/usr/share/gnome-shell/theme/ubuntu.css 10
alternatives.log:update-alternatives 2017-11-12 10:59:31:
link group gdm3.css updated to point to
/usr/share/gnome-shell/theme/ubuntu.css

More From » 18.04

 Answers
5

I found the answer here.




  1. Make a file ~/.config/gtk-3.0/gtk.css


  2. Add the lines:



    decoration {
    border: 1px solid gray;
    background: gray;
    }

  3. Reboot or log out+log in



[#9762] Tuesday, March 8, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ameatoes

Total Points: 321
Total Questions: 106
Total Answers: 112

Location: Belarus
Member since Sat, Jul 18, 2020
4 Years ago
ameatoes questions
Tue, Aug 16, 22, 22:50, 2 Years ago
Fri, May 14, 21, 03:36, 3 Years ago
Sat, Oct 8, 22, 01:00, 2 Years ago
Fri, Feb 17, 23, 14:44, 1 Year ago
;