[Mono-list] Environment.GetFolderPath() on fedora core 8

Cedric Vivier cedricv at neonux.com
Fri Jan 11 15:10:16 EST 2008

On Jan 11, 2008 8:39 PM, Andreas Färber <andreas.faerber at web.de> wrote:

> So assuming this can indeed happen on Linux, you'd have to ask the
> "current" environment, whichever that may be. And since corlib can't
> depend on all of gnome-sharp, Kyoto etc., can't you just use the
> existing unmanaged Linux tools to install shortcuts on the desktop? Or
> what else do you want to do with the desktop folder?

Actually FreeDesktop has a standard for this, user "special" directories
(including Desktop) are set in :

Consequently the format for XDG user-dirs is :

# Format is XDG_xxx_DIR="$HOME/yyy", where yyy is a shell-escaped
# homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an
# absolute path. No other format is supported.

Afaik Mono already supports this but there is probably some bug with how the
$HOME/yyy format is handled.

Just my 2 cents.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20080111/039653cb/attachment.html 

More information about the Mono-list mailing list