octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #36477] use XDG dirs instead of HOME


From: Eric Heintzmann
Subject: [Octave-bug-tracker] [bug #36477] use XDG dirs instead of HOME
Date: Sun, 09 Dec 2012 08:34:00 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:17.0) Gecko/20100101 Firefox/17.0

Follow-up Comment #4, bug #36477 (project octave):

>At least in Debian Wheezy, looking at all my environment 
>variables, the only XDG variable I see is XDG_DATA_DIRS which is 
>the less useful for us

There's no need to read the environment variable yourself : most language
provide a library to use XDG folder:
with glib/GTK just replace g_get_home_dir() by
g_get_user_config_dir()

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?36477>

_______________________________________________
  Message posté via/par Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]