.desktop files with relative icons ?

Rémi turboult at easynet.fr
Mon Aug 28 00:22:17 EEST 2006

Thanks for your answer.
It seems to work for KDE indeed. 
Shouldn't this behaviour (relative filenames in the "Icon=" field) be 
described in the Desktop Entry Specification ? e.g. for the kind of usage I 
was describing previously.

Best regards,

On Wednesday 23 August 2006 00:55, Bastian, Waldo wrote:
> The spec doesn't explicitly support it but for directories it will work in
> KDE. I had a quick look at Nautilus 2.8 but that version doesn't seem to do
> anything at all with .directory files. Maybe someone else can check with a
> more recent version.
> Waldo Bastian
> Linux Client Architect - Client Linux Foundation Technology
> Channel Platform Solutions Group
> Intel Corporation - http://www.intel.com/opensource
> OSDL DTL Tech Board Chairman
> >-----Original Message-----
> >From: xdg-bounces at lists.freedesktop.org [mailto:xdg-
> >bounces at lists.freedesktop.org] On Behalf Of Rémi
> >Sent: Wednesday, August 16, 2006 11:04 AM
> >To: xdg at lists.freedesktop.org
> >Subject: .desktop files with relative icons ?
> >
> >Hi,
> >
> >I have one question regarding the use if "Icon=" in the Desktop Entry
> >Specification : how to set relative filenames in the "Icon=" field in a
> >portable way ?
> >I have in mind the following scenario : authoring a read-only removable
> >file system (e.g. a CD ROM, or some network share) with directories having
> >predefined custom icons. In this case, I would like to have .desktop
> >entries with a "Icon=" pointing to a relative file name (e.g.
> >"Icon=./icons/my_icon.png").
> >How can I do this in a portable way ? If I understand correctly, he
> > current spec (0.9.5) says that using Icon file names other than
> > "absolute" is implementation dependent.
> >
> >
> >Regards,
> >    Rémi
> >

More information about the xdg mailing list