[Bulk] Re: color scheme, exclude applications

Christian Jann christian_jann at yahoo.de
Sun Jun 20 12:38:29 UTC 2010


On Sun June 20 2010 14:04:31 Christian Jann wrote:
> On Sun June 20 2010 13:47:59 Dj YB wrote:
> > hello,
> > 
> > I have this little problem, I like a specific color scheme but
> > unfortunately it's not suitable for all applications.
> > for example Kmail and Kontact in general looks great with it but
> > OpenOffice apps are unusable, can't see a thing.
> > so my question is if and how can I exclude an application from the color
> > scheme or perhaps apply to it specifically a different color scheme.
> 
> try this:
> [user at lhost ~]$ GTK2_RC_FILES=/usr/share/themes/Clearlooks/gtk-2.0/gtkrc
> ooffice -writer
> 
> If you want to use this in a launcher or menu, rather than the terminal,
> try the following:
> bash -c 'GTK2_RC_FILES=/usr/share/themes/Clearlooks/gtk-2.0/gtkrc ooffice -
> writer'

edit your current gtkrc-file or create a new one for that app
[user at host ~]$ vim .gtkrc-2.0-kde4
###########
# This file was written by KDE
# You can edit it in the KDE control center, under "GTK Styles and Fonts"
include "/usr/local/share/themes/kde44-oxygen-molecule/gtk-2.0/gtkrc"
include "/etc/gtk-2.0/gtkrc"

style "user-font"
{
        font_name="Sans Serif"
}
widget_class "*" style "user-font"

gtk-theme-name="kde44-oxygen-molecule"
gtk-font-name="Sans Serif 10"
gtk-cursor-theme-name="Oxygen_White"
###########

vim /usr/local/share/themes/kde44-oxygen-molecule/gtk-2.0/gtkrc

and there you will find something like:

fg[NORMAL]        = "#141312"
fg[PRELIGHT]      = "#141312"
fg[SELECTED]      = "#ffffff"
fg[ACTIVE]        = "#141312"
...
and change the colors (not tested!)


More information about the kde mailing list