[Pkg-ltsp-devel] Bug#459369: Bug#459369: ltspfs: patch for automatically creating icons on the kde desktop

mariodebian mariodebian at gmail.com
Sun Jan 6 11:06:26 UTC 2008


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmada
	digitalmente
Url : http://lists.alioth.debian.org/pipermail/pkg-ltsp-devel/attachments/20080106/06c623d9/attachment-0001.pgp 


More information about the Pkg-ltsp-devel mailing list