[konqueror] connect to an already existing process

Philip Rodrigues philip.rodrigues at chch.ox.ac.uk
Tue Nov 14 19:14:17 GMT 2006


T E Schmitz wrote:

> T E Schmitz wrote:
>> Christian Mueller wrote:
>> 
>>>Am Montag, 13. November 2006 21:41 schrieb T E Schmitz:
>>>
>>>>With mozilla, I can open a URL with a process that's already running
>>>>(see http://www.mozilla.org/unix/remote.html):
>>>>
>>>>That is dead handy if you want to open a URL in a browser instance which
>>>>is on a different workspace.
>>>
>>>I think
>>>kfmclient newTab 'http://www.konqueror.org/'
>>>does what you want.
>> 
>> 
>> Unfortunately, it doesn't: kfmclient newTab opens the URL on the current
>> active desktop.
>> 
>> kfmclient does not seem to have an option to open the URl in a konqueror
>> instance which is active on another desktop.
> 
> This behaviour has been requested and confirmed by popular vote:
> http://bugs.kde.org/show_bug.cgi?id=66575

I didn't carefully look at the script in that bug report, but the following
seems to work:

konqinstance=$(dcop | grep konqueror | head -n 1)
dcop $konqinstance konq-mainwindow#1 newTab http://www.kde.org

Adapt as necessary for your particular use.

Regards,
Philip

-- 
KDE Documentation Team: http://i18n.kde.org/doc
KDE Documentation Online: http://docs.kde.org

___________________________________________________
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.




More information about the kde mailing list