[konqueror] connect to an already existing process

Kevin Krammer kevin.krammer at gmx.at
Wed Nov 15 12:39:09 GMT 2006

On Wednesday 15 November 2006 12:09, T E Schmitz wrote:
> Philip Rodrigues wrote:
> >>>konqinstance=$(dcop | grep konqueror | head -n 1)
> >>>dcop $konqinstance konq-mainwindow#1 newTab http://www.kde.org
> >>
> >>I tried the dcop command above but get "object not acccessible"
> >>(regardless whether Konqueror is on the current or another desktop.
> >
> > Is that the exact error message? Do you perhaps need to escape the # (ie
> > with \#)?
> Escaping does not help either. "object not accessible" is all I get.

You can check with either dcop or kdcop if maybe the main window has a 
different number, i.e. it could be  konq-mainwindow#2

If you are not sure you already have a Konqueror running, you can try 
something like this

dcop $(dcopfind -l -a konqueror-*) konqueror-mainwindow#1 newTab 


Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde/attachments/20061115/d175c38c/attachment.sig>
-------------- next part --------------
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