Linux Today: Linux News On Internet Time.

Start and Control konsole with DBUS

Feb 03, 2010, 13:02 (0 Talkback[s])
(Other stories by Mitch Frazier)

"My first attempt at this was using dbus-send but after not making a lot of progress with that I tried using qdbus instead, this proved easier to use. In re-implementing this code for KDE4 I also discovered a few things that aren't quite working yet in Konsole's dbus interface:

"It's not yet possible to start a new konsole in another konsole window, all new konsoles appear in the current konsole. My original code created a completely new konsole window and filled it with the new konsoles. Since this is not yet implemented that feature is yanked.

"Starting a console with a particular "Schema" is also not working yet. The code for doing this is still in the sample below but it's commented out. Also note that schemas have been replaced by "profiles" in KDE4.

"There's no way to activate a specific session yet using dbus."

Complete Story

Related Stories: