I’m currently experiencing an issue with launching a
.desktop file in Fedora 38. The
.desktop file is intended to open a standalone WhatsApp application that I’ve created using Nativefier.
I created a
WhatsApp.desktop file with the following content:
[Desktop Entry] Name=WhatsApp Exec=/home/steeb/Apps/WhatsApp-linux-x64/WhatsApp.desktop Icon=/home/steeb/Apps/WhatsApp-linux-x64/resources/app/icon.png Terminal=false Type=Application
I’ve placed this file in the
~/.local/share/applications directory and made it executable with
chmod +x. However, when I double-click the
WhatsApp.desktop file, it opens in a text editor instead of launching the WhatsApp application. If I right-click the file and select “Open With Other Application”, there’s no option to open the file with the system application launcher.
I tried setting Nautilus as the default handler for
.desktop files with
gio mime application/x-desktop org.gnome.Nautilus.desktop, but this didn’t resolve the issue.
I’m not sure what else to try at this point. Any help would be greatly appreciated! Thanks!