Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    Queen Beecon dbus.

    Reply
    ffha | # 1 | 2010-09-09, 18:10 | Report

    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?

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by ffha; 2010-09-09 at 18:20. Reason: Typo.

     
    techie | # 2 | 2010-09-09, 18:34 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to techie For This Useful Post:
    ffha

     
    ffha | # 3 | 2010-09-09, 18:45 | Report

    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?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    techie | # 4 | 2010-09-09, 18:58 | Report

    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?

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to techie For This Useful Post:
    ffha

     
    ffha | # 5 | 2010-09-09, 19:04 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks

     
vBulletin® Version 3.8.8
Normal Logout