We have moved to a new Sailfish OS Forum. Please start new discussions there.
1

Change presence by command

asked 2016-09-30 13:53:25 +0300

tom.i gravatar image

updated 2016-09-30 13:54:14 +0300

Hi folks, is there any way how to change presence status of e.g. google account by command? I'm using "Situations" and there is possibility to run command. So I think if there is some kind of command for changing presence I can use it.

edit retag flag offensive close delete

1 Answer

Sort by » oldest newest most voted
2

answered 2016-09-30 14:12:04 +0300

ossi1967 gravatar image

The command line solution you're looking for is probably "mc-tool". I don't have access to any GNU/Linux shell at the moment, nor do I know if the utility is installed by default on SailfishOS, but I recall playing with it on my N900. Those were the docs from the Maemo days:

http://wiki.maemo.org/N900_Mission_Control

The status can also be controlled via dbus. See the full telepathy documentation:

https://telepathy.freedesktop.org/doc/book/

edit flag offensive delete publish link more

Comments

1

If you find a solution, please also add it here: https://together.jolla.com/question/70745/command-line-equivalents-of-gui-commands/

lakutalo ( 2016-09-30 20:10:12 +0300 )edit

That tool "mc-tool" is installed on Sailfish. I'm running Sailfish 2.0.2.51, and mc-tool version is 0.8.9.

Can't help with the actual topic, hope you'll find your way!

Sakke ( 2016-09-30 22:24:32 +0300 )edit
2

Yes I found sollution on ossi1967's link.

Just fill:

mc-tool request gable/jabber/google_2dtalk_4 offline

And you'll be offline. I'll try to add this to "Situations"

tom.i ( 2016-09-30 22:28:34 +0300 )edit
Login/Signup to Answer

Question tools

Follow
1 follower

Stats

Asked: 2016-09-30 13:53:25 +0300

Seen: 349 times

Last updated: Sep 30 '16