On 3/04/2009, at 10:45 AM, 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?

Sounds like a bug in xdg-desktop-menu. It should be picking up  
XDG_DATA_DIR/applications and installing the .desktop files into that.  
What I think it may be doing from a quick look through the script is  
doing some sort of compatibility mode for older versions of GNOME and  
KDE. Perhaps the XDG* env var isn't defined in the session, causing it  
to go to the compat dir?


Glynn

Reply via email to