|
2014-01-07
, 21:28
|
|
Posts: 3,404 |
Thanked: 4,474 times |
Joined on Oct 2005
@ Germany
|
#2
|
The Following 5 Users Say Thank You to pycage For This Useful Post: | ||
|
2014-01-07
, 22:04
|
|
Posts: 2,355 |
Thanked: 5,249 times |
Joined on Jan 2009
@ Barcelona
|
#3
|
|
2014-01-08
, 08:49
|
|
Posts: 141 |
Thanked: 267 times |
Joined on May 2010
@ Germany
|
#4
|
#!/usr/bin/python import dbus bus = dbus.SessionBus() object = bus.get_object('org.freedesktop.Notifications','/org/freedesktop/Notifications') interface = dbus.Interface(object,'org.freedesktop.Notifications') #print(interface.GetCapabilities()) interface.Notify("app_name", 0, "/usr/share/icons/hicolor/86x86/apps/harbour-tidings.png", "Here is the title", "and here the body", dbus.Array(), dbus.Array(), 0)
The Following 20 Users Say Thank You to EmaNymton For This Useful Post: | ||
benny1967, Daneel, evk, Faz, jalomann, juiceme, Kaacz, kimmoli, mattaustin, mgbler, OVK, pycage, rcolistete, richardski, rolfok, Schturman, szopin, thedead1440, Transcend, zamorph |
|
2014-01-08
, 08:54
|
|
Posts: 562 |
Thanked: 2,744 times |
Joined on Dec 2013
@ Espoo, Finland
|
#5
|
|
2014-01-08
, 10:06
|
|
Posts: 562 |
Thanked: 2,744 times |
Joined on Dec 2013
@ Espoo, Finland
|
#7
|
signal sender=:1.198 -> dest=(null destination) serial=590 path=/org/freedesktop/Telepathy/Connection/gabble/jabber/gmail_2ecom_1a4623dead_5f0xdabeef; interface=org.freedesktop.Telepathy.Connection.Interface.SimplePresence; member=PresencesChanged array [ dict entry( uint32 21 struct { uint32 3 string "away" string "Hell yeah!!! " } ) ]
signal sender=:1.433 -> dest=(null destination) serial=12 path=/com/google/code/AccountsSSO/SingleSignOn/AuthSession_0; interface=com.google.code.AccountsSSO.SingleSignOn.AuthSession; member=stateChanged int32 8 string "The request is started successfully" method return sender=:1.433 -> dest=:1.34 reply_serial=848 array [ dict entry( string "Secret" variant string "plaintextpassword" ) dict entry( string "UserName" variant string "youmightquessthisone" ) ]
|
2014-01-08
, 10:23
|
|
Posts: 141 |
Thanked: 267 times |
Joined on May 2010
@ Germany
|
#8
|
#!/usr/bin/python import dbus bus = dbus.SessionBus() object = bus.get_object('org.freedesktop.Notifications','/org/freedesktop/Notifications') interface = dbus.Interface(object,'org.freedesktop.Notifications') #print(interface.GetCapabilities()) interface.Notify("app_name", 0, "icon-m-notifications", "Here is the title", "and here the body", dbus.Array(["default", ""]), dbus.Dictionary({"x-nemo-preview-body": "preview body", "x-nemo-preview-summary": "preview summary"}, signature='sv'), 0)
The Following 10 Users Say Thank You to EmaNymton For This Useful Post: | ||
|
2014-01-08
, 10:36
|
|
Posts: 562 |
Thanked: 2,744 times |
Joined on Dec 2013
@ Espoo, Finland
|
#9
|
|
2014-01-08
, 19:26
|
Posts: 80 |
Thanked: 51 times |
Joined on Feb 2010
@ Finland
|
#10
|
first of all, I'm not an expert using dbus but I wonder, if it is possible to use dbus to show messages on the event-screen of sailfish like on the N9. I started with dbus-monitor and logged for example an incoming email notification:
The error message is weird, because Notify is a known method