I created a desktop application with pyinstaller. When I double-click on the icon, Ubuntu says:
Can't open the file
Failed to find default application for content type 'application.x-executable'
I *can* run it by right-clicking and choosing "Run as a program".
How can I get double-clicking to launch it?
(Yes, I already set it to be executable from the command line.)