Re: [AD] load allegro5.cfg from exe dir

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On Fri, Jan 7, 2011 at 9:45 AM, Peter Wang <novalazy@xxxxxxxxxx> wrote:
> It's mainly for the advanced user to configure Allegro independently of
> any application.  The user may prefer a certain driver or require a
> certain workaround, across all Allegro programs.
>
In that case, EXENAME would be good enough in terms of the location
for the per-app override.

> BTW, should we use ~/.config/allegro/allegro5.cfg now?
>
The problem with hard coding ~/.config/liballeg.org is that the user
might have overridden that location via the XDG environment variables,
and prefer they go elsewhere. It could be based on USER_SETTINGS_PATH
with appname set to "liballeg.org".

So I don't know if that's better than the current setup or not.

(The ex_path and speed app are both already using "liballeg.org",
which is probably better than "allegro" in terms of collisions.)

--
Matthew Leverton




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/