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

Re: want thunderbird link to open new tab in konqueror



Hi,

well, in that area it's a bit complicated

you could ask kfmclient to do it for you :
kfmclient newTab http://www.kde.org

but your konqueror needs to run on the same desktop as your thunderb
otherwise a new window will popup.

the other way is to script a little bit :
dcop konqueror\*
will list all started konqueror,

grab the first one and :
dcop konqueror-3280 konqueror-mainwindow\#1 newTab http://www.kde.org

will do what you want,
now you just have to make a script and link
/etc/alternatives/x-www-browser to it ;)

since you are a hacker according to your name, that should be trivial
for you, I even wonder why you asked the question ;)

Cheers,
Mik

hacker a écrit :
> I'm trying to configure sarge so when I click a link in thunderbird
> mail, it opens a new tab in konqueror.
> 
> So far, it just opens a new konqueror window.
> 
> I used 'dpkg-reconfigure mozilla-thunderbird' to select 'Debian',
> which creates /etc/mozilla-thunderbird/auto-config.js, which contains:
> 
> //####################################################//
> // AUTO generated config file. Don't touch this       //
> // use: dpkg-reconfigure mozilla-thunderbird          //
> //####################################################//
> 
> pref("network.protocol-handler.app.http","x-www-browser");
> pref("network.protocol-handler.app.https","x-www-browser");
> 
> Also, I have the x-www-browser set to konq, as follows:
> 
> root :~# ls -la /etc/alternatives/x-www-browser
> lrwxrwxrwx  1 root root 18 Jun 26 20:45
> /etc/alternatives/x-www-browser -> /usr/bin/konqueror
> 
> Now, in konq, Settings => Configure Konqueror => Web Behavior =>
> Tabbed Browsing => I have checked: Open links in new tab... and under
> Advanced Options I have checked: Open new tabs in the background, Open
> popups in new tab instead of in new window, and Open as tab in
> existing Konqueror when URL is called externally.
> 
> Unfortunately, when I clicked links in thunderbird mail messages, a
> new konqueror window opens each time.
> 
> Anyone have success getting my desired set up?
> 
> TIA
> 
> hacker
> 



Reply to: