To set specific version of firefox as default
Hi,
I am working on vm setup which has firefox 3.0 set. As I need Selenium IDE, I installed firefox 14.0. FYI: Selenium is a suite of tools specifically for automating web browsers. firefox 3.0 installed in /usr/bin/firefox firefox 14.0 installed (by me) in $HOMEDIR/firefox/firefox I dont have root permissions to upgrade existing firefox. Problem: My code invokes firefox 3.0, I didnt mention about version in my code. How can i set firefox 14 as default firefox version. I tried setting $HOMEDIR/firefox/firefox in PATH and tried "which firefox" but it still show path of firefox3.0 |
You'd need to put "$HOMEDIR/firefox/firefox" at the start of your path (or at least, before /usr/bin)
Alternatively, you can just run firefox using the full path in your code (i.e. "$HOMEDIR/firefox/firefox", rather than just "firefox") Regards, |
Yes, I tried that way putting my firefox path first. But it didnt work.
export PATH=/$HOMDIR/firefox/firefox:$PATH |
venu147
FF14 ? you are aware that the very first time you launch ff14 it will auto update and auto install ff 18.0.1 |
Hi,
I need to stay on ff less than ff18 as there are some error regarding "xre". My problem is how to set my ff14 as default. Please share your suggestions if any. |
Quote:
Code:
export PATH=/$HOMEDIR/firefox:$PATH Regards, |
Quote:
if you did not turn off auto update it is 18.0.1 now in Firefox edit / preferences / advanced then the update tab , and turn it off but if you are already 18 ...... |
Hi Snark1994,
Thanks for the response. I tried your solution but it didnt work. |
Can you post the output of
Code:
echo $PATH Code:
whereis firefox Thanks, |
Quote:
exporting the $PATH variable to the ff in your HOME folder will work but you will need to do0 that EVERY time you want ff14 ( and turn off the auto update ) or the second time you launch ff14 it will be ff18.0.2 put the path to the ff14 ( insecure) in your ~/.bash_profile file and it is not "HOMEDIR" it is "HOME" PATH=$PATH:$HOME/bin the /bin folder in your HOME folder should be already listed place FF14 in there ~/bin/firefox ( "~/" IS "/home/YourUserName" ---- you need the full path--- Code:
PATH=$PATH:$HOME/bin:/home/YourUserName/bin/firefox add "/home/YourUserName/bin/firefox" to the path in ~/.bash_profile then add LD_LIBRARY_PATH to the firfox folder and export that in the "~/.bash_profile" and also add the "plugins" folder you MUST add by hand or use the very nice and handy "run-mozilla.sh" script to launch ff14 it is in the ff folder |
All times are GMT -5. The time now is 10:34 PM. |