trinity-users@lists.pearsoncomputing.net

Message: previous - next
Month: June 2016

Re: [trinity-users] Emacs and Window Foreground

From: Nick Koretsky <nick_koretsky@...>
Date: Wed, 22 Jun 2016 23:20:01 +0300
On Wed, 22 Jun 2016 15:51:49 -0400
"Pisini, John" <pisinij@...> wrote:

> According to https://bugzilla.redhat.com/show_bug.cgi?id=1043686
>  you can fix it doing the following I have not tested it.
> 
> comment 5
> 
> A workaround is to go to
>   KDE System Settings -> Application Appearance -> Colors -> Options
> and disable the checkbox for
>   Apply colors to non-KDE4 applications
> and logout and login again.
> 
> Non-KDE apps may not look as pretty, but at least they'll run.
> 


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@...)