It's doing exactly the same on Ubuntu 8.10.

As I understand it, if this directory exists, and is writeable, it's used, if it
doesn't then things are installed in /etc/xdg/applications

But, it would seem to be a bug in the script that it uses the wrong dirname for
GNOME. According to the Desktop Menu Specification[1] it should be (as we know):

$XDG_DATA_DIRS/applications

where XDG_DATA_DIRS is /usr/share:/etc/xdg usually.

Darren.

On 02/04/2009 22:45, Brian Cameron wrote:
> 
> Bart:
> 
>> The postinstall script in the svr4 package called
>> /usr/bin/xdg-desktop-menu, which installed the menu file there.
>> I copied that behavior in the package; as that is apparently wrong
>> I'll change that to /usr/share/applications.
> 
> It seems a bug if the xdg-desktop-menu is installing the files
> to the wrong location.  Or, if this is directory is a desktop standard
> that xdg-desktop-menu encourages, then we should probably support it.
> 
> Either way, shouldn't we file a bug about this?
> 
> Brian
> _______________________________________________
> desktop-discuss mailing list
> desktop-discuss at opensolaris.org

Reply via email to