On Tue, 20 Sep 2016 11:21:01 +0200
Gerhard Zintel <gerhard.zintel(a)mrs-thomas.de> wrote:
On Tuesday 20 September 2016, A M wrote:
I cannot start emacs on this machine, it ends up
with this
error: [ Undefined color: "WINDOW_FOREGROUND" ].
I had the same issue before. I cannot clearly remember but try to
un-check "Apply colors to non-TDE applications" in TDE Control Center
=> Appearence & Themes => Colors.
This might help.
That's a bad solution - this checkbox is unfortunately named, it should be
named "apply styles' - it govern not only colors, but also button styles,
button placements and fonts in gtk apps
The correct solution is to add following to you .xsession file
(
sleep 10
xrdb -all -query|sed -e 's#[A-Z_]*BACKGROUND# gray90#' \
-e 's#[A-Z_]*FOREGROUND# Black#' \
-e 's#[A-Z_]*HIGHLIGHT# White#' \
-e 's#[A-Z_]*LOWLIGHT# Black#'|xrdb -merge
) &
--
Nick Koretsky (nick.koretsky(a)gmail.com)