Reply
Thread Tools
ffha's Avatar
Posts: 131 | Thanked: 170 times | Joined on May 2010 @ Netherlands
#1
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?

Last edited by ffha; 2010-09-09 at 18:20. Reason: Typo.
 
Posts: 208 | Thanked: 220 times | Joined on Apr 2010
#2
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.
__________________
With Linux-powered N900..ANYTHING is possible
 

The Following User Says Thank You to techie For This Useful Post:
ffha's Avatar
Posts: 131 | Thanked: 170 times | Joined on May 2010 @ Netherlands
#3
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?
 
Posts: 208 | Thanked: 220 times | Joined on Apr 2010
#4
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?
__________________
With Linux-powered N900..ANYTHING is possible
 

The Following User Says Thank You to techie For This Useful Post:
ffha's Avatar
Posts: 131 | Thanked: 170 times | Joined on May 2010 @ Netherlands
#5
Originally Posted by techie View Post
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.
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 23:10.