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

Auto activating Calligra Sheets on DBus invoke

Tags: None
(comma "," separated)
boulabiar
Registered Member
Posts
1
Karma
0
I am trying to connect to calligra sheets using a code like this one

Code: Select all
import dbus
bus = dbus.SessionBus()
ro = bus.get_object( "org.calligra.sheets","/view_0")


The problem is that org.calligra.sheets should be modified each time to match the currently activated service.

I've tried to create a service file like
/usr/share/dbus-1/services/org.calligra.sheets.service
and the application launches, but because we always have a different name, we can't build the connection.
( for example, the service is name org.calligra.sheets-4363 instead of bare org.calligra.sheets)


Bookmarks



Who is online

Registered users: bancha, Bing [Bot], Evergrowing, Google [Bot], mesutakcan, Sogou [Bot]