How to add a menu entry for all users

Olivier Nicole Olivier.Nicole at cs.ait.ac.th
Tue Jun 29 04:09:47 UTC 2010


Thanks,

> If you already have a *.desktop file to launch your application (for
> example myapp.desktop) you can add it to the menu for all users by doing
> something like
> sudo xdg-desktop-menu install --novendor --mode system myapp.desktop
 
I tried that already but with no success.

Now I noticed something weird.

During a Gnome session, if I rename or copy the
/usr/share/applications/myapp.desktop file, the menu is updated for
that session.

If I have several users connected at that time (with switch user), the
menu is updated accordingly for every connected users.

But after I disconnect and reconnect the menu is back to the default!

That is really odd!

TIA,

Olivier




More information about the ubuntu-users mailing list