James Richard Tyrer writes: > Chris Colohan wrote: > > David Corbin writes: > > > On Monday 10 November 2003 04:49, Kevin Krammer wrote: > > > > On Sunday 09 November 2003 04:17, sol&diederic wrote: > > > > > Hi list members, > > > > > I'm using: ML-9.1, KDE3.1.3; > > > > > I changed from Konqueror to MozillaFirebird as browser. That's fine, > > > > > not problems. However, if I click on a url in an email than Konquorer > > > > > is used and not MozillaFirebird. > > > > > > > > > > Is there any way to change this behaviour? > > > > > > > > Control Center->KDE Components-> File Associations > > > > Change the program that for text/html > > > > Check you have %u in the parameter list of the program command, otherwise > > > > the URL will be downloaded to a local file first and then given to the > > > > application. > > > > > > I have %u in mine, but Konquer still tries to download it first. > > > > Me too. In particular, when I click on a URL in kzephyr (a chat > > client I wrote, which uses the same call as KMail for opening URLs) > > then KDE opens a konqueror window, which remains empty and just sits > > there, since konqueror calls mozilla to render the HTML. > > > > Is there a way of avoiding having this empty window pop up on my > > screen? I don't care if konqueror is invoked, but does it have to > > open an empty window on my screen before it calls mozilla? Or is > > there a way of avoiding this? > > Exactly how do you have KDE configured for the MIME type "text/html"? The first application listed is "mozilla". This application is set up to execute the command "/usr/local/bin/mozilla -remote openURL(%u,new-tab)". The "Embedding" setting is set to "Show file in separate viewer". > I don't see any reason that it should do this unless it is the way Kmail is > configured. > > What happens if you click on an HTML file on your desktop? If I open an HTML file in konqueror then it launches mozilla and displays it. If I copy the same file onto my desktop then the same thing hapens (no konqueror window is opened). If I click on a link in kzephyr (which calls kapp->invokeBrowser(link), exactly as kmail does) then a konqeror window opens, which remains empty as it immediately calls mozilla. Hmmm. [Munging through header files.] In the kapplication.h header file the comments indicate that the invokeBrowser() interface is obsolete, and KRun() should be used instead. Does anyone have a newer version of the kmail source and can see if this has been fixed? (I am using and looking at 3.1.1.) If I change kzephyr to use KRun() instead it works just fine. Excellent! :-) Chris -- Chris Colohan Email: chris@xxxxxxxxxx PGP: finger colohan@xxxxxxxxxx Web: www.colohan.com Phone: (412)268-4751 ___________________________________________________ . Account management: https://mail.kde.org/mailman/listinfo/kde. Archives: http://lists.kde.org/. More info: http://www.kde.org/faq.html.