Setting Mozilla as Default Browser
I've searched all over these forums and on the mozilla web page and I can't seem to find an easy answer. What I want is for Mozilla to open when I execute the command htmlview %u. That works if I use the RPM-build of Mozilla packaged with RedHat 8.0 (i.e. Mozilla-1.0.1); however, I uninstalled that version (i.e. rpm -e ) and installed Mozilla-1.2.1. Now, when I execute the command htmlview %u, the browser that appears is lynx.
Since Ximian Evolution also uses this command when you click on URLs within eMail messages, I'd like to figure out how to point that command to the correct location. Thanks. |
If you're using kde: klipper > preferences > actions
|
I'm running GNOME 2.0.2 on RedHat 8.0
I have found in preferences where you can set the default browser, but that doesn't appear to do a thing. |
Here is info from the Mozilla FAQ: (http://www.mozilla.org/start/1.0/faq/browser.html#2.2):
GNOME (Unix/Linux): Open the Control Panel. Go to Document Handlers | URL Handlers | Default: gnome-moz-remote --newwin "%s" .Then put the following text in ~/.gnome/gnome-moz-remote (create the file if it does not exist): [Mozilla] filename=absolute path of Mozilla install directory/mozilla It worked for me. |
Quote:
I'm running Redhat 8.0 |
Re: Setting Mozilla as Default Browser
An easy solution is create /etc/htmlview.conf and put X11BROWSER=mozilla command line in that file.
Alternatively create ~/.htmlviewrc and put X11BROWSER=mozilla commandline in that file if you don't have root access. Don't know if this is the only solution. Works for me. Hope it helps. Anand Quote:
|
Got it sorted...
Evolution looks at the Gnome default browser even if, like me, you are using KDE.
If you edit the file: /home/[your home dir]/.gnome/Gnome and change the line that says "default-show=" to include the full path to the new location everything should work correctly. Don't forget to add the "%s" so Mozilla receives the URL. My file looks like this: [URL Handlers] default-show=/usr/local/mozilla/mozilla "%s" info-show=nautilus "%s" man-show=nautilus "%s" ghelp-show=nautilus "%s" Yaay! :rolleyes: Turtle |
What gnome config file in RH 8 contains the URL Handlers command? I cannot find it. I see gnome config files in my home directory but can't find the one to set the default browser.
I am having the same problem as witch. And by great surprise the origianl mozilla installed with RH 8 is gone. I installed mozilla 1.3 in usr/local/mozilla and just didnt use the old install. But forgot that clicking on links in other apps referred to a default browser. Now the original disappeared, strange. Mozilla may be set to update itself, but when the next distro comes with a new version of mozilla I am afraid that wont install properly cause it cant find the old one. |
See the "got it sorted..." e-mail above. That is the url handlers config file for gnome...
Later, Turtle |
Well your post is what made me look for it in the first place :) None of the files contain that text, in .gnome or .gnome2. Maybe its different because youre using kde and I am using gnome. I think mozilla 1.3 may have done something too and installs differently then 1.2.
|
> None of the files contain that text, in .gnome or .gnome2.
Hmmm... That's odd. I don't think it's because I'm using KDE though... Have you tried adding the lines and seeing what happens? Later, Turtle |
multi windows with htmlview
Ok I upgraded everything correctly and got htmlview %u to open mozilla but noe everytime I have a mozilla browser open and I use htmlview %u to open another it opens the profile manager and says to pick a profile but when I pick mine (the only profile) it says that it is in use and I have to create a new one.
Is there a way to make it so that it always uses mine? and does not ask for a profile? Thanks for any help in advanced. Zeke_cl |
> noe everytime I have a mozilla browser open and I use
> htmlview %u to open another it opens the profile manager > and says to pick a profile but when I pick mine (the only profile) I had this problem too. When you run mozilla it creates a 'lock' file so no more than 1 user can access that profile. Thankfully it's relatively easy to shut that off! http://mozdev.org/pipermail/project_...ry/002290.html I've been using this method for a while now and have never had a problem. Or an annoying 'profile' window. :D Turtle |
ok I put that little script into run-mozilla.sh but now when I have a browser open and I try htmlview %u it does nothing??? no new browser pops up???
|
sorry should of put this with last posting ...
here is an error I get session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed kdeinit: Fatal IO error: client killed kdeinit: sending SIGHUP to children. Mutex destroy failure: Device or resource busy kdeinit: sending SIGTERM to children. kdeinit: Exit. ... I am running Gnome not KDE does that matter??? |
All times are GMT -5. The time now is 08:47 AM. |