Problem with Java and DCOP

Jeff Mitchell kde-dev at emailgoeshere.com
Fri Feb 15 04:06:14 UTC 2008


Brecht Yperman wrote:
> Hi,
>
> I'm trying to call DCOP from Java.
>
> I first tried to do
> Runtime.getRuntime().exec("dcop amarok playlist popupMessage test");
>   
Try using various command-line arguments to dcop.

Here's me SSHing in to my box:

jeff at macncheese ~ $ dcop
ERROR: Couldn't attach to DCOP server!
jeff at macncheese ~ $ dcop --user jeff
kwin
kicker
kded
kmix
knotify
kwin-2
randr
klauncher
khotkeys
kmail
kwalletmanager
kdesktop
konqueror-8136
ksmserver
kaccess
kgpg

You may have better luck with some of the other arguments (--all-users, 
some of the session ones)...try 'em all.  dcop --help for guidance.

Hope this helps,
Jeff



More information about the Amarok mailing list