[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.

Welcome to the Slackware Documentation Project

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

 howtos:window_managers:xfce_app_menu ()