Table of Contents

XFCE Applications Menu

How to manipulate the XFCE Applications Menu.

Add an app to the XFCE menu

To add an installed app to the [system wide] XFCE APPLICATIONS MENU, as root:

1) Create the .desktop file:

vi /usr/share/applications/APPNAME.desktop

2) ADD:

/usr/share/applications/APPNAME.desktop
[Desktop Entry]
Name=APP NAME
Comment=A COMMENT
Exec=/PATH/TO/APP/BIN
Icon=/PATH/TO/ICON/IMAGE.xpm
Terminal=TRUE/FALSE
Type=Application
Categories=CATEGORY(S)

EXAMPLE: dosemu

/usr/share/applications/dosemu.desktop
[Desktop Entry]
Name=DOS emulator
Name[lt]=DOS emuliatorius
Comment=DOS emulator "dosemu"
Comment[lt]=DOS emuliatorius "dosemu"
Exec=/usr/bin/dosemu
Icon=/usr/share/pixmaps/dosemu.xpm
Terminal=false
Type=Application
Categories=System;Emulator;

To add an installed app to a user's XFCE APPLICATIONS MENU, as that user:

1) Create the .desktop file:

vi ~/.local/share/applications/APPNAME.desktop

2) ADD:

~/.local/share/applications/APPNAME.desktop
[Desktop Entry]
Name=APP NAME
Comment=A COMMENT
Exec=/PATH/TO/APP/BIN
Icon=/PATH/TO/ICON/IMAGE.xpm
Terminal=TRUE/FALSE
Type=Application
Categories=CATEGORY(S)

Sources