desktop environment specific XDG_CONFIG_DIRS

Thiago Macieira thiago at
Fri Jul 20 16:39:29 PDT 2007

Lei Zhang wrote:
>I'm trying to add a system-wide menu item to both Gnome and KDE using
>xdg-desktop-menu. I have been testing this on a variety of Linux
>distros. On Fedora 7, I noticed if I installed my program from Gnome,
>it shows up in both Gnome and KDE, but if I install it from KDE, it
>only shows up in KDE.

Why are you installing it in different places in the first place?

Ignore $XDG_CONFIG_DIRS and $XDG_DATA_DIRS when installing. Install to the 
default locations and be done with it.

  Thiago Macieira  -  thiago (AT) - thiago (AT)
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : 

More information about the xdg mailing list