Re: [ubuntu-uk] run a script
On 1 July 2011 11:39, Norman Silverstone wrote: > When I right click on a folder containing a script and select Open I am > offered a choice of either Run or Run in Terminal. When I select the > latter a terminal opens and then flashes off again. How do I get to make > the terminal stay open, please. Running GNOME in 11.04. > > Add 'read' as the last line in the script, which will give you a prompt. s/ -- Twitter: @sfgreenwood "Is this your sanderling?" -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/
Re: [ubuntu-uk] run a script
On 1 July 2011 11:39, Norman Silverstone wrote: > When I right click on a folder containing a script and select Open I am > offered a choice of either Run or Run in Terminal. When I select the > latter a terminal opens and then flashes off again. How do I get to make > the terminal stay open, please. Running GNOME in 11.04. > Not a direct answer to your question but related - one of my favourite Nautilus extensions is the package 'nautilus-open-terminal'. It adds right-click->Open in Terminal for folders. Then you can execute the script with `./filename`. Regards, Matthew -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/
[ubuntu-uk] run a script
When I right click on a folder containing a script and select Open I am offered a choice of either Run or Run in Terminal. When I select the latter a terminal opens and then flashes off again. How do I get to make the terminal stay open, please. Running GNOME in 11.04. Norman -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/