Adding a menu item to the Gnome menus

Here is what I did to do to get RHEL 6 to add mrxvt to the menu structure it uses in gnome. I wanted to do it in userspace.

(0) Installed mrxvt. I went to

and grabbed


and the browser handed the file off to the package manager and it installed automagically, once I put in the admin password. It is also possible to install an rpm manually. mrxvt does not appear to be in the repos for my distribution (RHEL 6). It’s not in EPEL either.

(1) Opened a terminal and went to


(2) vi mrxvt.desktop

(3) Put this text in the file and saved it:

[Desktop Entry]
Comment=Light tabbed terminal emulator

The most tricky line is the ‘Categories’ line — these categories are NOT the same as the headings of the menus and submenus, but magical incantations that need to be deduced by looking at the working .desktop files that you can find in places on your system like
or by resorting to searching the web.

(4) Put my icon in the right place. It looks like this:

My <tt>mrxvt</tt> icon. Take it if you like!

My mrxvt icon. Take it if you like! It took me about two minutes in xFig.

(5) Logged out and back in.

(6) And there it is.

<tt>mrxvt</tt> in the 'Applications' menu.

mrxvt in the ‘Applications’ menu.




Tags: , , , , ,

About Darren

I'm a scientist by training, based in Australia.

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 )

Google+ photo

You are commenting using your Google+ 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 )


Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: