This forum has been archived. All content is frozen. Please use KDE Discuss instead.

using dbus with konsole

Tags: konsole konsole konsole
(comma "," separated)
User avatar
darkmark
Registered Member
Posts
4
Karma
0
OS

Re: using dbus with konsole

Fri Nov 06, 2009 5:40 pm
Simple, it wanted a int32. It turns out the reply will spit out 'no such method' for invalid argument types. I can now read and set the title.

Code: Select all
$ dbus-send --session --dest=$KONSOLE_DBUS_SERVICE --type=method_call --print-reply /Sessions/35 org.kde.konsole.Session.title int32:1
method return sender=:1.88 -> dest=:1.183 reply_serial=2
   string "Shell %#"

dbus-send --session --dest=$KONSOLE_DBUS_SERVICE --type=method_call --print-reply /Sessions/35 org.kde.konsole.Session.setTitle int32:1 string:"mytitle"
method return sender=:1.88 -> dest=:1.187 reply_serial=2


Bookmarks



Who is online

Registered users: Bing [Bot], claydoh, Google [Bot], rblackwell