After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 618762 - Manually created menu item in Gnome disappears from Gnome, Ubuntu 10.04 (64 bit).after reboot
Manually created menu item in Gnome disappears from Gnome, Ubuntu 10.04 (64 b...
Status: RESOLVED NOTGNOME
Product: gnome-menus
Classification: Core
Component: libgnome-menu
2.30.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-menus dummy account
gnome-menus dummy account
Depends on:
Blocks:
 
 
Reported: 2010-05-16 06:48 UTC by vandmzah
Modified: 2010-05-17 10:11 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description vandmzah 2010-05-16 06:48:27 UTC
Here are the steps to reproduce the problem :

Steps 0-8 just create a new menu item.

   1. Start with a newly installed Ubuntu 10.04 (64 bit). Gnome.
   2. Select menu System ->Preferences->Main Menu.
   3. Select “Applications” on the left.
   4. Click on “New Menu” button.
   5. Enter “gksudo nautilus” in both fields. Click”OK”.
   6. Select the “gksudo nautilus” menu.
   7. Click “New Item”.
   8. Again (just for simplicity) in all fields enter “gksudo nautilus”. A new item is created. You could also see that the new menu and the item are available in the Applications menu and work fine.
      The goal is to make this new menu entry available for all users. As expected the steps above create three files under my home directory:
         1. ~/.local/share/applications/alacarte-made.desktop
         2. ~/.local/share/desktop-directories/alacarte-made.directory
         3. ~/.config/menus/applications.menu
            They now should be moved to a common location which is accessible for all the users.
   9. In accordance with the spec (http://standards.freedesktop.org/menu-spec/1.0/), move the alacarte-made.desktop file to directory /usr/share/applications.
  10. Everything still looks and works fine, just as expected. But here is the problem.
  11. If you now reboot your 64 bit system the menu item would not show up any longer. The only way I found to see the menu entry again is to open the /usr/share/applications/alacarte-made.desktop file and to add a space and save it ( this works only till the next reboot). I tried to 'touch' the file but it did not help.
  12. The above steps work fine on my 32 bit Ubuntu 10.04 or in KDE. In both of these cases the menu item stays there after the system is rebooted.
Comment 1 Vincent Untz 2010-05-17 10:11:40 UTC
As Ubuntu is patching gnome-menus to use a cache, you should open the bug on launchpad to let the Ubuntu people determine if it's a bug in their patch or not.