Another issue about .desktop files is that SpaceFM and probably some other FMs don't know how to handle
Type=Link .desktop files (anymore?)
For example, make a simple google.desktop file as follows:
Double click and instead of bringing up the browser and opening the URL, it says:
Error: Command not found
That's a standard way to make url file links and it used to work in the past. I have Firefox extensions creating links of that type. SpaceFM is just expected to:
Why not?
Same error if one wanted to make local Windows-style shortcut with the
Type=Link .desktop file with a URL=file:///home. Nope. I could only make it work to explicitly include Exec filed. So, if we want to jump to /home folder, the only way so far is to make a home.desktop file as follows:
[Desktop Entry]
Exec=xdg-open /home
Icon=emblem-symbolic-link
On double-click SpaceFM opens that folder in a new tab. But I wish it understood
Type=Link .desktop shortcuts, both local and internet.