更新:
我尝试将我的 gtkrc2.0 文件中的第一行更改为此,gtk-color-scheme = "base_color:#000000\nfg_color:#000000\ntooltip_fg_color:#000000\nselected_bg_color:#000000\nselected_fg_color:#000000\ntext_color:#000000\nbg_color:#000000\ntooltip_bg_color:#000000"
但这似乎也没有帮助。
我正在对我的桌面(带有 Gnome-shell 3.9.90 的 Ubuntu 14.04)进行一些调整,我想让我的标题栏变黑。标题栏是指您双击以最大化窗口或拖动它的东西。现在(Adwaita)是灰色的。
我不知道要在 gnome 调整工具中编辑哪个 css 文件或更改哪个字段。
理想情况下,我可以在 .gtkrc-2.0 或 .gtkrc-3.0 文件中添加一些覆盖,因为最终我想更改标题栏颜色的只是 gVim、Firefox 和 Gnome 终端。
任何帮助都会摇滚!
这是我的 .gtkrc-2.0
style "vimfix" {
bg[NORMAL] = "#000000" # this matches my vim theme 'Normal' bg color.
}
widget "vim-main-window.*GtkForm" style "vimfix"
到目前为止,这只是修复了 gVim 上一个很小的灰色底部边框。但它并没有改变 gVim 窗口标题栏上的颜色。
更新: 尝试在 ~/.themes/Adwaita-borderless/metacity-1/metacity-theme-3.xml 中进行此更改,并在 gnome-tweak-tool 中为窗口主题选择“Adwaita-bordeless”,但它没有似乎没有任何影响:
<draw_ops name="titlebar_fill_focused">
<gradient type="vertical" x="0" y="0" width="width" height="height">
<color value="#000000" />
<color value="#000000" />
</gradient>
</draw_ops>
<draw_ops name="titlebar_fill_unfocused">
<rectangle color="C_titlebar_unfocused" x="0" y="0" width="width" height="height" filled="true" />
<rectangle color="#000000" x="0" y="0" width="width" height="height" filled="true" />
</draw_ops>