We have moved to a new Sailfish OS Forum. Please start new discussions there.
7

dbus-send - Any documentation anywhere?

asked 2014-01-23 00:53:01 +0300

rolandw gravatar image

CsTom has helped me with a recent posting about sending SMS from the command line by providing the right dbus-send call. I've found the core documentation for dbus at http://www.freedesktop.org/wiki/IntroductionToDBus/ but it doesn't seem to have have the sort of details that are unique to Jolla. I'm sure that reading through the man pages and then having a good old poke around might reveal something but that could take some time. Is there any documentation on Jolla dbus-send parameters anywhere?

edit retag flag offensive close delete

Comments

3

AFAIK there is no official documentation, but you can find a lot of information by running dbus-monitoron the phone and watching the dbus communications. There are also config files in /etc/dbus-1/session and /etc/dbus-1/system. Last you can list all available interfaces like: http://unix.stackexchange.com/questions/46301/a-list-of-available-dbus-services. I did already some investigation on dbus so if you have any special question, feel free to ask ;)

Cermit ( 2014-01-23 13:05:57 +0300 )edit

you can always use org.freedesktop.DBus.Introspectable.Introspect to query the interfaces, also -- as Cermit says above -- the dbus-monitor shows great stuff too.

CsTom ( 2014-01-23 23:48:22 +0300 )edit

gdbus or (not installed) qdbus may be easier to use.

javispedro ( 2014-01-24 20:01:13 +0300 )edit

install qdbus it will list method easier

mike7b4 ( 2014-01-26 12:15:41 +0300 )edit

Are there any pages similar to Jebba's DBUS page that give examples that work on a Jolla/Sailfish system?

rdmo ( 2015-04-22 20:08:39 +0300 )edit

1 Answer

Sort by » oldest newest most voted
3

answered 2014-01-23 13:36:27 +0300

rainisto gravatar image

Please keep in mind that Harbour applications are not allowed to send sms with dbus api's. As apps need to open systems sms app where end user needs to confirm the message with send button.

edit flag offensive delete publish link more
Login/Signup to Answer

Question tools

Follow
4 followers

Stats

Asked: 2014-01-23 00:53:01 +0300

Seen: 1,115 times

Last updated: Jan 23 '14