You are not logged in.

#1 2004-09-16 02:06:39

punkrockguy318
Member
From: New Jersey
Registered: 2004-02-15
Posts: 708
Website

thunderbird and html pages

when i click on a link in an email, how do I get thunderbird to open it in firefox?  It used to open in galeon, but I installed galeon...


If I have the gift of prophecy and can fathom all mysteries and all knowledge, and if I have a faith that can move mountains, but have not love, I am nothing.   1 Corinthians 13:2

Offline

#2 2004-09-16 09:46:39

zeppelin
Member
From: Athens, Greece
Registered: 2004-03-05
Posts: 807
Website

Re: thunderbird and html pages

if you're using gnome just set the correct MIME for http: html htm and so on.. to point to mozilla-firefox

then to quick test:

gnome-open http://www.google.com

and you should get firefox

Jesus Christ superstar

Offline

#3 2004-09-16 10:30:40

punkrockguy318
Member
From: New Jersey
Registered: 2004-02-15
Posts: 708
Website

Re: thunderbird and html pages

How do I do that?


If I have the gift of prophecy and can fathom all mysteries and all knowledge, and if I have a faith that can move mountains, but have not love, I am nothing.   1 Corinthians 13:2

Offline

#4 2004-09-16 12:58:07

zeppelin
Member
From: Athens, Greece
Registered: 2004-03-05
Posts: 807
Website

Re: thunderbird and html pages

http://www.gnome.org/learn/users-guide/2.6/ch10s14.html
also read teh whole user guide, to understand what GNOME really is..

{there is also a administration guide if you become expert}

"The Life Of Brian": http://www.mwscomp.com/movies/brian/brian.htm

Offline

#5 2004-09-16 19:09:05

punkrockguy318
Member
From: New Jersey
Registered: 2004-02-15
Posts: 708
Website

Re: thunderbird and html pages

alright, cool works great now!  here's one thing that should be different:

KDE and GNOME need a unified perferred application config.  What's the point of having two set perferred apps for both KDE and GNOME?


If I have the gift of prophecy and can fathom all mysteries and all knowledge, and if I have a faith that can move mountains, but have not love, I am nothing.   1 Corinthians 13:2

Offline

#6 2004-09-16 19:15:30

IceRAM
Member
From: Bucharest, Romania
Registered: 2004-03-04
Posts: 772
Website

Re: thunderbird and html pages

I already have unified menus (Gnome menu entries in the KDE menu), thanks to correctly set XDG variables...

They're still working on unified configs (they might already be here (supported), but I don't know exactly)... probably in the future...

Offline

#7 2004-09-16 19:30:34

punkrockguy318
Member
From: New Jersey
Registered: 2004-02-15
Posts: 708
Website

Re: thunderbird and html pages

IceRAM wrote:

I already have unified menus (Gnome menu entries in the KDE menu), thanks to correctly set XDG variables...

They're still working on unified configs (they might already be here (supported), but I don't know exactly)... probably in the future...

Oh really?  How did you do that?


Are they really working on that?  Good!   GNOME and KDE communications is essential


If I have the gift of prophecy and can fathom all mysteries and all knowledge, and if I have a faith that can move mountains, but have not love, I am nothing.   1 Corinthians 13:2

Offline

#8 2004-09-16 19:44:15

IceRAM
Member
From: Bucharest, Romania
Registered: 2004-03-04
Posts: 772
Website

Re: thunderbird and html pages

Well, I've recently noticed Evolution and Gaim in my KDE menu.
"Recently" means after managing to fix my KDE menu, because I broke it experimenting *.sh files (I didn't even upgrade xorg). I finally got to use the correct files and I also changed gnome.sh (because it had a really faulty line in it).

I've posted my gnome.sh somewhere around here. I hope the Gnome maintainer to have a look over it and use it (update/correct it).

And they ARE working on that. At least with menus. Each one of the DEs is somehow compliant with the freedesktop.org standards. Unfortunately, xorg didn't really help with this integration before.

Offline

#9 2004-09-16 21:48:47

zeppelin
Member
From: Athens, Greece
Registered: 2004-03-05
Posts: 807
Website

Re: thunderbird and html pages

Freedesktop exists to build a bridge between KDE and GNOME.
The first one doesn't seem to obey in any standards though.. [eg. KDE has it's own protocol for notification icons, and so on..]

Offline

#10 2004-10-03 02:49:01

paranoos
Member
From: thornhill.on.ca
Registered: 2004-07-22
Posts: 442

Re: thunderbird and html pages

I'm using firefox 1.0PR and thunderbird 0.8 (both from Testing)
I'm running waimea, with traces of gnome laying around (gnome-terminal, ggv, gpdf basically) ... i installed gconf-editor (since it's the only way i could figure out how to edit the url handlers)

fire up gconf-editor. open desktop/gnome/url-handlers
for http and https, change the command to "mozilla-firefox %s". enabled should be checked on, and needs_terminal checked off, of course.
for mailto, the command should be "mozilla-thunderbird %s". same settings.

before i did this, i was having the same problems you describe. after doing it today, it works fine. smile

Offline

#11 2004-10-03 09:59:02

zeppelin
Member
From: Athens, Greece
Registered: 2004-03-05
Posts: 807
Website

Re: thunderbird and html pages

latest fox and bird, have better GNOME integreation. that means that you can set them to be the default via THEM and not via gnome-system.

Offline

#12 2004-10-03 19:08:35

paranoos
Member
From: thornhill.on.ca
Registered: 2004-07-22
Posts: 442

Re: thunderbird and html pages

iamtheari wrote:

Surely there's a better solution than installing Gnome to get halfway to what works on Windows with the same two programs.

That's because Windows provides this integration, as does Gnome.

I found an extension that will help, unfortunately it makes you right click on a link, and select a menu item. I would prefer if it took over left-clicking. Anyway, here's its homepage. It works with Firefox, Mozilla, and Thunderbird.

Perhaps you can find an extension that takes over left-clicking on mailto links in firefox, and http/ftp links in thunderbird.

Offline

#13 2004-10-04 17:05:41

punkrockguy318
Member
From: New Jersey
Registered: 2004-02-15
Posts: 708
Website

Re: thunderbird and html pages

I'm working on a nice little script to set URL-Handlers without gconf-editor.. But for now you can do this:

/opt/gnome/bin/gconftool-2 -s /desktop/gnome/url-handlers/http/command "mozilla-firefox %s" -t string

/opt/gnome/bin/gconftool-2 -s /desktop/gnome/url-handlers/http/enabled -t bool true

I'll post the script once I'm done.


If I have the gift of prophecy and can fathom all mysteries and all knowledge, and if I have a faith that can move mountains, but have not love, I am nothing.   1 Corinthians 13:2

Offline

#14 2004-10-04 19:21:36

punkrockguy318
Member
From: New Jersey
Registered: 2004-02-15
Posts: 708
Website

Re: thunderbird and html pages

Hmm.. This is quite annoying.  My script isn't working for me... You guys can try it out and see if it works for you.. I think it's due to the fact that gconf doesn't give you a default tree, gconf-editor does.

#!/usr/bin/env python
# abbey.py - Sets Default URL handlers without gconf-editor
# note:  you must have gconftool-2 installed for this program to run
#
# Lukas Sabota <punkrockguy318@comcast.net
# October 4, 2004
# Version 0.1
import os
import sys

from optparse import OptionParser

def SetHandler(type="http"):
    
    print "Please enter the command you would like to handle " + type + " urls with (%s == url):" 
    command = raw_input()
    print "Does this command need a terminal? [y/N]"
    yn = raw_input()
    if yn == "Y" or yn == "y":
        yn = "true"
    else:
        yn = "false"
    print ("gconftool-2 -s /desktop/gnome/url-handlers/" + type + "/command " + "'" + command +"'"+  " -t string")
    os.system ("gconftool-2 -s /desktop/gnome/url-handlers/" + type + "/command " + "'" + command +"'"+  " -t string")
    print ("gconftool-2 -s /desktop/gnome/url-handlers/" + type + "/enabled -t bool true ")
    os.system ("gconftool-2 -s /desktop/gnome/url-handlers/" + type + "/enabled -t bool true ")
    print ("gconftool-2 -s /desktop/gnome/url-handlers/" + type + "/needs_terminal -t bool " + yn)
    os.system ("gconftool-2 -s /desktop/gnome/url-handlers/" + type + "/needs_terminal -t bool " + yn)
    print "Url_Handler Successfully Set."
    sys.exit(1)
    
usage="""abbey.py [URL_TYPE]
Where URL_TYPE is one of the following:
    aim
    callto
    ghelp
    h323
    http
    https
    info
    mailto
    man
    trash"""

parser = OptionParser(usage=usage)

(options,args) = parser.parse_args()

try:
    SetHandler(args[0])
except IndexError:
    print "You must supply an argument.  Use --help for details"
    sys.exit(1)

What Linux really needs.. is a widespread elektra adoption... elektra can work for any program... it's just a /bin/kdb... and the only dependency is libxml... there are frontends for it that require qt or gtk2, but you don't need the frontends to make it work... KDE is considering using elektra for their configuration, the elektra backend is being coded right now... but when kde uses elektra and GNOME uses gconf.. i hope GNOME pitches gconf and goes with kdb... elektra is so much better.. here's the site for more details:  http://elektra.sourceforge.net


If I have the gift of prophecy and can fathom all mysteries and all knowledge, and if I have a faith that can move mountains, but have not love, I am nothing.   1 Corinthians 13:2

Offline

Board footer

Powered by FluxBB