On Sunday June 20 2010 18:49:37 Christian Jann wrote:
On Sun June 20 2010 16:18:03 Dj YB wrote:
> thanks,
>
> > edit your current gtkrc-file or create a new one for that app
>
> how do I create a gtkrc-file for a specific app, it seems like a way to
> change the setting for all gtk apps, same as changing it in the control
> panel. I must have misunderstood you,
> please try to explain.
just use kmenuedit and change the Command from e.g. "openoffice.org -writer
%U" to
bash -c 'GTK2_RC_FILES=/usr/share/themes/Clearlooks/gtk-2.0/gtkrc
openoffice.org -writer %U'
now OOo will use Clearlooks independently from your default gtk theme
Another possibility is to make a copy of your default gtkrc file for
example:
/usr/local/share/themes/kde44-oxygen-molecule/gtk-2.0/gtkrc.openoffice.org
and change the colors inside
gtkrc.openoffice.org how you like and point
GTK2_RC_FILES for OOo to this file
thanks, now I understand :-) (I hope) that when providing the
GTK2_RC_FILES=path_to_gtkrc_file it only apply to the specific execution and
does not change gtk preferences for all applications.
thanks again,
YB.