Re: [pygtk] getting desktop path

2010-06-04 Thread Gabriele Lanaro
Thank you very much, I'll end up using pyxdg or some other xdg utility. Bye! 2010/6/3 Mike Sheldon m...@mikeasoft.com On Thu, 2010-06-03 at 16:20 +0200, Pasquale Boemio wrote: If your sistem is well configurated there is a file in your home directory that set some variables. Here is

[pygtk] getting desktop path

2010-06-03 Thread Gabriele Lanaro
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? ___ pygtk mailing list pygtk@daa.com.au

Re: [pygtk] getting desktop path

2010-06-03 Thread Pasquale Boemio
If your sistem is well configurated there is a file in your home directory that set some variables. Here is mine: p...@littlemonkey ~ $ cat .config/user-dirs.dirs XDG_DESKTOP_DIR=$HOME/Desktop XDG_MUSIC_DIR=/media/PausExt/Musica XDG_DOWNLOAD_DIR=$HOME/Downloads XDG_PUBLICSHARE_DIR=$HOME/Dropbox

Re: [pygtk] getting desktop path

2010-06-03 Thread Timo
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

Re: [pygtk] getting desktop path

2010-06-03 Thread Mike Sheldon
On Thu, 2010-06-03 at 16:20 +0200, Pasquale Boemio wrote: If your sistem is well configurated there is a file in your home directory that set some variables. Here is mine: p...@littlemonkey ~ $ cat .config/user-dirs.dirs XDG_DESKTOP_DIR=$HOME/Desktop XDG_MUSIC_DIR=/media/PausExt/Musica