使用ubuntu以来一直苦于terminal标签颜色差距太小,有时候根本不知道自己在哪个标签下,于是在网上搜索如何设置背景颜色可以让标签便于区分,现总结如下:
1.打开gtk-widgets.css
vim /usr/share/themes/Ambiance/gtk-3.0/gtk-widgets.css
2.搜索 .notebook tab:active
.notebook tab:active {
border-color: shade (@bg_color, 0.82);
border-style: solid;
border-width: 1px;
background-color: shade (@bg_color, 1.02);
background-image: none;
color: @fg_color;
}
3.修改background-image,设置from和to内的颜色:
background-image: -gtk-gradient (linear, left top, left bottom,
from (shade (#7E78FF, 1.1)),
to (shade (#C7C5FF, 1.02)));
4.重新登陆下就ok了: