[Konsole-devel] Konsole dbus feedSession/sendSession

Pantelis Koukousoulas pktoss at gmail.com
Thu May 21 17:20:42 UTC 2009

>Yes, there is a sendText method. The dbus scripting will be in KDE 4.3

I just had the opportunity to try this functionality using the kubuntu
4.3 experimental
ppa and it works :)

The only "tricky" part was that sending a newline to bash was not that
After looking at the source briefly though, I tried something along
the lines of:

qdbus org.kde.konsole /Sessions/1 sendText "`echo ls$'\r'`"

and it worked :)

This means gnu screen is not needed anymore for this functionality when running
under konsole.

Thanks a lot for this functionality :)

More information about the konsole-devel mailing list