View Single Post
Posts: 105 | Thanked: 62 times | Joined on Aug 2009 @ Finland
#4
Originally Posted by wille View Post
Hi;

This works:
Code:
/usr/bin/dbus-send --type=method_call --print-reply --dest=org.freedesktop.Telepathy.MissionControl /org/freedesktop/Telepathy/MissionControl org.freedesktop.Telepathy.MissionControl.SetPresence uint32:<number> string:"<status-msg>"
Where <number> is one of:
1: offline
2: online
3: away
4: extended away
5: invisible
6: Do not Disturb


So fx if you want to go online with the status message of "I'm here":

Code:
/usr/bin/dbus-send --type=method_call --print-reply --dest=org.freedesktop.Telepathy.MissionControl /org/freedesktop/Telepathy/MissionControl org.freedesktop.Telepathy.MissionControl.SetPresence uint32:2 string:"I'm here"

Hope this helps.


/Per Wille
Any tips on how to do this in maemo 5, the above method does not seem to work.

Some background information: I am trying to implement somekind of autoaway kludge for jabber/xmpp presence since Maemo 5 will not support it