[英]How can I change the title bar of a gnome theme to black
更新:
我尝试将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"
但这似乎也没有帮助。
我正在对我的桌面进行一些调整(Ubuntu 14.04与Gnome-shell 3.9.90)并且我想让我的标题栏变黑。 按标题栏我的意思是你双击以最大化窗口或拖动它的东西。 (Adwaita)现在是灰色的。
我不知道要编辑哪个css文件或在gnome tweak工具中更改哪个字段。
理想情况下,我可以在.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>
您可以在此处编辑标题栏颜色:
sudo gedit /usr/share/themes/Adwaita/metacity-1/metacity-theme-3.xml
编辑这两部分:
NAME = “titlebar_fill_focused”
NAME = “titlebar_fill_unfocused”
它将改变所有窗口的颜色(在fedora中检查)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.