View Single Post
Posts: 7 | Thanked: 3 times | Joined on Dec 2008
#6
command should look like something like this:
Code:
run-standalone.sh dbus-send --print-reply --type=method_call --dest=org.freedesktop.Telepathy.AccountManager /org/freedesktop/Telepathy/Account/gabble/jabber/YOURACCOUNT_40gmail_2ecom0 org.freedesktop.DBus.Properties.Set string:"org.freedesktop.Telepathy.Account" string:"RequestedPresence" uint32:1 string:"offline" string:"newStatus"
well, not exactly... last three variables suppose to be in one variant struct {uint32:1 string:"offline" string:"newStatus"}
And I have no idea how to put them there for dbus-send.

We are looking for:
Code:
dest=org.freedesktop.Telepathy.AccountManager serial=4835 path=/org/freedesktop/Telepathy/Account/gabble/jabber/YOURACCOUNT_40gmail_2ecom0; interface=org.freedesktop.DBus.Properties; member=Set
   string "org.freedesktop.Telepathy.Account"
   string "RequestedPresence"
   variant       struct {
         uint32 1
         string "offline"
         string "@Home"
      }
by dbus-monitor.

Last edited by Vadi; 2010-01-07 at 06:28.