Add a new Xfce menu item

Please note that this blog has been moved.

Now it has its own domain: 🙂

If you want to read the latest version of this article (recommended) please click here and I open the page for you.

If you have installed a new application in your system that is not maintained by the system package manager (like aptitude, portage, yum, packman, etc), then maybe you have to add manually an entry in the system menu.

So here is what you have to do to add a new menu entry to the Xfce menus:

  • create a new empty file in the ~/.local/share/application folder named <your-menu>.desktop
  • edit that file to looks like the one below:
[Desktop Entry]
Name=Disk Usage Analyzer
Comment=Disk usage analyzer

The Name represents the caption of your menu entry.

The Exec represents the name/full-path of your file that is represented by the menu entry.

Note that Category is the place where your menu will be added. There is a list of the well-known categories for the standard X Windows system desktops so if you want to add your menu to those standard categories (such Accessories, Internet, Office, System, etc) the you should provide the standard category name.

More info can be found at Xfce Wiki and Desktop Menu Specification web page of

To load immediately your new menu entry then reload the Xfce desktop manager with:

xfdesktop --reload

About Eugen Mihailescu

Always looking to learn more about *nix world, about the fundamental concepts of arithmetic, algebra and geometry. I am also passionate about programming, database and systems administration.
This entry was posted in linux, xfce and tagged . Bookmark the permalink.

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