maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   Queen Beecon dbus. (https://talk.maemo.org/showthread.php?t=61990)

ffha 2010-09-09 18:10

Queen Beecon dbus.
 
Input:
Code:

dbus-send --session --type=method_call --dest=oh.no.more.qbw /oh/no/more/qbw5 oh.no.more.qbw.wakeup
Output:
Code:

Failed to open connection to "session" message bus: (null)
Basically, I want a specific widget to update the moment I manually update another one, but the widget does not respond to the call.
What am I doing wrong?

techie 2010-09-09 18:34

Re: Queen Beecon dbus.
 
You are mistyping the id of the widget you want to update.Simply writing 5 is not correct.Actual id in your case will be id5
Code:

run-standalone.sh dbus-send --session --type=method_call --dest=oh.no.more.qbw /oh/no/more/qbwid5 oh.no.more.qbw.update_content
For future queries please use main QBW thread.

ffha 2010-09-09 18:45

Re: Queen Beecon dbus.
 
I sure feel like an idiot now...

Either way, even after applying the suggested changes to the command, it still returns the same error without actually updating the widget.

DBUS Event Monitoring for id5 is set to Session. Do I have to add anything to that?

techie 2010-09-09 18:58

Re: Queen Beecon dbus.
 
It doesn't matter whether you have dbus monitoring for it enabled or not.Did you use the code I gave you,instead of editing yours?

ffha 2010-09-09 19:04

Re: Queen Beecon dbus.
 
Quote:

Originally Posted by techie (Post 811903)
Did you use the code I gave you,instead of editing yours?

Yes, I did. I just noticed, however, that I accidently made a typo whilst copying your code. I was already editing my previous post, but you managed to post before I could submit the changes.

Your code works.
Thanks for the help, bro.


All times are GMT. The time now is 17:27.

vBulletin® Version 3.8.8