Re: Firefox/Thunderbird integration in FC3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Orion Poplawski wrote:

I'm testing out the standard firefox and thunderbird packages in Fedora Core 3. Clicking on mailto: links in firefox and http: url's in thunderbird does nothing on my system. Reading past post I was led to believe that this was configured automatically. I'm running KDE.

Is there any other package that needs to be installed for this to work or other configuration to be done?

Thanks!

  Orion

Orion,
Mozilla hasn't fixed the links to Thunderbird/Firefox yet (AFAIK) I use these scripts and pref.js to do it,
Place this 'openlink.sh' in /usr/lib/thunderbird*


#!/bin/sh

export MOZILLA_FIVE_HOME="/usr/lib/firefox*"

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

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

#
# Add to ~thunderbird pref.js
#

# user_pref("network.protocol-handler.app.ftp", "/usr/lib/thunderbird-0.8.0/openlink.sh");

# Change .app.ftp to http,https on new lines for access

Place this as shown

#!/bin/sh
#
# Mailto.sh see notes below
#

url="$1"

export MOZILLA_FIVE_HOME=/usr/lib/thunderbird*

if [ $(pidof thunderbird-bin | wc -w) -gt 0 ]; then

# thunderbird is running
url=`echo "$url" | sed -e's/^mailto://'`
$MOZILLA_FIVE_HOME/thunderbird -remote "mailto($url)"
else

# thunderbird is not running
$MOZILLA_FIVE_HOME/thunderbird -P default -compose $url
fi

# Place mailto.sh in /usr/lib/firefox*/
#
# Place in user.js/pref.js in .mozilla/firefox
#
# user_pref("network.protocol-handler.app.mailto", "/usr/lib/firefox/mailto.sh");


note  *  change as required

  david



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux