Page 1 of 1

linux standalone not recognized in ubuntu

Posted: Sun Dec 15, 2013 12:35 am
by mattmaier
I made a simple text editor and saved it as a standalone in windows and linux.
The windows version runs just fine.
When I try to open the linux version in ubuntu it gives me an error message:
Could not display
The file is of an unknown type

Interestingly, ubuntu recognizes the windows version as an application and tries to run it. Fails, but at least it knows what to do.

There don't seem to be a lot of options/resources on this particular subject. The settings are literally just a few checkboxes. Every tutorial just says "also linux." The user guide devotes less than one line to it.

I'm not even sure what could be wrong at this point. It seems like it's supposed to just work.

Re: linux standalone not recognized in ubuntu

Posted: Sun Dec 15, 2013 1:28 am
by FourthWorld
Did you build on Windows or Linux? If you build on another platform and transfer to Linux, the Linux execution permissions won't be there since other OSes have no concept of that.

To run an executable copied from another platform, right-click on it to bring up the Properties window, where you'll find a checkbox to set the executable bit.