Running Bash Shell Script from Gnome Desktop
Keith
ac7xc1nx at gmail.com
Mon Aug 7 07:23:38 UTC 2006
Yes I do have that line on the top of the script.
Here is the script
#!/bin/bash
# Only use this script to run bc246t.tcl from a Gnome program launcher
if
#/bc246t is located in your HOME directory.
# example /home/username/bc246t
cd bc246t
exec ./bc246t.tcl
# end, save in ~/bin/ , chmod +x , have your desktop shortcut launch
# this script instead of the application itself.
On Mon, 2006-08-07 at 14:59 +0800, Msquared wrote:
> On Sun, Aug 06, 2006 at 09:49:48PM -0700, Keith wrote:
>
> > I have a bash shell script on my Desktop and every time I run it the
> > Gnome desktop places a prompt box on what I want to do: display, run in
> > terminal, cancel or Run. How do I disable this function or get the
> > script to run without the prompt?
>
> Do you have a line like this at the top of the script:
>
> #!/bin/bash
>
> Regards, Msquared...
>
--
Best Regards, Keith
http://home.comcast.net/~kilowattradio/
BC246T TCL/TK Programming and Control Tool
http://home.comcast.net/~kilowattradio/ftp/
More information about the fedora-list
mailing list