I’ve purchased software, that was provided in form of .zip archive to extract. I’ve unpacked it into /opt/thatapp directory. There is .desktop file, that I’m supposed to double click to create desktop entry, but when I do, it opens gedit instead. I’ve tried gio launch command as well - and this one indeed opens the app, but does not create any shortcuts or whatsoever.
Maybe anyone had similar problem? There are several similar topics over the internet, but didn’t stumble across working solution so far.
Thank you Didn’t thought to check in AUR, as it is paid tool and I don’t think there is much licensing besides the limited access to zip files. Most comments claim it to be broken and sadly it resulted in error as well when I tested it.
As far, as I understand, it’s not a problem with software itself - I’m able to start it using binary. Problem is with .desktop file, that opens in editor instead of acting like these type of files should. I stumbled across several similar topics relating to several different applications, sadly with no clear solution.
Content of the .desktop file looks like this. On the first glance I don’t see any mistake:
Comment=Wonderdraft is a powerful yet intuitive fantasy map creation tool.
Try to copy that .desktop file to ~/.local/share/applications/ and see if it appears inside GNOME apps’ launcher when you search for it, I don’t know if it still works since I ditched GNOME long time ago.
This in fact, as suggested by @medmedin created entry in ~/.local/share/applications/
I don’t know, if this tool does anything else, but application is visible in app launcher and starts as expected. The .desktop file had an issue as well - Version parameter is redundant and should not point to the app version, as stated on the AskUbuntu forum. I removed it entirely.
Thanks everyone for your help, I really appreciate it