Script using dbus-send - not very reliable

Leonti Bielski prishelec at
Sun Mar 15 23:04:21 CET 2009

I was using mdbus to request CPU and Display resources but it's too slow.
So I decided to use dbus-send since it's very quick.
Here my script:

dbus-send --system --type=method_call --dest=org.shr.ophonekitd.Usage
/org/shr/ophonekitd/Usage org.shr.ophonekitd.Usage.RequestResource

It's also on:

The problem is that it does not work first time. I have to run the
script twice to make it work.
Same goes to other scripts that I modified from mdbus to dbus-send.

Any ideas?


More information about the devel mailing list