I had just registered into these forums in order to answer how to create a new directory menu entry in the "Game" category. However, my very first post is going to be a little more disappointing, because my personal account in the computer has become wrongly configured while I was making some experiments I considered easily reversible.
I cannot understand what happened, this morning I did similar changes in another user account in the same computer and I was able to go back to the previous applications menu as easily as deleting the files I had created. This time, it did not work, even after rebooting the computer.
The facts:
1) I had successfully created several application menu entries for a game, which I had downloaded from Lubuntu Software Center. The reason was that it requires a parameter to choose its board and I want another user, who has less experience in shells, to be able to use it. I put them in ~/.local/share/applications/ and they work well, indeed I have written a script to creating them automatically from the list of board the program returns, but they are too many for the Games directory. I mean I consider it becomes too large.
2) This morning, I read this post:
http://lkubaski.wordpress.com/2012/11/0 ... -sections/
And I tried to create a new directory inside Games directory. Although I was not successful, it was really simple to get back the ordinary applications menu. I only had to delete the files I was created in ~/.config/menus/ and ~/.local/share/desktop-directories/ and the changes in the files .desktop in ~/.local/share/applications/.
3) This afternoon, I looked for more information and I found the FAQ of the LXDE wiki:
http://wiki.lxde.org/pt/LXDE:FAQ#How_do ... in_menu.3F
As I had been able to revert to the ordinary menu this morning, I decided to try the slight differences between this wiki and this morning's approach despite the fact that the wiki says that method does not work. I copied the custom lxde-applications.menu file to ~/.config/menus/, the .directory file to ~/.local/share/desktop-directories/ and one .desktop file to ~/.local/share/applicationes/ so as to fill the new sub-directory. Once again the applications menu disappeared, but this time I have not been able to recover it by deleting ~/.config/menus/ and ~/.local/share/desktop-directories/ folders and the .desktop file.
I have reboot the computer and the problem goes on. And it is not the only feature missed, there are neither available applications for the "applications bar" configuring tool nor the "open with" menu. It is quite annoying, I have to start most of the programs from the /usr/share/applications/ folder.
Might you tell me how I can get back the ordinary applications menu?
I use Lubuntu 14.04 and my account is an user one.
The lxde-applications.menu file was:
Code: Select all
<!DOCTYPE Menu PUBLIC "-//freedesktop//DTD Menu 1.0//EN" "http://www.freedesktop.org/standars/menu-spec/1.0/menu.dtd">
<Menu>
<Name>Applications</Name>
<!-- Personalización de usuario->
<MergeFile type="parent">/etc/xdg/menus/lxde-applications.menu</MergeFile>
<Menu>
<Name>Games</Name>
<Menu>
<Name>MahJongg</Name>
<Directory>MahJongg-mahjongg.directory</Directory>
<Include>
<And><Category>mahjongg</Category></And>
</Include>
</Menu>
</Menu>
</Menu>