Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
linking firebird and thunderbird
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
dbooster
n00b
n00b


Joined: 24 Sep 2003
Posts: 26

PostPosted: Thu Nov 06, 2003 2:02 pm    Post subject: linking firebird and thunderbird Reply with quote

I use both Mozilla Firebird and Thunderbird - both excellent programs. But I notice that when I click on links in thunderbird it won't open the web pages in firebird. I'll have to manuelly copy and paste the links. Same thing for Gaim, tho that's not as big of a concern.

How can I set it so when I click on a link in one of my mails, it will automatically open firebird and go to that site?

Thanks!
-dave
Back to top
View user's profile Send private message
Leander256
l33t
l33t


Joined: 05 Jul 2003
Posts: 910
Location: Singapour

PostPosted: Thu Nov 06, 2003 3:02 pm    Post subject: Re: linking firebird and thunderbird Reply with quote

You can read here that:
Quote:
Linux: Integration with the operating system is not currently implemented. Clicking on HTTP URLs in mail messages fails to launch your default Linux browser. We hope to address this in the next release. We recognize how important this is for our Linux users and apologize in advance.


For gaim, you must look in the preferences, and the browser tab, put that line:
Code:
Mozilla-Firebird %s

It should now launch a new session of Firebird everytime you click on a link (that's how my setup looks like at least, i'm not sure i already had the chance to try it).
Back to top
View user's profile Send private message
ikshaar
Veteran
Veteran


Joined: 23 Jul 2002
Posts: 1339
Location: Baltimore, MD

PostPosted: Thu Nov 06, 2003 3:04 pm    Post subject: Reply with quote

It is a know problem that they tried to fix.. something to do with the MIME settings. I did not find any solution meanwhile, except the copy and paste. Let's hope for Thunderbird 0.4 :roll:
_________________
"May God stands between you and harm in all the empty places where you must walk" - Babylon 5
Back to top
View user's profile Send private message
mrhodes
Guru
Guru


Joined: 01 May 2002
Posts: 310
Location: Halifax, NS

PostPosted: Wed Jun 16, 2004 1:57 am    Post subject: Reply with quote

Damn,
I was just doing some research on this problem because it's something that has bothering me too with version 0.6 I'm surprised they haven't fixed this yet! Is there any way it can be tweaked for now manually ?

Thanks for any advice :)
_________________
Michael Rhodes
Tiger Studios Entertainment
http://www.tigerstudios.net
Back to top
View user's profile Send private message
ikshaar
Veteran
Veteran


Joined: 23 Jul 2002
Posts: 1339
Location: Baltimore, MD

PostPosted: Wed Jun 16, 2004 2:03 pm    Post subject: Reply with quote

Well in fact, using now Firefox 0.8 and Thunderbird 0.5, the problem was solved (for few months now) and my links in email open a new Firefox window correcylt...

Are you using latest version ?
_________________
"May God stands between you and harm in all the empty places where you must walk" - Babylon 5
Back to top
View user's profile Send private message
mengle
n00b
n00b


Joined: 23 Nov 2003
Posts: 64

PostPosted: Wed Jun 16, 2004 4:15 pm    Post subject: Reply with quote

mrhodes wrote:
Damn,
I was just doing some research on this problem because it's something that has bothering me too with version 0.6 I'm surprised they haven't fixed this yet! Is there any way it can be tweaked for now manually ?

Thanks for any advice :)


Yes, it can be done although you have to make changes to both programs. I don't have links but I found the results from just doing a search in these forums. Good luck.
Back to top
View user's profile Send private message
LLoydBates
n00b
n00b


Joined: 03 Dec 2003
Posts: 66
Location: ~(x_X~) c=(~.~c)

PostPosted: Wed Jun 16, 2004 7:28 pm    Post subject: Reply with quote

I'm using Firefox 0.9 and Thunderbird 0.6-r1
When clicking on a http link in thunderbird it gives me a nice allert.
if the link is pointing to a php it asks me what to do with it, as in "open with"

any idea?

errormsg is:
"Error launching browser window:TypeError:
Components.classes['@mozilla.org/appshell/component/browser/instance;1'] has no properties"
_________________
World of WarCraft LinuxPetition http://www.blizzpub.net/petition/
Back to top
View user's profile Send private message
firephoto
Veteran
Veteran


Joined: 29 Oct 2003
Posts: 1612
Location: +48° 5' 23.40", -119° 48' 30.00"

PostPosted: Wed Jun 16, 2004 8:18 pm    Post subject: Reply with quote

In your thunderbird profile directory create a file called user.js The file isn't there by default. Your profile is under ~/.thunderbird/default/********.slt/

If you're using the mozilla-launcher then you should just have to call either "firefox" or "firefox-bin" so your file should look similar to this.

Code:
user_pref("network.protocol-handler.app.http", "/usr/bin/firefox-bin");
user_pref("network.protocol-handler.app.https", "/usr/bin/firefox-bin");


*edit
I should say that I wasn't using mozilla-launcher but I am trying to use what is the default of a gentoo emerge now just to see the good and the bad. mozilla-launcher is a little slow but I guess it will have to be the "gentoo standard" till some new mozilla startup scripts get released in future builds and then they applications can be called directly instead of with an extra script.
edit*


Last edited by firephoto on Wed Jun 16, 2004 8:29 pm; edited 1 time in total
Back to top
View user's profile Send private message
LLoydBates
n00b
n00b


Joined: 03 Dec 2003
Posts: 66
Location: ~(x_X~) c=(~.~c)

PostPosted: Wed Jun 16, 2004 8:25 pm    Post subject: Reply with quote

yes! that worked, thank you.
however it does open every link in an extra firefox windows, is there no way to tell the firefox to open a new tab?
_________________
World of WarCraft LinuxPetition http://www.blizzpub.net/petition/
Back to top
View user's profile Send private message
firephoto
Veteran
Veteran


Joined: 29 Oct 2003
Posts: 1612
Location: +48° 5' 23.40", -119° 48' 30.00"

PostPosted: Wed Jun 16, 2004 8:34 pm    Post subject: Reply with quote

You have to edit mozilla-launcher.

nano -w /usr/libexec/mozilla-launcher

Change where it says "{MOZILLA_NEWTYPE:-"window"}" to the following.

Code:

# Set MOZILLA_NEWTYPE to "window" in your environment if you prefer
# new windows instead of new tabs
newtype=${MOZILLA_NEWTYPE:-"tab"}
Back to top
View user's profile Send private message
LLoydBates
n00b
n00b


Joined: 03 Dec 2003
Posts: 66
Location: ~(x_X~) c=(~.~c)

PostPosted: Wed Jun 16, 2004 8:44 pm    Post subject: Reply with quote

and thanks again.
i did run a search on "firefox thunderbird" and found some posts.
one with a script that would check if firefox was already started, but it didn't work.
your tip works very well :)

If this isn't in the "Documents, Tips & Triks" (i haven't found it there) this should be corrected asap :roll:
_________________
World of WarCraft LinuxPetition http://www.blizzpub.net/petition/
Back to top
View user's profile Send private message
MikePikeFL
Tux's lil' helper
Tux's lil' helper


Joined: 19 Aug 2003
Posts: 78

PostPosted: Mon Jun 28, 2004 11:10 pm    Post subject: Reply with quote

AWESOME!!! This has been a fairly major annoyance to me, but I never really thought to check out if I could change it! Now I just need to find similar options in Windows to make it behave the same way! The next time I'm in Windows that is... whenever that may be... :D
Back to top
View user's profile Send private message
kiss-o-matic
Guru
Guru


Joined: 19 Jul 2004
Posts: 423
Location: Tokyo

PostPosted: Fri Aug 06, 2004 4:45 am    Post subject: Reply with quote

If it's helpful, I got mine to work from the solution in this thread:
http://forums.mozillazine.org/viewtopic.php?t=39233
Back to top
View user's profile Send private message
eduardo451
Apprentice
Apprentice


Joined: 29 Apr 2005
Posts: 173
Location: Indianapolis, IN

PostPosted: Fri Jun 03, 2005 6:51 pm    Post subject: Reply with quote

Great link! I'm having trouble getting firefox to open links from e-mails in new tabs, or new windows as described above. It simply overwites whatever is in the existing firefox window/tab. There is no "newtype=${MOZILLA_NEWTYPE:-"window"} line in my /usr/libexec/mozilla-launcer file. I have tried adding this line to my file without success. The only existing occurrence of "MOZILLA_NEWTYPE" in my file is as follows:

Code:

# Handle multiple URLs by looping over the xremote call
  for u in "${urls[@]}"; do
    if [[ $u == mailto:* ]]; then
      try_running "mailto(${u#mailto:})" || retval=$?
    else
      if [[ -n $MOZILLA_NEWTYPE ]]; then
        try_running "openURL($u,new-$MOZILLA_NEWTYPE)" || retval=$?
      elif [[ $zero == firefox* && -n $u ]]; then
        # Don't override preferences set in the browser #82653
        try_running "openURL($u)" || retval=$?
      elif [[ -n $u ]]; then
        try_running "openURL($u,new-window)" || retval=$?
      else
        try_running "xfeDoCommand(openBrowser)" || retval=$?
      fi
    fi
  done


Any suggestions? Thanks in advance.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum