KDE Telepathy plugin for KRunner

Standard

Yesterday I have switched from Kopete to KDE Telepathy. At first I only wanted to see what’s new, but I was quite impressed and I didn’t see any problem that would keep me from using KDE Telepathy instead of Kopete. Except for one –  a contact runner. I’m an incredibly lazy creature and instead of having to remember various shortcuts or even touching mouse, I rather use KRunner for nearly everything, including starting chat with my IM contacts.

In the true spirit of open source, instead of whining about a missing feature I decided to take an action and write the plugin myself :)

Same as with Kopete Contacts runner, just by typing name of your contact will display matching contacts in KRunner. If you have one contact in multiple accounts, it will display the contact multiple times, with name of the account as well.

The results are sorted by presence, e.g. if a person is online on Jabber, but offline on GTalk, the Jabber contact will be listed first.

If the contact has capabilities for audio or video call, file transfer or desktop sharing, you will see multiple buttons. By default, just by hitting Enter on the selected contact will start text chat, but by clicking on one of the buttons you can start the respective action. If the other side does not have some capability, it’s button will not be displayed.

If you want to explicitly start for example an audio call, typing “audiocall John” will list all contacts named John capable of audio call and clicking on it or hitting Enter will start an audio call immediately. Similarly there are commands “videcall”, “sendfile” and “sharedesktop” for respective actions.

This last feature is untested though, because none of my contacts seem to use KDE Telepathy or have any capability other then text chat :D

Here is some artificially made screen shot :)

KDE Telepathy Contact Runner example (Ignore the KSnapshot icon, I had already removed all the code to generate this preview when I noticed it :D )

You can get sources from my scratch repo on KDE git:

git://anongit.kde.org/scratch/dvratil/ktp-contact-runner.git
git://anongit.kde.org/ktp-contact-runner.git

And finally, big thanks to all our telepathic guys for their great work on the framework :) Keep it up!

Bye

8 thoughts on “KDE Telepathy plugin for KRunner

  1. CTown

    Thanks a lot. Surely a DE like KDE needs a feature rich IM client, and this feature helps. Plus, KDE-Telpathy is pretty nice looking, the devs did a great job on it. Also, I did not know Kopete can do that.

  2. Mark

    Ey! Thank you very much!!.. I use Telepathy now, and liked a lot.. find your new feature really useful!
    Now at last I can send documents with Telepathy and a Gmail account.. I tried the same on the old Kopete, but I couldn’t!

  3. Doesn’t work.

    ~/Projects/Third-party@karen.dragonfear α:
    git clone git://anongit.kde.org/scratch/dvratil/ktp-contact-runner.git
    Cloning into ‘ktp-contact-runner’…
    fatal: The remote end hung up unexpectedly

    • Hi,

      the repo has been moved to extragear/network/telepathy/ktp-contact-runner some time ago (your distribution might even package it aleady). I updated the link in the post, thanks.

      Cheers

Comments are closed.