Results 1 to 10 of 10
I was just reading the "KDE - Help Center" for konsole.It says that
you can invoke konsole with the option --script file in order to
Allow the use of extended ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 07-09-2005 #1Linux Enthusiast
- Join Date
- Jan 2005
- Posts
- 575
DCOP commands ?
I was just reading the "KDE - Help Center" for konsole.It says that
you can invoke konsole with the option --script file in order to
I have no idea what these DCOP commands are.Can someone give meAllow the use of extended DCOP commands to paste text into sessions.
some pointers ?
- 07-09-2005 #2
- 07-09-2005 #3Linux Enthusiast
- Join Date
- Jan 2005
- Posts
- 575
Thanks.I had a quick look.I'm still not clear what it's for.Can someone
give me a practical example where one would use this sort of
meachanism ? Also it doesn't seem to say what the file following
the --script option ought to contain.It only mentions C++ code.
- 07-09-2005 #4
I'm not familiar with using it for scripts, but as I recall from a tutorial I read on it awhile ago, dealing with say konqueror, you could do:
, and that would open www.foo.com in konqueror. To list what you can do with a specific DCOP-enabled application, just do:Code:dcop konqueror default openBrowserWindow www.foo.com
Code:dcop foo default
- 07-09-2005 #5Linux Enthusiast
- Join Date
- Jan 2005
- Posts
- 575
I just tried
and gotCode:dcop konsole default
Specifying the full pathname for konsole didn't make any realCode:object 'default' in application 'konsole' not accessible
difference.
- 07-09-2005 #6
Hmmm...guess my memory doesn't serve me that well...I guess it's:
Code:dcop foo
- 07-09-2005 #7Linux Enthusiast
- Join Date
- Jan 2005
- Posts
- 575
dcop konsole gives No such application: 'konsole'
Needless to say I have konsole.
- 07-09-2005 #8will list all dcop-able apps.Code:
dcop
- 07-09-2005 #9Linux Enthusiast
- Join Date
- Jan 2005
- Posts
- 575
That worked.Thanks.
It seems that konsole should have been followed by its process id.
But I only get a list of C++ functions so it still doesn't tell me what I
can do with it from the command line or just running the application.
Assuming that I can do something.
- 07-10-2005 #10
I guess then:
would give you the things you can do. And then just call those functions with whatever arguments it takes on the command line:Code:dcop konsole-XXXX default
Code:dcop konsole-XXXX default foo(bar, baz)


Reply With Quote
