Thanks. Yes, using python-xdg, you can read config files directly. With
something like this :
from xdg import BaseDirectory
config_path = []
for dir in BaseDirectory.load_config_paths('tomboy'):
config_path.append(dir)
Le samedi 14 novembre 2009 à 02:40 +0000, Sandy Armstrong a écrit :
> Hi, upstream Tomboy maintainer here. This check is still not exactly
> correct. As you can see on our wiki [0], notes go in
> XDG_DATA_HOME/tomboy. Yes, XDG_DATA_HOME defaults to ~/.local/share/ ,
> but there are a lot of ways to modify that, and I have seen a lot of
> Ubuntu users making such modifications lately.
>
> For Python, there's a package (pyxdg or python-xdg or something like
> that) that takes care of this for you, so I recommend using it.
>
> Do keep the TOMBOY_PATH check, though...we still offer that as a way to
> override the location of the note directory.
>
> Anyway, cool project! Thanks for supporting Tomboy! :-)
>
> [0] http://live.gnome.org/Tomboy/Directories
>
Thanks. Yes, using python-xdg, you can read config files directly. With
something like this :
from xdg import BaseDirectory load_config_ paths(' tomboy' ): path.append( dir)
config_path = []
for dir in BaseDirectory.
config_
Le samedi 14 novembre 2009 à 02:40 +0000, Sandy Armstrong a écrit : HOME/tomboy. Yes, XDG_DATA_HOME defaults to ~/.local/share/ , live.gnome. org/Tomboy/ Directories
> Hi, upstream Tomboy maintainer here. This check is still not exactly
> correct. As you can see on our wiki [0], notes go in
> XDG_DATA_
> but there are a lot of ways to modify that, and I have seen a lot of
> Ubuntu users making such modifications lately.
>
> For Python, there's a package (pyxdg or python-xdg or something like
> that) that takes care of this for you, so I recommend using it.
>
> Do keep the TOMBOY_PATH check, though...we still offer that as a way to
> override the location of the note directory.
>
> Anyway, cool project! Thanks for supporting Tomboy! :-)
>
> [0] http://
>