Re: How to disable reading of ~/.config/gtk-2.0 ?



On Thu, Oct 11, 2007 at 01:22:53PM +0200, Geoff Bache wrote:
> Hi,

Hi Geoff,

> I am trying to create some automated tests for a GTK app. Naturally I'd like
>  these tests to behave in the same way whoever runs them. Hence I'd like 
> to configure GTK
> not to read any personal configuration files.
> 
> I think I've hunted down most of them but it still seems to read the file
> ~/.config/gtk-2.0/gtkfilechooser. Is there any way to disable the reading
> of this file (or point it at a standard centralised version instead)? I 
> googled around for
> an environment variable but didn't find one.

Export the XDG_CONFIG_HOME environment variable to somewhere else than
~/.config and there you go.

http://standards.freedesktop.org/basedir-spec/latest/

> Regards,
> Geoff

HTH,
Mike



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