Novell is now a part of Micro Focus

Adding a Menu Item to the Application Menu

Novell Cool Solutions: Tip
By Richard Holder

Digg This - Slashdot This

Posted: 14 Sep 2006


You've installed a new application to SUSE Linux Enterprise 10 but it did not use "Install Software", how do you add it to the application menu?


Create a .desktop file and place it in /usr/share/applications directory.

How it's done:

I used the following to create a new menu item for Eclipse, an application installed on my machine by unzipping files.

Open a terminal window and login as Root using the command "su", enter your root password.

To ensure I had the correct format, I opened an existing .desktop file in gedit: #gedit /usr/share/applications/gwclient.desktop

I modified the entry so that only the following remained:

[Desktop Entry] 
Exec=/home/rholder/eclipse/eclipse <-- location of eclipse executable 
Categories=Application;Development; 0 <-- Show option in both New Applications and Development 

After saving, the menu option should appear in a few seconds.


SLED10, GEDIT, Terminal window

Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions.

© Copyright Micro Focus or one of its affiliates