Purpose: In our previous posts, we have seen the following:
In this post, we will see how to add our own program in LXDE menu. As mentioned in previous posts, we will be playing around with *.desktop file to achieve this.
Simply follow the Step 1 and Step 2 from my previous post.
Step 3: Go to LXDE menu
Now if you go to “LXDE Menu->Accessories” sub-menu, you should be able to see your program, “README”, in there. Yes it’s that simple. This is the most simple and quickest way to add items to your default LXDE menu. In my future post we will see how we can further have flexibility in placing our program within LXDE menu. For example, placing the program in the main LXDE menu instead of in a sub-menu like “Accessories”.
Now you may ask, why did it placed the program under “Accessories” menu, right? This is because of the following line in your README.desktop:
There is an open standard which specifies these categories. You just cannot put anything in the Categories field above. You have to use a pre-defined standard or else you have implement your own standard. You can refer to specification at http://freedesktop.org/. Here are some other categories that you can use too:
Basically the above categories are also used for displaying items in GNOME menu. Most of the graphics desktop environment like GNOME, XFCE, LXDE, etc. follow this standard.