[kde-linux] Konsole: input to one session
borasah at gmail.com
borasah at gmail.com
Fri Nov 20 10:51:19 UTC 2009
On Thursday 19 November 2009 22:35, Duncan wrote:
> >> I think if you run konsole with the --script option you'll get
> >> additional DCOP functions which allow you to send input into any
> >> konsole session of that konsole process.
> >
> > Thanks for the quick answer. What I would like to do is send a command,
> > start qemu, from Vim to neighbouring konsole session so I can watch it
> > if necessary.
>
> Like Kevin I'm on kde4 now, and I've only actually done this in kde4, but
> kde3 had similar options in this regard so it's worth exploring as an
> alternative, tho I'm not sure if it does what you need to do or not. But
> anyway...
>
> Try setting up a different konsole profile. If you run konsole --help,
> (from a konsole), it should give you the necessary information to start
> that profile. What I did with that is setup kwin to handle that konsole
> window differently than the normal console windows, and I'm not sure
> whether it exposes enough alternate control to do what you want, but
> between what Kevin's suggesting using dcop and this, there's quite a
> decent chance you can get it working, one way, the other, or a
> combination of both.
I managed to do it following Kevin's suggestion, and Kevin was right: maybe on
the surface there is not any difference but --script option gives the chance
of sending a message to another konsole session. If you run konsole without
--script, then as far as I see it is not possible to send a message to a
specific console session. I can run qemu on the neighbouring konsole
session :) Now I am looking for a way to change Konsole applet settings to
reflect the change.
Thanks for both of you.
--
Bora Sahin
More information about the kde-linux
mailing list