Same problem here and it is related to menu cache file
(/usr/share/applications/desktop.${LANG}.cache).
When a new package is installed using dpkg, the latter calls /usr/share
/gnome-menus/update-gnome-menus-cache script which updates the cache
file and the menu item is displayed without problems.
Problems arise when the application is installed through a custom
installer (VMware, netbeans and others). The cache file is not updated
and the menu item is not displayed.
To be exact, it is displayed the first time a desktop entry file is
added or updated in /usr/share/applications directory, but it disappears
on subsequent menu initializations (reboot, logon/logon,...). This is
probably due to the "menu manager" monitoring the above directory and
dynamically updating the menus when a file system activity is detected.
But I'm just guessing here.
In any case, gnome detects the addition or modification of .desktop file,
updates the displayed menu, but it doesn't update the cache file.
I think it should.
WORKAROUND
after installing an application which doesn't use dpkg, execute:
sudo sh -c "/usr/share/gnome-menus/update-gnome-menus-cache
/usr/share/applications/ > /usr/share/applications/desktop.${LANG}.cache"
This does the trick.
--
Manually created menu item in Gnome disappears from Gnome, Ubuntu 10.04 (64
bit).after reboot
https://bugs.launchpad.net/bugs/581838
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs