I already have some hand-crafted desktop-entries under my ~/.local/share/applications and wanted to add another item (naming the new file userapp-VNC.desktop):
[Desktop Entry]
Comment=VNC Connection
Name=MyVNC
StartupNotify=false
Terminal=0
TerminalOptions=
Type=Application
Actions=One;Two;
[Desktop Action One]
Exec=~/bin/myvnc one
[Desktop Action Two]
Exec=~/bin/myvnc two
This seems correct, but the new entry does not appear under the “Other” submenu in my XFCE4 menu at all. Though I expected the newly-added file to be loaded automatically, I tried explicitly running the below commands too:
xdg-desktop-menu install userapp-VNC.desktopxfdesktop --reloadupdate-desktop-database ~/.local/share/applications
The above all complete without errors, but have no obvious effect.
What am I doing wrong?