Custom Icon on Mounted Volume

David Faure faure at kde.org
Tue Aug 14 07:21:46 PDT 2012


On Friday 06 July 2012 15:35:12 Kip Warner wrote:
> Hey list,
> 
> I've taken a look through the Desktop Application Autostart
> Specification and the Desktop Entry Specification. I'm wondering if
> there is any fd.o or other reasonably reliable method of setting an icon
> for a mounted volume under the various desktop environments? Under w32,
> this is possible by setting a value for the Icon field in the
> autorun.inf for a mountable volume, but not sure if we have an analogue.
> Some times this is useful to do, such as in the case of a game disc.

You could try a .directory file with
[Desktop Entry]
Icon=foo.png

(well, an icon from the icon theme would probably work better than a relative 
one, not sure, try that first)

-- 
David Faure, faure at kde.org, http://www.davidfaure.fr
Sponsored by Nokia to work on KDE, incl. KDE Frameworks 5



More information about the xdg mailing list