On sáb, 2008-01-05 at 23:38 +0100, Klaus Ade Johnstad wrote:
> +def get_desktop_file_path(dev):
> +    return os.path.expanduser("~/Desktop/ltspfsmounter--%s.desktop" %
> (dev))


This piece of code will not work soon...

Ubuntu gutsy translate (with XDG-DIRS) user's dirs.

In spanish, for example, Desktop is named Escritorio.

Take a look at this script to get real Desktop path:

http://trac.tcosproject.org/browser/trunk/initramfs-tools-tcos/bin/rsync-controller

Greetings

-- 
http://soleup.eup.uva.es/mariodebian

Attachment: signature.asc
Description: Esta parte del mensaje está firmada digitalmente

Reply via email to