Adding custom sub-menu in LXDE main menu
Posted: Tue Aug 18, 2009 9:48 pm
So I have to files called README.desktop and Install.desktop which I have copied them at /usr/share/applications.
Here is what they look like:
Install.desktop
README.desktop
So upon searching I know we can include them in the already default Main menu by adding the tag "Categories=<some-already-defined>". So for example, if I want them to appear under "Accessories" menu, all I need is to add "Categories=Utility" in the above two files and it will start appearing.
However, I would like to display the two files in my own sub-menu say for example, "MyMenu". How do I do that? I know there was some thread which talks about valid categories and all but can't seem to figure out.
Also I tried the suggestion mentioned here:
http://u-lite.org/content/lxde-capable- ... omment-717
but no luck.
Here is what they look like:
Install.desktop
Code: Select all
[Desktop Entry]
Encoding=UTF-8
Version=3.3.3
Name=Install
Comment=Program Installer
Exec=lxterminal --command "./install.sh"
Icon=/usr/share/pixmaps/debian-logo.png
Terminal=false
Type=Application
Code: Select all
[Desktop Entry]
Encoding=UTF-8
Name=README
Comment=README file
Exec=leafpad /root/README.TXT
Icon=/usr/share/pixmaps/readme.xpm
MimeType=text/plain
Terminal=false
Type=Application
MimeType=text/plain
However, I would like to display the two files in my own sub-menu say for example, "MyMenu". How do I do that? I know there was some thread which talks about valid categories and all but can't seem to figure out.
Also I tried the suggestion mentioned here:
http://u-lite.org/content/lxde-capable- ... omment-717
but no luck.