You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Thursday, March 8th 2007, 1:24am

Firefox Extention Will Not Work in KDE

I have found that the Firefox Get Mail extension will not open a mail client for the reading of mail in KDE. It works reliably with GNOME in KDE if, and only if, GNOME is also present in the same Linux distribution. Does anyone know what GNOME support files are required for the operation of the Get Mail extension in Linux, or how I can otherwise configure it to work in KDE?

Thank you in advance.

2

Thursday, March 8th 2007, 9:00pm

you mean that you want to get kmail opened when you click on a mailto: hyperlink?
Help mee om KDE 3.5.5 in het Nederlands te vertalen

3

Thursday, March 8th 2007, 9:13pm

Opening an e-mail client when clicking on a mailto link is not the problem.

There is a small add-on extension for Firefox called Get Mail. It places a "Get Mail" icon on the toolbar. Clicking on that icon presents two choices: Read Mail and New Message. Clicking on "Read Mail" should start the default mail client (I use Thunderbird). It works in GNOME. It does not work in KDE unless the user also has GNOME present as part of his installed distribution. I wish to know how to fix that.

4

Friday, May 18th 2007, 1:48am

I am using firefox 2.0.0.3 and thunderbird 2.0.0.0 with freespire 1.0.13

I messed about with this extension and the new version that allows you to put in the path to your email program.

I unpacked it and found this file: getmailOverlay.xul in it you can see where the default path to thunderbird is set... and the part that launches the client:

var getmail = {
pref: Components.classes['@mozilla.org/preferences-service;1'].getService(Components.interfaces.nsIPrefService),
defaultpath: "C:\\Program Files\\Mozilla Thunderbird\\thunderbird.exe",
getCharPref: function(prefname, value) {
try{
value=this.pref.getCharPref(prefname);
}
catch(e){
this.pref.setCharPref(prefname, value);
}
return value;
},
launch: function () {
var targetFile=Components.classes['@mozilla.org/file/local;1'].createInstance(Components.interfaces.nsILocalFile);
targetFile.initWithPath(this.getCharPref("getmail.path", this.defaultpath));
targetFile.launch();
}
}

I tried to change the default path to the path to where I have thunderbird installed but that didn't make it work... I don't think it recognises the script "thunderbird" as executable... it /is/ for windows only according to the author (who refuses to support any other OS) so it may be looking for a .exe file. I don't know whatelse to try.

Does anyone have any suggestions?

5

Thursday, May 24th 2007, 3:25pm

Ok, here's what I did to make it work... First of all, do NOT use Get Mail Plus Version 3.0. Use Get Mail Version 2.5.4. Make sure that Thunderbird is set as the default email client both in the program and in KDE.

Next make sure your mailto links work by checking about:config.

(1.) Open Firefox, type "about:config" (no quotes) in the address window, and click enter.
(2.) Right click on the window and choose <New>, then <String> from the pop-up menu that appears.
(3.) In the first pop-up box, enter: "network.protocol-handler.app.mailto" (no quotes, and it might just be easier to cut 'n paste this into the box).
(4.) In the next pop-up box enter the path to Thunderbird, or another email client (e.g. "/usr/bin/mozilla-thunderbird").

That should do it. If not:
(1.) Verify that your path to the email application is correct (e.g. "whereis mozilla-thunderbird" from a console window)
(2.) In about:config verify that "network.protocol-handler.external.mailto" is set as Boolean / True (that's the default AFAIK, so this shouldn't be set to False unless you've changed it).

From what i have deduced, Firefox and Thunderbird are obviously meant to be used together, but an annoying detail is that under Linux they are still not setup that way.

Hope this helps.

6

Friday, May 25th 2007, 9:12pm

Afraid it did not work. I have Get Mail 2.5.4, Firefox 2.0.0.3, and Thunderbird 2.0.0.0.
Unfortunate that this is not working in Linux. Ironically, when I've had GNOME installed along with KDE, it worked!