mirloviev
May 16th, 2010, 04:35 AM
My primary goal is to create menu entries visible to all users.
Here are the steps which demonstrate the problem :
Steps 0-8 just create a new menu item.
Start with a newly installed Ubuntu 10.04 (64 bit). Gnome.
Select menu System ->Preferences->Main Menu.
Select “Applications” on the left.
Click on “New Menu” button.
Enter “gksudo nautilus” in both fields. Click”OK”.
Select the “gksudo nautilus” menu.
Click “New Item”.
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:
~/.local/share/applications/alacarte-made.desktop
~/.local/share/desktop-directories/alacarte-made.directory
~/.config/menus/applications.menu
They now should be moved to a common location which is accessible for all the users.
Iin accordance with the spec (http://standards.freedesktop.org/menu-spec/1.0/), move the alacarte-made.desktop file to directory /usr/share/applications.
Everything still looks and works fine, just as expected. But here is the problem.
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. I tried to do a 'touch' on the file but it did not help.
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.
I am not sure if this is a problem with system configuration or some sort of a bug in the 64-bit OS version. Or maybe I am doing something wrong? I'd highly appreciate any comments or clues.
Here are the steps which demonstrate the problem :
Steps 0-8 just create a new menu item.
Start with a newly installed Ubuntu 10.04 (64 bit). Gnome.
Select menu System ->Preferences->Main Menu.
Select “Applications” on the left.
Click on “New Menu” button.
Enter “gksudo nautilus” in both fields. Click”OK”.
Select the “gksudo nautilus” menu.
Click “New Item”.
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:
~/.local/share/applications/alacarte-made.desktop
~/.local/share/desktop-directories/alacarte-made.directory
~/.config/menus/applications.menu
They now should be moved to a common location which is accessible for all the users.
Iin accordance with the spec (http://standards.freedesktop.org/menu-spec/1.0/), move the alacarte-made.desktop file to directory /usr/share/applications.
Everything still looks and works fine, just as expected. But here is the problem.
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. I tried to do a 'touch' on the file but it did not help.
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.
I am not sure if this is a problem with system configuration or some sort of a bug in the 64-bit OS version. Or maybe I am doing something wrong? I'd highly appreciate any comments or clues.