Comment 3 for bug 615712

Revision history for this message
joakim@verona.se (joakim-verona) wrote :

After looking through the inkscape dbus code, and some d-feet debugging,
I discovered that this call actually works:

(dbus-call-method
               :session "org.inkscape" "/org/inkscape/desktop_0"
               "org.inkscape.document" "rectangle" :int32 200 :int32 100 :int32 100 :int32 100)

which is good!

One of the problems is that the inkscape dbus code is aparently filled
with stubs, which return null, crash, and so on. There is also some form
of mixup what a desktop is supposed to be and a document is supposed to be.

This means that theres seemingly no way for code to know which desktops and documents are available.
desktop_0 seems to be created by default, which I noticed in d-feet.