LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-12-2004, 10:37 AM   #16
dickohead
Member
 
Registered: Feb 2003
Location: Melbourne, VIC, Australia
Distribution: Ubuntu 6.06
Posts: 101

Rep: Reputation: 15

try opening a new tab/window, then clicking the link.

*EDIT*

I have fixed my problem -
chmod +x load_links.sh

that gets me every time!
:P:P:P:P:P

*END EDIT*

*ORIGINAL MESSAGE FOR REFERENCE*


I am having similar problems to all of you, except that thunderbird was opening links in epiphany(galeon), kopete opened them in mozilla, now in firefox, but it loads the address to /home/me/tmp first then loads the webpage into firefox, and when i added the line to pref.js it now opens nowhere.... but all the locations of filenames are correct!! This is my script:


#!/bin/sh

export FIREFOX_HOME="/usr/share/firefox"

url="$1"
if [ "x$url" = "x" ]; then
url="about:blank"
fi

if $FIREFOX_HOME/mozilla-xremote-client openURL\("$url"\); then
exit 0
fi
exec $FIREFOX_HOME/firefox "$url"


and this is what i added to prefs.js:


user_pref("network.protocol-handler.app.ftp", "/usr/share/thunderbird/load_links.sh");
user_pref("network.protocol-handler.app.http", "/usr/share/thunderbird/load_links.sh");
user_pref("network.protocol-handler.app.https", "/usr/share/thunderbird/load_links.sh");


anyone got any ideas why it won't work?

Last edited by dickohead; 06-12-2004 at 10:45 AM.
 
Old 06-12-2004, 11:47 AM   #17
crazyeddie740
Member
 
Registered: May 2004
Location: Sedalia, MO
Distribution: Debian, Mandrake
Posts: 71

Rep: Reputation: 15
I'm one of the contributors over at the LQ's wiki. This seems like a common problem. However, I can't seem to follow along with what y'all are doing. (I'm probably just wearing my stupid hat.) When you figure out what the problem is, could someone sum it all up? I'll go ahead and put it in the wiki. (Or if one of you is a contributor, you can do it also.) Also, it might help wiki-wise if you explicitly put the sum-up post in the public domain, or at least license it under the Creative Commons Attribution-Share Alike license.
 
Old 06-12-2004, 10:20 PM   #18
dickohead
Member
 
Registered: Feb 2003
Location: Melbourne, VIC, Australia
Distribution: Ubuntu 6.06
Posts: 101

Rep: Reputation: 15
the soultion to the problem was located on another website, the address is:

http://www.mozilla.org/projects/thun...linuxurls.html

Basically what you're doing is:

Making a shell script that opens links from thunderbird, into firefox, as there is no method of setting a default browser for all linux apps, nor is there a way to set the default browser from thunderbird. You then add a line (or more) to the prefs.js file ($home/.thunderbird/xxxxx/default/prefs.js) that tells thunderbird to target any HTTP (HTTPS, FTP) link to the shell script, which in turn sends them to firefox.

Is that the kind of answer you wanted? Or did you want the exact method explained on the link above?

Last edited by dickohead; 06-12-2004 at 10:21 PM.
 
Old 06-14-2004, 01:10 PM   #19
crazyeddie740
Member
 
Registered: May 2004
Location: Sedalia, MO
Distribution: Debian, Mandrake
Posts: 71

Rep: Reputation: 15
Think that'll work, provided I can work out the copyright angle.
 
Old 09-12-2004, 11:43 PM   #20
distortedstar
Member
 
Registered: Jan 2004
Location: West Texas
Distribution: Ubuntu 7.04/MythDora 4/PuppyLinux
Posts: 78

Rep: Reputation: 15
any way I can modify this to have it open a new tab?

Thanks,
Nathan
 
  


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
Can't make Firefox my default browser fryem720 Mandriva 2 08-27-2004 07:12 AM
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 - Software

All times are GMT -5. The time now is 04:08 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