Answers:
您可以尝试以下方法:
1)打开您喜欢的编辑器。(例如:gedit)并创建一个名为nemo.css的新文件,添加以下行:
/* font path bar */
.nemo-pathbar-button,
NemoPathbarButton {
color: #4c4c4c;
}
以十六进制表示法添加您喜欢的颜色。我选择#4c4c4c (灰色)
2)将文件保存nemo.css
在桌面中。
3)打开终端并输入:
sudo cp /home/*your_user*/Desktop/nemo.css /usr/share/themes/Ambiance/gtk-3.0/apps/
4)转到/usr/share/themes/Ambiance/gtk-3.0/apps/
目录,然后更改文件的权限。
cd /usr/share/themes/Ambiance/gtk-3.0/apps
sudo chmod 644 nemo.css
5)编辑gtk.css 以导入nemo.css
,并添加一行:
sudo -H gedit /usr/share/themes/Ambiance/gtk-3.0/gtk.css
加
@import url("apps/nemo.css");
6)使用()杀死nemo,pkill nemo
或者仅注销并登录以查看更改。
就我而言:
代码如下:
.nemo-pathbar-button,
NemoPathbarButton {
background-image: -gtk-gradient(linear, left top, left bottom,
color-stop (0, shade(@dark_bg_color, 1.1)),
color-stop (.3, shade(@dark_bg_color, 1.1)),
color-stop (.7, shade(@dark_bg_color, 0.90)),
color-stop (1, shade(@dark_bg_color, 0.80)));
border-color: shade(@dark_bg_color, 0.7);
-NemoPathbarButton-border-radius: 3px;
}
NemoPathbarButton:active {
background-image: -gtk-gradient(linear, left top, left bottom,
color-stop (0, shade(@dark_bg_color, .8)),
color-stop (.3, shade(@dark_bg_color, .9)),
color-stop (1, shade(@dark_bg_color, 1.0)));
border-color: shade(@dark_bg_color, 0.7);
}
NemoPathbarButton:hover {
background-image: -gtk-gradient(linear, left top, left bottom,
color-stop (0, shade(alpha(@dark_bg_color, 1.4), 1.25)),
color-stop (.3, shade(alpha(@dark_bg_color, 1.4), 1.25)),
color-stop (.7, shade(alpha(@dark_bg_color, 1.4), 0.95)),
color-stop (1, shade(alpha(@dark_bg_color, 1.4), 0.85)));
border-color: shade(@dark_bg_color, 0.7);
}