Re: per-app .gtkrc



On 5 Sep 2000, Tim Howe wrote:

> Tim Howe <vsync wego com> writes:
> 
> > A coworker and I wanted to create exceptions for certain apps from the
> > global GTK theme, so I wrote this tweak.  Now the default behavior is
> > to check for ~/.gtkrc.<appname> (appname = last component of
> > argv[0]).  Failing that, it checks for the normal ~/.gtkrc.
> > 
> > Since I'm lazy, this is off the 1.2.8 tarball, not CVS.  I don't
> > subscribe to this list, so CCing me on replies might be useful.
> 
> Err, and careless...  =)  This time I attached the patch.

 Another solution for you task is to use shell wrappers (named after real
programs) that set GTK_RC_FILES to some app-specific gtkrc and calls real
program.

> -- 
> Tim Howe
> Associate Software Engineer
> Wego Inc. -- wego.com
> 
> 

 Best regards,
  -Vlad





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]