AndyAWS
May 11th, 2005, 06:56 PM
This is probably something simple but being a Linux Newbie I don't know what's up.
I installed Eternal Lands in /usr/local/share/games/el/.
I can run the game only if I navigate to that directory and type "./el.x86.linux.bin"
If I leave off the "./" I get 'command not found'. If I try to add it to the menu (with Smeg) using "/usr/local/shar/el/el.x86.linux.bin" as the Command, nothing happens.
I had to make a Bash Script that "cd"s to the directory and runs "./el.x86.linux.bin".
my question is: Why do i need the leading ./ to run the file. The file permissions are set to 775, and if I check it's properties it says MIME Type: application/x-executable.
If I double click it from the file browser I get an error:
Cannot open el.x86.linux.bin
The filename "el.x86.linux.bin" indicates that this file is of type "unknown". The contents of the file indicate that the file is of type "executable". If you open this file, the file might present a security risk to your system.
Do not open the file unless you created the file yourself, or received the file from a trusted source. To open the file, rename the file to the correct extension for "executable", then open the file normally. Alternatively, use the Open With menu to choose a specific application for the file.
If I change the filename to el.x86.linux.exe it works...but this seems a bit windowsish...Is there another proper way to fix it?
I installed Eternal Lands in /usr/local/share/games/el/.
I can run the game only if I navigate to that directory and type "./el.x86.linux.bin"
If I leave off the "./" I get 'command not found'. If I try to add it to the menu (with Smeg) using "/usr/local/shar/el/el.x86.linux.bin" as the Command, nothing happens.
I had to make a Bash Script that "cd"s to the directory and runs "./el.x86.linux.bin".
my question is: Why do i need the leading ./ to run the file. The file permissions are set to 775, and if I check it's properties it says MIME Type: application/x-executable.
If I double click it from the file browser I get an error:
Cannot open el.x86.linux.bin
The filename "el.x86.linux.bin" indicates that this file is of type "unknown". The contents of the file indicate that the file is of type "executable". If you open this file, the file might present a security risk to your system.
Do not open the file unless you created the file yourself, or received the file from a trusted source. To open the file, rename the file to the correct extension for "executable", then open the file normally. Alternatively, use the Open With menu to choose a specific application for the file.
If I change the filename to el.x86.linux.exe it works...but this seems a bit windowsish...Is there another proper way to fix it?