LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 05-18-2004, 09:34 PM   #16
johnp
Member
 
Registered: Apr 2004
Distribution: Fedora Code 19
Posts: 30

Rep: Reputation: 15

Quote:
Originally posted by carlwill
thanks melinda, can you explain what I am doing just for the education..Thanks

# mv /usr/bin/mozilla /usr/bin/mozillaold = ?
You are moving the file 'mozilla' to the same directory under the name 'mozillaold' Basically just renaming the file

Quote:

# ln -s /usr/local/firefox/firefox /usr/bin/mozilla = ?


You are creating a symbolic link which points at the location of firefox

For more information enter these in the command line (not what is in the parentheses):

man mv (the manual for mv)
man ln (the manual for ln)

To exit the manual you press q

Last edited by johnp; 05-18-2004 at 09:37 PM.
 
Old 05-20-2004, 02:34 PM   #17
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Original Poster
Rep: Reputation: 77
wow - I think I got it! Thank you all!!!
 
Old 05-23-2004, 07:47 AM   #18
jac
LQ Newbie
 
Registered: May 2004
Posts: 4

Rep: Reputation: 0
I used this thread to try an make firefox my default. I successfully moved the mozilla file in the first command but making the link to firefox did not work. I think this might be because the firefox folder on my machine is in /usr/lib/ . If this is the case how should my command line look in terminal?
 
Old 05-24-2004, 03:01 PM   #19
ptahlis
LQ Newbie
 
Registered: May 2004
Posts: 2

Rep: Reputation: 0
# ln -s /usr/lib/firefox/firefox /usr/bin/mozilla

Basically, you are saying:

ln -s - create a symbolic link

/usr/lib/firefox/firefox - this is the target file you are linking, from the root all the way down to the executable. Note that there is a directory named firefox, and the executable named firefox is located within it. If you leave off the second "firefox" it won't work.

/usr/bin/mozilla - this is the name of the link -- when something goes looking for /usr/bin/mozilla, the link tells it to look at /usr/lib/firefox/firefox instead.

Hope that helps.
 
Old 06-02-2004, 12:19 AM   #20
PoofyPants
LQ Newbie
 
Registered: Jun 2004
Posts: 1

Rep: Reputation: 0
mv = move = backup old mozilla script
ln -s = link and -s = symbolic link.

basically backs up old file and creates a link from mozilla to firefox so that evolutions thinks that it's opening mozilla but the os opens firefox
 
Old 06-04-2004, 07:27 AM   #21
jsmarshall85
Member
 
Registered: Aug 2003
Posts: 386

Rep: Reputation: 30
here is a related queston. how do you get thunderbird to open firefox when clicking a url link in an email? using kde.
 
Old 06-20-2004, 02:08 AM   #22
Kristijan
Member
 
Registered: Sep 2003
Location: Melbourne, Australia
Distribution: NetBSD 3.0.1, Slackware 10.1
Posts: 394

Rep: Reputation: 30
Just a question in relation to this topic.

I have made Firefox my default browser following the instructions above. The problem I now am facing is, if I have Firefox open, then click on an external link (from say X-Chat) I get the 'Select User Profile' box.

How can I make it so I opens up in a new tab in the currently open Firefox. I also have Tabbrowser Extentions install.

Kristijan
 
Old 06-20-2004, 04:48 AM   #23
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
To avoid the profile manager, change the firefox script in the firefox folder for this script http://bugzilla.mozilla.org/attachme...12&action=view attached to comment #91 in this bug http://bugzilla.mozilla.org/show_bug.cgi?id=177996#c91 Save this script to disk and rename it firefox. Make it executable. To make it open new tabs instead of new windows got to line 188 and change
Code:
_open_type="window"
#_open_type="tab"
so it reads
Code:
#_open_type="window"
_open_type="tab"
then swap it for the firefox script in the firefox folder.

Last edited by Andrew Benton; 06-20-2004 at 04:50 AM.
 
Old 06-20-2004, 05:24 PM   #24
jsmarshall85
Member
 
Registered: Aug 2003
Posts: 386

Rep: Reputation: 30
i found this link at mozilla.org. it explains how to write srcipt files that will allow firefox and thunderbird to work together flawlessly. very easy to do and understand

http://forums.mozillazine.org/viewto...=592801#592801
 
Old 07-26-2004, 09:10 PM   #25
davidbalt
Member
 
Registered: Feb 2004
Distribution: Gentoo -- always from stage1
Posts: 85

Rep: Reputation: 15
Yeah, alright. Except the script posted to open the incoming url in a new tab doesn't work. Firefox returns an error when you run command:

firefox -remote "openurl(website)"
> no running window found

Any idea why firefox can't see itself?
 
Old 07-27-2004, 12:51 PM   #26
jsmarshall85
Member
 
Registered: Aug 2003
Posts: 386

Rep: Reputation: 30
did you make sure to change te scripts to reflect the paths you have to firefox? read the whole thread i posted cause one of the first scripts the guy wrote did something funky and he wrote it over again
 
Old 10-15-2004, 02:08 AM   #27
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
Quote:
Originally posted by Andrew Benton
To avoid the profile manager, change the firefox script in the firefox folder for this script http://bugzilla.mozilla.org/attachme...12&action=view attached to comment #91 in this bug http://bugzilla.mozilla.org/show_bug.cgi?id=177996#c91 Save this script to disk and rename it firefox. Make it executable. To make it open new tabs instead of new windows got to line 188 and change
Code:
_open_type="window"
#_open_type="tab"
so it reads
Code:
#_open_type="window"
_open_type="tab"
then swap it for the firefox script in the firefox folder.
Since this is quite old, I hope you get a notice of the post.

I did what you said in Post #2 to change my default browser.
Only thing different is I also did it for Epiphany, which is what
Thunderbird would open on my system. After that change, if
I clicked a link within a Thunderbird email message, it would
open Firefox but give me the "default profile" message that
the other person mentioned. So I downloaded this script, and
changed line 188 as mentioned, made it executable by issuing
chmod a+x firefox and replaced the old script.

Now, however, when I click on a link in Thunderbird, with Firefox
open of course, nothing happens at all. Can you help?
 
Old 10-15-2004, 10:39 AM   #28
jsmarshall85
Member
 
Registered: Aug 2003
Posts: 386

Rep: Reputation: 30
if you want to use firefox and thunderbird then follow the tips that Beastux writes in this thread

http://forums.mozillazine.org/viewto...age=15&start=0

i am not sure if they work with the most recent build of FF/TB but i would assume they do. these scripts will open firefox when clicking a link in an email in thunderbird (or on a new tab if firefox is already open) and it will create a new mail message in thunderbird when clicking a mailto link on a webpage in firefox. the scripts work really well as long as you edit them correctly (paths to firefox and thunderbird and stuff like that)

good luck
 
Old 10-15-2004, 07:54 PM   #29
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
Quote:
Originally posted by jsmarshall85
if you want to use firefox and thunderbird then follow the tips that Beastux writes in this thread

http://forums.mozillazine.org/viewto...age=15&start=0

i am not sure if they work with the most recent build of FF/TB but i would assume they do. these scripts will open firefox when clicking a link in an email in thunderbird (or on a new tab if firefox is already open) and it will create a new mail message in thunderbird when clicking a mailto link on a webpage in firefox. the scripts work really well as long as you edit them correctly (paths to firefox and thunderbird and stuff like that)

good luck
I did it. The instructions, however, are distro specific. Changing
where I thought was correct, it now opens Firefox if it's not open,
and a new tab if it is open. However, it opens the page (your link
from the LQ email notice, for instance) as file:///tmp/showthread.php
so that you can't paste into the thread.

I think I've got a bunch of convoluted files now. I'm using Firefox-0.9.3
and Thunderbird-version 0.8 (20040913), Slackware 10.0 and
KDE 3.2.3

Last edited by Bruce Hill; 10-15-2004 at 07:55 PM.
 
Old 10-19-2004, 03:11 PM   #30
jsmarshall85
Member
 
Registered: Aug 2003
Posts: 386

Rep: Reputation: 30
nah, those instructions arent distro specific. all you need to do is edit the scripts so they point to where you installed thunderbird and firefox.

i had that issue before too, where it shows the page as being opened from a temp local location and if you did something like hit the back button it wouldnt work. the scripts worked for me.
 
  


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
Firefox as a Default browser tulip4heaven Linux - General 2 04-23-2005 06:08 AM
firefox default browser charnel Linux - Newbie 4 03-16-2005 06:12 PM
FireFox as default browser lcdial Linux - Software 19 09-12-2004 11:43 PM
Default browser as Firefox? subaruwrx Slackware 1 06-18-2004 04:40 AM
Firefox default browser ? Warmaster Mandriva 1 05-04-2004 12:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 04:25 PM.

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