Ubuntu: Impossible to launch graphic executables in nautilus



Question:

I recently re-installed Ubuntu in 64 bit, (before I had it in 32 bit). I had the home folder on a partition and the system on another. So when I re-installed I kept my old home folder. My problem is that now, when I try to run my c++ executables that use the SDL, Nautilus tells me:

Could not display "program"    There is no application installed for "shared library" files.  Do you want to search for an application to open this file?  

So the problem seems to be that nautilus thinks that it's a "shared library", but I have no idea about how to fix it!

How do I make it recognize as a normal executable file?

file program return :

program: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=39330e8ffbc9d3c5392da418d7fabecbb32334eb, stripped  

and mimetype program return :

program: application/x-sharedlib  


Solution:1

This appears to be long-running bug:

https://bugzilla.gnome.org/show_bug.cgi?id=737849

I, too, would like to see it sorted out.

Regards

Peter


Solution:2

I don’t think Nautilus team will sort it out soon The problem is between Nautilus and file/libmagic project. file/libmagic cannot distinguish between shared objects and executables in a reliable way. So, when I sometimes need to execute binaries from Nautilus, I either drag it into a terminal window or create a one-word script. However, when I need to execute binaries more frequently, I switch to another file managers: Dolphin or Nemo. Dolphin, as I understand, is just executing any file with "execute" permission. Nemo asks in case of shared object: "Make executable and run" or "Choose a program".


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »