How to add a menu entry for all users

Olivier Nicole Olivier.Nicole at cs.ait.ac.th
Tue Jun 29 07:44:17 UTC 2010


Markus,

> >> sudo xdg-desktop-menu install --novendor --mode system myapp.desktop
> >  
> > I tried that already but with no success.
> 
> Since the above command works just fine for me: what exactly did you try?
> Especially: where was your myapp.desktop file located when you executed
> xdg-desktop-menu?
> Was there already a copy of myapp.desktop in some of the places relevant
> for the menu system, for example in
> ~/.local/share/applications
> /usr/share/applications
> /usr/local/share/applications
> ?
> 

In /usr/share/applications
 
> Was a myapp.desktop created in /usr/local/share/applications?

It seems that the new entries *MUST* be created in
/usr/local/share/applications, not in /usr/share/applications.

At least in .../local... it is working.

But I did not see that mentionned anywhere.

Thank you.

Olivier




More information about the ubuntu-users mailing list