任务/问题:
我在~/.local/share/themes/mytheme/gtk-3.0/gtk.css中有一个自己创建的gtk3 3主题。我想在全系统应用这种风格。我该怎么做?
系统:
我所做的/拥有的:
~/.local/share/themes/mytheme/gtk-3.0/gtk.css
~/.local/share/themes/mytheme/index.theme:Type=X-GNOME-Metatheme
Name=mytheme
Comment=mytheme
Encoding=UTF-8
[X-GNOME-Metatheme]
GtkTheme=mytheme
MetacityTheme=mytheme
ButtonLayout=:minimize,maximize,close~/.local/share/themes/mytheme/gtk-3.0/gtk.gresource.xml:<?xml version='1.0' encoding='UTF-8'?>
<gresources>
<gresource prefix='/usr/darktrick/gtk-3.0'>
<file preprocess='to-pixdata'>images/icon_close.png</file>
<file preprocess='to-pixdata'>images/icon_close_active.png</file>
<file preprocess='to-pixdata'>images/icon_maximize.png</file>
<file preprocess='to-pixdata'>images/icon_minimize.png</file>
<file>gtk.css</file>
</gresource>
</gresources>CSS下):工作良好的Visual下的GtkInspector中获得,以供应用发布于 2020-07-27 11:58:03
我偶然发现了答案。
打开“设置编辑器”、“->频道”、“x设置”、“-> Net -> ThemeName ->”,键入要应用的主题的文件夹名
https://stackoverflow.com/questions/63049751
复制相似问题