<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On 30 October 2013 06:52, Mike Miller <span dir="ltr"><<a href="mailto:geany-users@mgmiller.net" target="_blank">geany-users@mgmiller.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
From: Lex Trotman <<a href="mailto:elextr@gmail.com" target="_blank">elextr@gmail.com</a>><br>
To: Geany general discussion list <<a href="mailto:users@lists.geany.org" target="_blank">users@lists.geany.org</a>><br>
Subject: Re: [Geany-Users] Hierarchy of config dirs<br>
</blockquote>
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
Sorry Geany is hard coded to two places, see below.<br>
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
  Is there an environment variable I can set to define a list of dirs for<br>
geany to look in?<br>
</blockquote>
<br>
No.<br>
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
Or, if anyone is familiar with the source code, where I can look to try<br>
and add my own changes to the source and recompile with this functionality?<br>
</blockquote></blockquote>
<br>
It should probably honor the $XDG_CONFIG_HOME variable. See:<br>
  <a href="http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html" target="_blank">http://standards.freedesktop.<u></u>org/basedir-spec/basedir-spec-<u></u>latest.html</a><br>
<br>
It would seem however that someone has taken note of the standard though, as geany uses these defaults already.  Is/should there be a bug for honoring the environment variables?</blockquote><div><br></div><div>Geany uses the glib g_get_user_config_dir() function which uses $XDG_CONFIG_HOME on *ix and something windowsy on windows.  If it is not using the environment variable (assuming you didn't override it with the cl option -c) its a bug in Glib. </div>
<div><br></div><div>But that only moves the user config dir, its not the list of directories you asked about.</div><div><br></div><div>Cheers</div><div>Lex</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<span class=""><font color="#888888"><br>
<br>
-- <br>
-Mike<br>
______________________________<u></u>_________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.geany.org" target="_blank">Users@lists.geany.org</a><br>
<a href="https://lists.geany.org/cgi-bin/mailman/listinfo/users" target="_blank">https://lists.geany.org/cgi-<u></u>bin/mailman/listinfo/users</a><br>
</font></span></blockquote></div><br></div></div>