etitor
May 4th, 2009, 04:01 AM
Hi friends. Under Ubuntu 8.10 and before that, clicking on a file marked as executable (e.g., a perl script) made Nautilus offer 4 options: run file in terminal, open, cancel, run.
After upgrading to Ubuntu 9.04, Nautilus offers those 4 options, but when the first one is chosen (run in terminal) a quick flash of a terminal appears and disappears without running the script.
An error message appears very quickly in the terminal: "file not found /usr/bin/perl". I think this is related to the first line of any perl script, known as shebang: #!/usr/bin/perl.
Of course what the error message states is not true: /usr/bin/perl does exist.
The same script works OK when launched from the terminal (i.e., not using Nautilus).
Has anyone experienced trouble executing a script through popup menus in Nautilus?
After upgrading to Ubuntu 9.04, Nautilus offers those 4 options, but when the first one is chosen (run in terminal) a quick flash of a terminal appears and disappears without running the script.
An error message appears very quickly in the terminal: "file not found /usr/bin/perl". I think this is related to the first line of any perl script, known as shebang: #!/usr/bin/perl.
Of course what the error message states is not true: /usr/bin/perl does exist.
The same script works OK when launched from the terminal (i.e., not using Nautilus).
Has anyone experienced trouble executing a script through popup menus in Nautilus?