Screen-Scrape Konsole output

Kevin Krammer kevin.krammer at
Thu Jun 3 13:51:37 BST 2010

On Thursday, 2010-06-03, Ram wrote:
> Hello,
> I had a small automation program , that would screen-scrape konsole
> output and take actions accordingly
> To "read" the Konsole window , I used to use automated-mouseclicks and
> the use dcop to read the klipper output.

You can use qdbus to access Klipper in basically the same way.

> I was hoping qdbus can support function like readSessionWindow(); that
> returns the Visible text on the window, Is it possible

No idea.You can use qbudsviewer to expore the D-Bus API of applications.
Another approach might be to read the history buffer file (assuming it doesn't 
just keep that in memory).


Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <>
-------------- next part --------------
This message is from the kde mailing list.
Account management:
More info:

More information about the kde mailing list