I launched the Omnibus launchpad.sh script only to be told that the browser I was using was not supported:
"An error occurred while starting the launchpad. This error typically occurs when the launchpad is unable to find a supported browser. Check your product's documentation for a list of supported browsers."
But, the HTML file (noBrowser.html) was actually displayed by Firefox. It turns out that the version of Launchpad only supports older versions of Firefox, namely ESR10.
There is a very simple fix to this issue:
1) Download an ESR10 version of Firefox, for example:
# cd /tmp
# wget https://ftp.mozilla.org/pub/mozilla.org/firefox/releases/10.0.2/linux-x86_64/en-US/firefox-10.0.2.tar.bz2
2) Extract it:
# cd /tmp
# tar -jxf firefox-10.0.2.tar.bz2
3) Tell Launchpad to use it
# export BROWSER=/tmp/firefox/firefox
4) Relaunch launchpad.sh
# /tmp/omni-install/launchpad.sh
and now it works:
1 comment:
There is also another solution to this:
The Firefox validation script "/launchpad/browser.sh" contains a case statement which verifies the version of Firefox.
supportedFirefoxVersion()
{
case "$*" in
*Firefox\ [1-9].*) return 0;;
*Firefox/[1-9].*) return 0;;
*Firefox*) return 1;;
*rv:1.[7-9]*) return 0;;
*rv:[2-9].*) return 0;;
*rv:*) return 1;;
Mozilla*\ 1.[7-9]*) return 0;;
Mozilla*\ [2-9].[0-9]*) return 0;;
*) return 1;;
esac
}
If your version of Firefox is greater than 9.x then the script will fail. To remedy this you can add the line:
*Firefox\ [1-9][0-9].*) return 0;;
The script will now recognize Firefox versions between 10.0 and 19.9
Post a Comment