This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Connect/Disconnect via CLI command?

Tags: None
(comma "," separated)
User avatar
KAMiKAZOW
Registered Member
Posts
69
Karma
0
OS

Connect/Disconnect via CLI command?

Tue Feb 19, 2013 7:31 pm
Hi. Can anybody please help me how to connect and disconnect all accounts via a shell command?
I guess I have to call telepathy itself via qdbus but I cannot wrap my head around http://telepathy.freedesktop.org/spec/C ... Disconnect
User avatar
david_edmundson
KDE Developer
Posts
359
Karma
1
OS
mc-tool is your friend here.

> for account in `mc-tool list`
> do
> mc-tool request $account offline
> done

Use mc-tool --help for more options.

You may also want to look up ktp-paste-contact to send messages to people from a terminal (that's not something we ship though)
Murz
Registered Member
Posts
52
Karma
0
Thanks for the info, via mc-tool all works well.
david_edmundson wrote:You may also want to look up ktp-paste-contact to send messages to people from a terminal (that's not something we ship though)

In which kde telepathy package I can found ktp-paste-contact script? I have use KDE Telepathy 0.7 on Kubuntu 13.10 and can't find it in any folder.
User avatar
david_edmundson
KDE Developer
Posts
359
Karma
1
OS
As I said, we never released it. It's here:
http://quickgit.kde.org/?p=scratch%2Fdd ... ontact.git


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Google [Bot], Yahoo [Bot]