演化,信息的背景始终是灰色。

在Ubuntu 12.10上,使用Evolution 3.6时,默认主题(以及其他任何我尝试过的主题)中所有的电子邮件消息都有灰色背景。当使用大多数主题中的灰色或黑色文字时,灰色背景使得阅读电子邮件变得相当困难。
是否有办法来纠正这种行为,即在Evolution中像以前的Ubuntu版本一样,将电子邮件的背景改为白色?
2个回答

嗯,我自己又解决了这个问题。为了纠正 Evolution 这种明显愚蠢的行为,需要前往以下地址:

~/.config/gtk-3.0/

在那个文件夹里应该有一个名为gtk.css的文件,如果没有就创建它。
将以下内容添加到文件中:
/* Black on white for HTML messages in Evolution Reader/Composer */
EMailView WebKitWebView, EMailReader WebKitWebView {
    color: #000000;
    background-color: #ffffff;
}

就是这样。无论主题如何,电子邮件的背景现在将由灰色变为白色。
取自Launchpad上的此帖子。

在基于Debian的其他发行版上将无法工作(主要是因为您没有elementary)。以下内容解决了这个问题。

在您的主目录中找到.config/gtk-3.0/gtk.css并添加以下内容:

/* Black on white for HTML messages in Evolution Reader/Composer */
/* adjust colour to your liking */
EMailView WebKitWebView, EMailReader WebKitWebView {
    color: #000fff;
    background-color: #fff000;
}

/*****************************
 * FIX EVOLUTION BLACK EMAIL *
 *****************************/
GtkWindow {
     color: @theme_fg_color;
     background-color: @theme_bg_color;
 }
GtkPaned {
     color: @theme_fg_color;

    /* Evolution sets the background color of its mail window to the background
     * color of entries, but cannot handle background images. Setting the
     * background color here doesn't effect real entries, because
     * 'background-image' has precedence.
     */
     background-color: @theme_bg_color;
 }