Hello Im newbie with this porgram, but Im doing a thesis at shcool about speech recognition.
I saw that I can start actually firefox when telling dialog demo read newspaper and then a news papaer name.. it says in the doc that I shoudl put this script
!/bin/sh
export FF_HOME="/usr/share/firefox
url="$1"
if [ "x$url" = "x" ]; then
url="about:blank"
fi
if $FF_HOME/mozilla-xremote-client openURL("$url"); then
exit 0
fi
exec $FF_HOME/firefox "$url"
the problem its that I dunno where to put it.. or how to create it..
thanks for the help guys
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This is just a simple script to start mozilla. You can create it with a text editor. Put it into some folder in your path.
Actually I wonder if you need it at all.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2007-11-06
I know its a simple script. I wrote it in a text editor with the name browse but I dunno what extension should i put to the file? if you can help me I will realy appreciate it
thanks
Gus
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello Im newbie with this porgram, but Im doing a thesis at shcool about speech recognition.
I saw that I can start actually firefox when telling dialog demo read newspaper and then a news papaer name.. it says in the doc that I shoudl put this script
!/bin/sh
export FF_HOME="/usr/share/firefox
url="$1"
if [ "x$url" = "x" ]; then
url="about:blank"
fi
if $FF_HOME/mozilla-xremote-client openURL("$url"); then
exit 0
fi
exec $FF_HOME/firefox "$url"
the problem its that I dunno where to put it.. or how to create it..
thanks for the help guys
This is just a simple script to start mozilla. You can create it with a text editor. Put it into some folder in your path.
Actually I wonder if you need it at all.
I know its a simple script. I wrote it in a text editor with the name browse but I dunno what extension should i put to the file? if you can help me I will realy appreciate it
thanks
Gus
Scripts in unix usually don't have extension. But don't forget to set permission to be executed on it.