Create a symbolic link for your Desktop folder, in my case: ln -s Área\ de\ Trabalho Desktop
and change icons names ====== r...@srvltsp01:~# cat /etc/ltspfs/mounter.d/kde-desktop-icons #!/usr/bin/python # example ltspfs hook to add icons on the KDE Desktop. # based on a patch by Klaus Ade Johnstad: http://bugs.debian.org/459369 # to use this hook, install this in /etc/ltspfs/mounter.d/ and mark it as # executable. import sys import os mode=sys.argv[1] if mode != 'cleanup': mountpoint=sys.argv[2] dev=mountpoint.split('/')[-1] def get_desktop_file_path(dev): # FIXME: respect XDG settings when Desktop is localized return os.path.expanduser("~/Desktop/ltspfsmounter--%s.desktop" % (dev)) if mode == 'add': desktop_file_s = get_desktop_file_path(dev) if os.path.exists(desktop_file_s): print >>sys.stderr, ".desktop file already exists, skipping" sys.exit(1) if dev.startswith('usb'): # icon = 'usbpendrive_mount' icon = 'media-flash' elif dev.startswith('ata'): icon = 'hdd_unmount' elif dev.startswith('floppy'): # icon = '3floppy_mount' icon = 'media-floppy' elif dev.startswith('cdrom'): # icon = 'cdrom_mount' icon = 'media-cdrom' else: # icon = 'usbpendrive_mount' icon = 'usbpendrive_unmount' try: desktop_file = open(desktop_file_s, 'w') desktop_file.write('[Desktop Entry]\nEncoding=UTF-8\nName=%s\nIcon=%s\nType=Link\nURL=%s\n' % (dev, icon, mountpoint)) desktop_file.close() except IOError, e: print >>sys.stderr, 'unable to create desktop file:', e elif mode == 'remove': desktop_file_s = get_desktop_file_path(dev) if os.path.exists(desktop_file_s): os.unlink(desktop_file_s) elif mode == 'cleanup': import glob for filename in glob.glob(os.path.expanduser('~/Desktop/') + 'ltspfsmounter--*.desktop'): os.unlink(filename) ====== 2010/5/26 JF Straeten <jfstrae...@scarlet.be>: > On Tue, May 25, 2010 at 08:22:41PM -0300, Osvaldo Filho wrote: > >> >> Please, how can i use kde-desktop-icons with xfce and thunar? I >> >> need icons for usbsticks on my clients desktop! > > I did that with XFCE some 18 month ago, but can't remember exactly the > followed procedure :-( > > FWIR, the script crafted for KDE should go almost unchanged in the > same LTSP directory as for other desktop. (But I don't find this > script an my machines anymore... So from where did he came ? I don't > remember ; but it was probably pointed on this list, so the archives > should help.) > > For the change, IIRC, the icons and paths to them must be adapted. > > Hih, > > -- > > JFS. > > ------------------------------------------------------------------------------ > > _____________________________________________________________________ > Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto: > https://lists.sourceforge.net/lists/listinfo/ltsp-discuss > For additional LTSP help, try #ltsp channel on irc.freenode.net > ------------------------------------------------------------------------------ _____________________________________________________________________ Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto: https://lists.sourceforge.net/lists/listinfo/ltsp-discuss For additional LTSP help, try #ltsp channel on irc.freenode.net