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 > -- tomboy screenlet does not display notes https://bugs.launchpad.net/bugs/477017 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs