.desktop files with relative icons ?

Bastian, Waldo waldo.bastian at intel.com
Wed Aug 23 01:55:19 EEST 2006

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 ?
>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.
>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.
>    Rémi
>xdg mailing list
>xdg at lists.freedesktop.org

More information about the xdg mailing list