LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 01-07-2010, 07:41 AM   #1
sd9
Member
 
Registered: Apr 2009
Posts: 53

Rep: Reputation: 15
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?

Last edited by sd9; 01-07-2010 at 07:46 AM.
 
Old 01-07-2010, 08:02 AM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
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?
 
Old 01-08-2010, 01:00 AM   #3
sd9
Member
 
Registered: Apr 2009
Posts: 53

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by pixellany View Post
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:.
 
Old 01-08-2010, 02:19 AM   #4
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid/RPIOS
Posts: 4,883
Blog Entries: 28

Rep: Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533
$ which firefox
/usr/bin/firefox

yum --enable remi update firefox should give you the latest firefox in the repos.
 
Old 01-08-2010, 02:38 AM   #5
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,623

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
Quote:
Am on Fedora 8.
fedora 8 is 4 versions OUT OF DATE .Please install fedora 12 !!!!
 
Old 01-08-2010, 02:46 AM   #6
sd9
Member
 
Registered: Apr 2009
Posts: 53

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by craigevil View Post
$ 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.

Last edited by sd9; 01-08-2010 at 02:50 AM.
 
Old 01-08-2010, 02:48 PM   #7
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,623

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
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 )
 
Old 01-09-2010, 07:54 AM   #8
phillywill
Member
 
Registered: Nov 2009
Location: Philadelphia, PA
Distribution: Ubuntu 13.10
Posts: 52

Rep: Reputation: 15
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.
 
Old 01-10-2010, 10:14 PM   #9
sd9
Member
 
Registered: Apr 2009
Posts: 53

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by phillywill View Post
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!!!

Last edited by sd9; 01-11-2010 at 06:48 AM.
 
Old 01-11-2010, 06:51 AM   #10
phillywill
Member
 
Registered: Nov 2009
Location: Philadelphia, PA
Distribution: Ubuntu 13.10
Posts: 52

Rep: Reputation: 15
I created and used a new profile by starting firefox from the Terminal (Console) using "firefox -profilemanager. Now FF works fine.
Will
 
Old 01-11-2010, 10:29 PM   #11
sd9
Member
 
Registered: Apr 2009
Posts: 53

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by phillywill View Post
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?
 
Old 01-11-2010, 11:31 PM   #12
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,623

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
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 .
 
Old 01-12-2010, 02:46 AM   #13
sd9
Member
 
Registered: Apr 2009
Posts: 53

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by John VV View Post
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
 
Old 01-12-2010, 04:43 AM   #14
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Quote:
Originally Posted by sd9 View Post
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.
 
Old 01-14-2010, 01:18 AM   #15
sd9
Member
 
Registered: Apr 2009
Posts: 53

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by evo2 View Post
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
opening an html file from command line ashlesha Linux - Newbie 6 10-01-2017 06:05 PM
[SOLVED] Wget times out until i ping the host or click on link to file in firefox 10110111 Linux - Networking 7 12-10-2008 07:49 AM
Single / double click opening in KDE3.5 LauMars Linux - Desktop 2 04-14-2008 03:00 PM
.html file not displaying in firefox soldan Linux - Newbie 3 08-09-2006 02:47 AM
firefox default browser, opening html pages in new window perfect_circle LinuxQuestions.org Member Success Stories 3 03-29-2005 10:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 04:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration