Adding Unity to OnlyShowIn allowed values

Ted Gould ted at
Tue Feb 22 07:20:14 PST 2011

On Tue, 2011-02-22 at 01:25 +0100, Pierre Wieser wrote:
> I am reading the Desktop Entry spec, and more particularly about
> OnlyShowIn and NotShowIn keys. This spec refers to a desktop 
> environment, and there is a list of "recognized" desktops.

It is here:

> Even if I am a bit disappointed about that, my question stays:
> whether it is at compile time or at runtime, how do we identify
> a desktop environment ?

I think that for most cases people know what desktop they are because
they're specifically building for that desktop.  For instance, it's
unlikely the KDE desktop file loader would be used on GNOME so it has in
it's code to look for "KDE".  I don't know of a runtime way to determine
the desktop.

That being said, I think it might be worth a standard environment
variable to get that.  There isn't one that I know of today.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <>

More information about the xdg mailing list