On 03-06-10 15:47, Gabriele Lanaro wrote: > How to get, for example the desktop path of the current user? > (localization-aware) > Would be nice to obtain for example also the default download-path. > Is that possible? I don't know a Python approach to do this. But most Linux systems have the xdg-utils installed though, so the following works:
$ xdg-user-dir DESKTOP /home/timo/Bureaublad Cheers, Timo > > _______________________________________________ > pygtk mailing list pygtk@daa.com.au > http://www.daa.com.au/mailman/listinfo/pygtk > Read the PyGTK FAQ: http://faq.pygtk.org/ _______________________________________________ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://faq.pygtk.org/