LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   Firefox not opening when I click on an html file (https://www.linuxquestions.org/questions/linux-desktop-74/firefox-not-opening-when-i-click-on-an-html-file-780525/)

sd9 01-07-2010 07:41 AM

Firefox not opening when I click on an html file
 
It used to work earlier.
Now it does not work even if I type "firefox" in the terminal.

This is happening ever since I've downloaded the latest version of Firefox and placed it in "/usr/lib/firefox-3.5.7".
I've also right-clicked on an html file, gone to 'properties>Open With' and selected 'Firefox web browser'.

No use.

Could someone please help? Is the problem happening because of the firefox folder name?

pixellany 01-07-2010 08:02 AM

Normally, you should use the package manager to install things (but it may not give you the most recent version).

On my system, there is a link in /usr/bin that points to the firefox executable in /usr/lib. Take a look at your PATH variable---maybe /usr/lib is not there.

What distro are you using?

sd9 01-08-2010 01:00 AM

Quote:

Originally Posted by pixellany (Post 3817503)
Normally, you should use the package manager to install things (but it may not give you the most recent version).

On my system, there is a link in /usr/bin that points to the firefox executable in /usr/lib. Take a look at your PATH variable---maybe /usr/lib is not there.

What distro are you using?

Am on Fedora 8.
The $PATH variable is:
/usr/lib/qt-3.3/bin:/usr/kerberos/bin:/usr/lib/ccache:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:.:/home/username/bin:.

craigevil 01-08-2010 02:19 AM

$ which firefox
/usr/bin/firefox

yum --enable remi update firefox should give you the latest firefox in the repos.

John VV 01-08-2010 02:38 AM

Quote:

Am on Fedora 8.
fedora 8 is 4 versions OUT OF DATE .Please install fedora 12 !!!!

sd9 01-08-2010 02:46 AM

Quote:

Originally Posted by craigevil (Post 3818496)
$ which firefox
/usr/bin/firefox

yum --enable remi update firefox should give you the latest firefox in the repos.

Code:

bash > $which firefox
Error: /usr/lib/firefox-2.0.0.8/firefox-bin not found
bash > yum --enable remi update firefox


Error getting repository data for remi, repository not found

That's what I tried and the errors I got. If the error is with this path "/usr/lib/firefox-2.0.0.8/" then I just need to know where that path is stored so that I can change it.

Quote:

Originally Posted by JohnVV
fedora 8 is 4 versions OUT OF DATE .Please install fedora 12 !!!!

:) I would have, if I could get the CD from somewhere. Would have been more helpful if you could help out with the firefox problem.

John VV 01-08-2010 02:48 PM

seeing as fedora 8 is 4 versions out of date .The repos have been moved to the historical archives
you will need to point yum to them
but they have not been updated it 2 years

see this fedoraforum help page
" Repository configuration for older Fedora releases. "
http://forums.fedoraforum.org/showthread.php?t=221471

but in my opinion you might as well UNINSTALL yum and rpm because they will NEVER be able to install NEW programs .

install the fedora 12 live cd or "net install cd

both are small downloads
and the net install is very small ( but the whole OS is downloaded during install )

phillywill 01-09-2010 07:54 AM

I have the same problem. I'm using Ubuntu 9.1.0 - Firefox was working fine yesterday. Today it won't load.
I get the usual start-up message "Starting Firefox Web Browser" and then... nothing.

sd9 01-10-2010 10:14 PM

Quote:

Originally Posted by phillywill (Post 3820081)
I have the same problem. I'm using Ubuntu 9.1.0 - Firefox was working fine yesterday. Today it won't load.
I get the usual start-up message "Starting Firefox Web Browser" and then... nothing.

Erm...yours is a different problem. For me, Firefox starts fine when I click on the icon.
But if I click on an html file or type 'firefox' in a terminal, it doesn't open.

Can someone help me please!!!

phillywill 01-11-2010 06:51 AM

I created and used a new profile by starting firefox from the Terminal (Console) using "firefox -profilemanager. Now FF works fine.
Will

sd9 01-11-2010 10:29 PM

Quote:

Originally Posted by phillywill (Post 3822309)
I created and used a new profile by starting firefox from the Terminal (Console) using "firefox -profilemanager. Now FF works fine.
Will

Great! Even I've solved my problem. Apparently, when you type "firefox" in the terminal, the system looks for the path of firefox in some file. I would like to know which file that is.

Anyway, since the earlier version of firefox was 2.0.0 something, I just renamed my current firefox folder from 3.5.something to 2.0.0.something. Now whenever I type "firefox" in the terminal, firefox opens fine.

Does anyone know where that default path is stored? The path the system searches for when you type "firefox" in the terminal?

John VV 01-11-2010 11:31 PM

i am very surprised that the new firefox works in the 2 year out of date fedora 8
fedora 8 has had NO security updates in that time ,so it is very insecure .

sd9 01-12-2010 02:46 AM

Quote:

Originally Posted by John VV (Post 3823286)
i am very surprised that the new firefox works in the 2 year out of date fedora 8
fedora 8 has had NO security updates in that time ,so it is very insecure .

Surprised at Fedora 8? I know people who are forced to use Fedora 6 even today :)

Could anybody answer the original question pleeez :(

evo2 01-12-2010 04:43 AM

Quote:

Originally Posted by sd9 (Post 3823240)
Does anyone know where that default path is stored? The path the system searches for when you type "firefox" in the terminal?

In the PATH environment variable. This can be set in various places, for example: /etc/profile, ~/.bashrc, ~/.profile and so on.

The output of the following commands may help you understand what is happening:
Code:

echo $PATH
which firefox

Evo2.

sd9 01-14-2010 01:18 AM

Quote:

Originally Posted by evo2 (Post 3823508)
In the PATH environment variable. This can be set in various places, for example: /etc/profile, ~/.bashrc, ~/.profile and so on.

The output of the following commands may help you understand what is happening:
Code:

echo $PATH
which firefox

Evo2.

Thanks, but when I type "firefox" in the terminal, the system appears to be looking for the firefox folder here /usr/include/firefox-2.0.0.8/
There's also a folder with a similar name here /usr/share/idl/firefox-2.0.0.8

The path variable does not contain both those folder paths, but still the system finds them. I think that path is stored somewhere else.

'which firefox' returns /usr/bin/firefox


All times are GMT -5. The time now is 03:58 AM.