Howto add entries in GNOME menu in Ubuntu


If you want to add entries in GNOME menu in Ubuntu, you can do it two ways :

1) Using command line.

2) Using GUI settings.

Let me start with the first one i.e. Using command line. I will use this method to add Eclipse IDE under Applications–>Programming–>Eclipse. If your Programming sub-menu is not present already it will be added automatically.

a) Open the terminal (Applications–>Accessories–>Terminal).

b)Now type the following command in it.
sudo gedit /usr/share/applications/eclipse.desktop

This will bring up a blank text editor. Paste the following contents in it.
[Desktop Entry]
Comment=Eclipse IDE

Here I have used Exec=/usr/project/eclipse/eclipse which is the path to the eclipse executable application and Icon=/usr/project/eclipse/icon.xpm which is the path to the icon.

c) Save it using Ctrl+S. Close the editor.

d) Close the terminal.

This will add Eclipse in GNOME menu.

Now let me come to the second method i.e. Using GUI settings.

First off, right click your applications menu and hit “Edit Menus”

The Menu editor will appear . In the left panel select the category like accessibility, Debian, accessories etc. The right panel will update with the entries in that category.

After you have selected the category, click on the New Item Button

Another dialog will appear, thats where you will make the actual entry.In this case I will add a Firefox entry.

First of all select what type of application it is. You can select application or application in terminal, both are quite self explanatory, you can also select a file.

Fill name with the application name or whatever you want. Fill command with the applications command, in this case its firefox. If you selected file in the first box instead of application, you can browse for the file or just add the path to it.

Comment is rather self explanatory.Now, select an icon by clicking the button to the left, in this case since i haven’t selected one yet It says ‘no Icon’.

Hit the ok Button that’s it.

If this information is helpful to you or you need more help please post a comment.

Thank you.

Manohar Bhattarai

Tags: , , , , , , , , , , ,

11 Responses to “Howto add entries in GNOME menu in Ubuntu”

  1. Navdeep Singh Says:

    NIce one.. keep it up

  2. chiraggupta Says:

    nice blog!!
    really helpful for newbies……

  3. Manohar Bhattarai Says:

    Thanx… Its nice that my blog is helping u all.
    Check out for more….

  4. Girish Says:

    Nice Blog 🙂

    Really helpful stuff.

  5. dragon Says:

    Thanks. It’s nice but when I use “command line” method, all items disappear after system reboots. Please tell me if you know the way to fix it😀

  6. Owen Says:

    Wonderful, that’s exactly what I was scanning for! This post just spared me alot of searching around

    I’ll make certain to put this in good use!

  7. Linux Says:

    You are a very bright person!

  8. web directory Says:

    I really like this blog and the way its laid out, thankyou I have bookmarked.

  9. Freda Grengs Says:

    I lately came across your blog and have been learning along. I believed I would leave my 1st comment. I don’t know what to say except that I’ve loved reading. Fine blog. I will maintain visiting this blog very usually.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: