我如何将gnome主题的标题栏更改为黑色

更新:

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"但是这似乎也没有帮助。

我正在对桌面进行一些调整(Ubuntu 14.04,使用Gnome-shell 3.9.90),我想让我的标题栏变黑。 通过标题栏,我的意思是你双击,以最大化窗口或拖动它的东西。 (Adwaita)现在是灰色的。

我不能告诉哪个css文件要编辑,或者在gnome调整工具中改变哪个字段。

理想情况下,我可以添加一些覆盖到.gtkrc-2.0或.gtkrc-3.0文件,因为最终它只是gVim,Firefox和Gnometerminal,我想改变这个标题栏的颜色。

任何帮助将摇滚!

这是我的.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中为窗口主题select“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> 

您可以在此处编辑标题栏颜色:

sudo gedit /usr/share/themes/Adwaita/metacity-1/metacity-theme-3.xml

编辑这两个部分:

NAME = “titlebar_fill_focused”

NAME = “titlebar_fill_unfocused”

它会改变所有窗口的颜色(在fedora中检查)