KDE Connect: Fuse your devices with KDE (GSOC 2013)

Our daily lives are becoming more gadget-assisted every day and (as we approach to the “internet of things”) we have more and more computers around us in the shape of TVs, smartphones, cameras, media centers…

We dream in a future where our fridges will be able to automatically do the sopping for us, that is, a future where all our devices are connected and interact with each other. Something is going wrong if we still use the email to send a picture from our phone to our PC…

And precisely this is the reason behind KDE Connect: we want to make your computer aware and seamless integrated with all your devices, to simplify your daily tasks.


We have started with Android integration, but we want to support any kind of device so we encourage other platforms developers to implement the KDE Connect protocol for their devices!

If you want to peek into the code you can grab if from these repos, but please note that it is in a very early stage:

git clone git://anongit.kde.org/scratch/albertvaka/kdeconnect-kded
git clone git://anongit.kde.org/scratch/albertvaka/kdeconnect-android

For battery reporting to work you will also need to apply this patch to kdelibs: solid-backend.patch

You will need Android 4.1 or greater. If you are not an Android developer, download the compiled app directly form this link: KdeConnect.apk

We hope you like this project! Looking forward to hear your feedback :)

About these ads

206 thoughts on “KDE Connect: Fuse your devices with KDE (GSOC 2013)

    1. Right now we are using the local WiFi, but we plan to add more backends. In the future we will try to reach the phone by any possible way: usb cable, bluetooth, the internet… without the user (or the plugin developers) having to worry about which one is used.

      1. Hey can we get it to create ‘events’ we can script off?

        Like phone connected do X or SMS from Mr Blank, lanuch script?

        Dunno if its in the scope of what you were doing or if it would be do able with plugins instead.

  1. This looks very interesting. I look forward to further devolment with some very pratical use for avergae users. Keep it up.

  2. Good to see!
    Would love to be able to use the “Send SMS” functionality which is already in KAddressBook to send SMS via my phone!
    I’m Looking forward to using this :)
    cheers

  3. I guess some functionalities like telling from the PC to “play this video on my TV” or “open this webpage on my tablet” are also in the works. At least I hope !
    Keep on the great work, this is a very exiting project !

  4. Hi,
    I’m very excited too.
    I’ve compiled the kde module, but I don’t know how to install/use it.
    I’m not used to kde development, so I would thank any tip.
    Thanks.

    1. you install it with make install, but there might be a better way depending on your distro of choice. After install:
      qdbus org.kde.kded /kded loadModule kdeconnect
      kcmshell4 kdeconnect

      1. Thanks.
        But it still doesn’t work.
        I’m on kubuntu 13.04 and I install with make install, but the first command returns false (and with sudo it tells me “cannot find loadModule…”).

        Am I missing something.

  5. Very nice!
    But I can’t clone repo using command from article, it says “Permission denied (publickey)”

    1. Use git://anongit.kde.org/scratch/albertvaka/kdeconnect-kded

      @Albert, update your git links please.
      Also I suggest trying to get this into playground soon.

  6. It doesn’t compile with tests for me. Would be nice if you could introduce a cmake switch for them anyway.

  7. I am stuck with blank settings window (kcmshell4 kcm_kdeconnect) without any ability to add or edit devices. I have gentoo, kde 4.10.5, avahi use flag enabled. Did I miss something?

    1. don’t know about use flags, but I had to:
      qdbus org.kde.kded /kded loadModule kdeconnect
      and for the kcm to show in systemsettings:
      kbuildsycoca4 -noincremental

      1. Module is loaded, it is shown in output of /kded loadedModules command. And I did kbuildsycoca4. Nothing helps :'(
        Thanks anyway!

    2. The kcm is not very user-friendly yet, sorry! There will appear the devices on your network, so make sure your device is detected (that is, the Android app is installed and it is connected to the same WiFi as your computer).

    3. I’ve had the same problem until I installed Avahi which apparently I didn’t have. I’ve rebooted and everything’s working now – once KDE Connect is running on the phone, the phone appears in the KDE settings manager.

      1. Finally got it. Thanks for advices! I have installed module on my pc instead of laptop (can’t imagine why it doesn’t work there). BTW will it support 2 KDE desktops in same network?

    1. Yup, we have plans for this and the opposite (using the phone as a touchpad for your computer). Answer calls is more difficult, though it should be possible.

    1. That’s because we are using Avahi to discover the computer and it was introduced in 4.1, but I want to get rid of it soon… the Android implementation of Avahi is quite unstable, buggish and undocummented :(

  8. Are there plans on writing a KDE implementation of the protocol? Having this for devices running Plasma Active or Plasma Mediacenter would be terrific.

  9. TcpDeviceLink dataReceived
    Unserialize: “{“type”:”kdeconnect.ping”,”id”:1375803005355,”body”:{},”version”:1}”
    not paired, ignoring package

  10. WOW! That is really some awesome and very useful stuff to have! Are you planning on getting this in KDE 4.12 or will this be “KDE 5″ material?

    Keep up the good work :)

  11. How well will this work with multi user setup, where you may have more than one user logged into a machine (each with their KDE running) and then using KDE-Connect, will it connect to the right user or is it just working for one user or will all communication be avaiable for all the users?

    1. Yes, I will have a look at this because it looks similar. However we are connecting any pair of devices (pc + pc, phone + phone…), and not only phone + pc. This will be useful, for example, to send files easily to another computer.

    1. When KDE detects a device for the first time, you will need to “pair” to it from a system settings module for that device to be trusted. Furthermore, during the pairing the devices will exchange their public keys to encrypt their communication. We want to make it as secure as possible!

      1. Thanks.
        I’m try $ cd kdeconnect-kded/;cmake ./
        and get errors:

        CMake Error at /usr/share/cmake-2.8/Modules/FindKDE4.cmake:98 (MESSAGE):
        ERROR: cmake/modules/FindKDE4Internal.cmake not found in
        /home/asm/.kde/share/apps;/usr/share/kubuntu-default-settings/kde4-profile/default/share/apps;/usr/share/kde4/apps
        Call Stack (most recent call first):
        CMakeLists.txt:4 (find_package)

    1. It seems a very good idea, and should be possible to implement :) By the way, when this year’s Google Summer of Code finishes we will publish some documentation about how to write plugins for KDE Connect, so everybody will be able to implement new ideas (like this one).

      1. Before “make install” open “cmake_install.cmake” wit texteditor and change “SET(CMAKE_INSTALL_PREFIX “/usr/local”)” to “SET(CMAKE_INSTALL_PREFIX “/usr”)”. Then “make install”.

        Short howto:
        clone the git
        cmake ./
        make
        edit “cmake_install.cmake” as above
        make install (as root)
        qdbus org.kde.kded /kded loadModule kdeconnect (as normal user)
        kbuildsycoca4 -noincremental (as normal user)

        Then you should find kdeconnect in systemsettings and it should work.

    1. It was working (and it will work) on 2.3+ devices, but currently adding some Android 4.0+-only features and will probably not work on older devices until this is finished and a “fallback” mode is added.

  12. Hola Albert!, esta es una preguna que nadie seguro que te ha hecho, ¿dónde has conseguido el dragón de KDE?, jejeje. No lo encuentro por ningún lado. Gracias. ;)

  13. ¿Alguien me puede explicar, como aplicar el parche a kdelibs?. Gracias.

    Anybody can explain how to patch to kdelibs?. Thank you.

  14. Hola Albert! soy un usuario normal de linux, actualmente estoy con mageia 3, el problema que encuentro que la instalación es muy complicada par un profano. ¿Sacarás algún paquete de instalación del tipo siguiente->siguiente->siguiente al estilo windows?
    Gracias, un saludo.

  15. Nice application ! both Kde side and android side! I’ve installed it on Kubuntu 13.04 and galaxy nexus 4.3 . Plugin clipboard doesn’t work on android 4.3

    keep on working
    Thanx

  16. Nice work!
    Can be this app installed in other desktop environments different from KDE? For example in Ubuntu 13.04 instead of Kubuntu.
    I have a i9300 with android 4.3 and I would like to test it on my laptop.
    Thanks in advance.

  17. Can someone list a quick how to install for Ubuntu? Would love to try this! Looks great! Ubuntu 13.04

  18. Nice. I hope in the next version you add the ability to flash the smartphone as Odin app for Windovs. At a moment for Linux is no similar programs like Odin.

      1. Gracias, he seguido el tutorial y llego hasta que me aparece el móvil, pero con la señal roja, en cuanto marco la casilla “trust” me desaparece. El firewall está abierto por completo.

        En consola me aparece el siguiente error: kcmshell4 kdeconnectkcmshell(4608)/kcontrol KCModuleLoader::loadModule: This module still uses K_EXPORT_COMPONENT_FACTORY. Please port it to use KPluginFactory and K_EXPORT_PLUGIN. ”

        Si puedes/podeis echarme una mano, os lo agradezco mucho. Saludos. Edu

  19. Hi, Can anyone help me?

    I’m running the kde app, and “kcmshell4 kdeconnect”, my pc detect my smartphone, but the “kdeconnect window” crashes when I mark the “trust” box.

    If I launch the program from the console, I get the following message:

    “kcmshell4 kdeconnectkcmshell(4608)/kcontrol KCModuleLoader::loadModule: This module still uses K_EXPORT_COMPONENT_FACTORY. Please port it to use KPluginFactory and K_EXPORT_PLUGIN. ”

    Thanks in advance. Edu.

  20. No, but I read something about a problem with “x64″ systems. Currently, when I click the “trust” box, the detected device dissapears, but there’s no error in the console. If I execute “qdbus org.kde.kded /kded loadModule kdeconnect”, It shows the device again.

    Thx 4 ur interest.

  21. It has just appeared again =>

    [edu@localhost ~]$ kcmshell4 kdeconnect
    kcmshell(11925)/kcontrol KCModuleLoader::loadModule: This module still uses K_EXPORT_COMPONENT_FACTORY. Please port it to use KPluginFactory and K_EXPORT_PLUGIN.

  22. This is from the debugger:

    Application: Servicio de KDE (kdeinit4), signal: Segmentation fault

    Thread 1 (Thread 0x7f8cdb6a1780 (LWP 2318)):
    [KCrash Handler]
    #5 0x00007f8cb273fba4 in Device::reloadPlugins() () from /usr/lib64/kde4/kded_kdeconnect.so
    #6 0x00007f8cb27416ed in Device::setPair(bool) () from /usr/lib64/kde4/kded_kdeconnect.so
    #7 0x00007f8cb27344cc in Device::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) [clone .part.16] () from /usr/lib64/kde4/kded_kdeconnect.so
    #8 0x00007f8cb2734ce3 in Device::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/kde4/kded_kdeconnect.so
    #9 0x00007f8cd728aed3 in QDBusConnectionPrivate::deliverCall(QObject*, int, QDBusMessage const&, QList const&, int) () from /lib64/libQtDBus.so.4
    #10 0x00007f8cd728bf06 in QDBusConnectionPrivate::activateCall(QObject*, int, QDBusMessage const&) () from /lib64/libQtDBus.so.4

    [Comment edited because it was too long, this is the interesting part though]

    ————————————————————————————————–

    :-O It sounds Greek to me!!!

    1. Not yet, only of those apps that expose an MPRIS interface. Would be nice to change that to use pulseaudio instead, but that meant learning two APIs instead of one and GSOC time is short :(

  23. Tried using this a few days ago and managed to compile and install on Kubuntu 13.04 fine, but I haven’t been able to use it on my phone as it keeps saying I need Android 4.3 or newer.

  24. I’m trying to make it, but there are some errors with qjson :(
    QJson is newest version. System is wheezy (64bit).
    I’m not a programmer so i couldn’t figure out what exactly is going on here. Need help, please ;)

    make gets errors in networkpackage.cpp:

    ../kdeconnect-kded/kded/networkpackage.cpp: In member function ‘QByteArray NetworkPackage::serialize() const’:
    ../kdeconnect-kded/kded/networkpackage.cpp:57:56: error: no matching function for call to ‘QJson::Serializer::serialize(QVariantMap*, bool*)’
    ../kdeconnect-kded/kded/networkpackage.cpp:57:56: note: candidates are:

    and then some errors in qjson-library..

    In file included from /home/edi/kdeconnect-src/kdeconnect-kded/kded/networkpackage.cpp:32:0:
    /usr/include/qjson/serializer.h:50:10: note: void QJson::Serializer::serialize(const QVariant&, QIODevice*, bool*)
    /usr/include/qjson/serializer.h:50:10: note: no known conversion for argument 2 from ‘bool*’ to ‘QIODevice*’
    /usr/include/qjson/serializer.h:62:16: note: QByteArray QJson::Serializer::serialize(const QVariant&)
    /usr/include/qjson/serializer.h:62:16: note: candidate expects 1 argument, 2 provided
    /home/edi/kdeconnect-src/kdeconnect-kded/kded/networkpackage.cpp:59:58: error: ‘class QJson::Serializer’ has no member named ‘errorMessage’
    make[2]: *** [kded/CMakeFiles/kded_kdeconnect.dir/networkpackage.o] Fehler 1
    make[1]: *** [kded/CMakeFiles/kded_kdeconnect.dir/all] Fehler 2
    make: *** [all] Fehler 2

      1. Yep, that was it. Thank you :)
        Now i’m stucking on “qdbus org.kde.kded /kded loadModule kdeconnect” cannot find .loadModule ..
        will try again tomorrow :D

      2. I’m having a similar problem here with QJson. Debian 7. QJson upgraded from source.

        $ make
        [ 0%] Built target kdeconnectcore_automoc
        [ 1%] Built target org.kde.kdeconnect.daemon.xml
        [ 2%] Built target org.kde.kdeconnect.device.xml
        Linking CXX shared library ../lib/libkdeconnectcore.so
        CMakeFiles/kdeconnectcore.dir/networkpackage.o: In function `NetworkPackage::serialize() const':
        /home/deusexmachina/Software/kdeconnect-kde-0.7.2/core/networkpackage.cpp:83: undefined reference to `QJson::Serializer::serialize(QVariant const&, bool*)’
        /home/deusexmachina/Software/kdeconnect-kde-0.7.2/core/networkpackage.cpp:85: undefined reference to `QJson::Serializer::errorMessage() const’
        collect2: error: ld returned 1 exit status
        make[2]: *** [lib/libkdeconnectcore.so.1.0.1] Error 1
        make[1]: *** [core/CMakeFiles/kdeconnectcore.dir/all] Error 2
        make: *** [all] Error 2
        $

        Might be that is still using the old one?

        1. Okay, manage to solve the QJson problem but now I’m stuck with this one:

          [ 32%] Building CXX object plugins/share/CMakeFiles/kdeconnect_share.dir/kdeconnect_share_automoc.o
          [ 32%] Building CXX object plugins/share/CMakeFiles/kdeconnect_share.dir/shareplugin.o
          /home/deusexmachina/Software/kdeconnect-kde-0.7.2/plugins/share/shareplugin.cpp:29:32: fatal error: KJobTrackerInterface: No such file or directory
          compilation terminated.
          make[2]: *** [plugins/share/CMakeFiles/kdeconnect_share.dir/shareplugin.o] Error 1
          make[1]: *** [plugins/share/CMakeFiles/kdeconnect_share.dir/all] Error 2
          make: *** [all] Error 2
          $

          :S

  25. I’ve istalled it on kubuntu 13.04 KDE 4.11.1 and on Samsung Galaxy S3.
    On my PC i can find only the PC itself as device and connect to it. (But i don’t know if this make any sense :) )
    On my SGS3 i can’t see any device. :(
    But I hope that in future there will be an update that will make it work *thumbsUp*

    1. Is you phone connected to the same wifi as your computer? If it is, check if the firewall is blocking the connections.

      The “loopback” that detects your own computer is there for debugging purposes ;)

  26. Casun tot!

    Felicitats pel projecte nano! De veritat que això és el que busco, per això KDE és KDE.

    Gràcies de debò, si us plau segueix així perque promets moltíssim.

  27. sir you are my hero!, i LOVE your proyect this things. for me. are awesomeeeeee. really. niceeeeeeeee work! :D. i do a little video in spanish (cause im Argentinian) to present your work to Spanish speakers :D and some people really like your work :D, congrats! :D

  28. I’m proving travez several wifi networks, and achievement algunad of them do not function while the devices connected on the same network ….
    It does not work if I have paired via bluetooth …
    Sorry my English

  29. Hi Albert,
    Thank you very much for kde-connect. I really enjoyed every day with my HTC one.
    Yesterday I was downloading a file using ktorrent and I was thinking how awesome would be if ktorrent could notify to my HTC one me using kde-connect that this file is already downloaded. I think that kde-connect could provide some kind of api to the others applications in order to communicate not only messages, texts, etc, but also other kind of information (completion of system task, alert system, or whatever).
    What do you think?

  30. I get thw follow error, so how can avoid this? or can you share debs?
    $ cmake -DCMAKE_INSTALL_PREFIX=/usr ./
    — Found Qt-Version 5.0.1 (using /usr/bin/qmake)
    CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
    Please set them or make sure they are set and tested correctly in the CMake files:
    QT_QT_INCLUDE_DIR
    used as include directory in directory /home/aliaksei/programs/kdeconnect-kde/CMakeFiles/CMakeTmp

    CMake Error: Internal CMake error, TryCompile configure of cmake failed

    CMake Error at /usr/share/kde4/apps/cmake/modules/FindKDE4Internal.cmake:1297 (message):
    Qt compiled without support for -fvisibility=hidden. This will break
    plugins and linking of some applications. Please fix your Qt installation
    (try passing –reduce-exports to configure).
    Call Stack (most recent call first):
    /usr/share/cmake-2.8/Modules/FindKDE4.cmake:95 (find_package)
    CMakeLists.txt:5 (find_package)

    — Configuring incomplete, errors occurred!

    1. Hi! same problem here, how did you solved it?

      i already have QT4 and QT5 development packages installed, but cannot get rid of that error on missing variable.

  31. And ofcourse thanks you a lot, i use kde connect for a while and it’s real great(but i can’t compile the latest one).
    One quastion: can I connect my phone and PC at workstaion, where PC connected by ethernet and phone by wifi? they are all in one domian.

    1. Make sure you have the development packages for Qt and KDE installed, that error looks like some Qt files can not be found. And you can be connected by Wifi or ethernet as long as it’s the same network.

  32. Thanks for this excellent work. However, I’m not able to connect neither my Galaxy S2 nor my Nexus 7’2013 to my Thinkpad X1 running Kubuntu 13.10 64bits. I’ve installed the app from google play on both devices. I’ve used the package manager in Kubuntu to install kdeconnect-kde on my laptop. I’ve added the widget to the panel on Kde. Then I want to the S2 and run the app. It sees my laptop but below the name it says something like “This device uses and older version of the protocol” in red (maybe that is the cause of the problem). I still try to connect. At kde a notification popup appears saying that the mobile is requesting pairing with two options accept or reject. I click accept and nothing happens until in the mobile a timeout error appears. The same happens in the nexus. Any help would be much appreciated! Thanks

    1. In F-Droid thye have the package which is still 0.3 (why ever there is no 0.4 available). Still I got the message but I can send a ping.

      But more is not possible

  33. Hello there!
    I’ve compiled the module on Debian (unstable, so yes I have QJson 0.8) and the plasmoid is up and running.
    I also have the android app.

    But they can’t find each other…

    Question: when you say wifi, do you mean it really has to be wifi or wired network is ok as long as it’s the same network? (192.168.0.*)

  34. Same here, got no compilation error and the plasmoid is running. But I can’t get a connection to my android phone. Is there a chance of looking in some sort of log file?

  35. I also have the problem as stated by eduqui. I’m using gentoo. As soon as I log in into my system kdeinit4 crashes with a segmentation fault. Is there Anything I can do to help to resolve the issue?

  36. Kubuntu or Ubuntu 13.10 Saucy add KDE Konnect to official repository, so ubuntu users now can quickly install KDE Connect via command:
    sudo aptitude install kdeconnect-kde

    I test this and all works well on Ubuntu and Android 4.3 (Samsung Galaxy S4 mini, Cyanogenmod ROM), but in current version I miss feature for connecting va Bluetooth, because WiFi eats too much battery.

  37. Just discovered kde connect this evening (by accident). Great work. can I volunteer to help with the Android end of things?

    Norman

  38. Works great on my Nexus 7 with 4.4 Kitkat and with my two distros openSUSE 12.3 KDE 4.10.5 and Chakra Linux with KDE 4.11.3.

    Keep the nice work up :D and thanks :D

  39. Hola, estoy teniendo problemas para conectar el pc a los dispositivos. La tablet y el movil sí se ven entre sí, pero el pc no ve a ninguno y ninguno ve al pc. ¿Cómo puedo arreglar esto? La instalación la hice con el “1-click install” de los paquetes de opensuse 13.1, puede que esté ahí el problema.

  40. Hi Albert!
    Your idea is awesome and maybe your stuff also. I can’t try your app because I can’t install it on my kde 4.8.5 in kubuntu 12.04.
    I’m a newbie on linux, so please help me how to install your app, because I can’t find any solution to install tar.xz extension. Whats this program’s dependencies?
    I can’t wait your answer and use my kubuntu with my note 2 :)

  41. Great Project!

    Unfortunately I’m afraid I’m 99% sure avahi support is broken on cyanogenmod 10.2 (20140110 nighly android 4.3.1)…
    I’m stuck at the very main screen saying “KDE Connect” and the list of connected and not paired devices keeps empty forever whatever I do.

    I actually dumped the network traffic and I do see a pkt broadcasted but just once and nothing else happens. I’ve triple checked the avahi support on the desktop side and its working as expected (tested with some p2p IM software).

    Any ideas? :D

  42. I have the app installed on my Stock N5 and have it sucessfully paired it with my Laptop too. When testing, it shows Pings, SMS / Phone ring notifications.
    But none of the other Apps notifications show up :(
    Is this by design?

  43. Thanks a lot for your work, this is one cool project – works really well on PclinuxOS64 (it even in their repository). Notifications work fine, Clementine is driven (only thing if a tap on key (like play/pause) is too short it does not register

    Can’t wait to be able to send text messages using my desktop and keyboard!!!

    1. One more thing to add : the kde connect app crashed and needed a restart after a SMS notification. Not sure why this was the second notification I received. A simple restart worked though ( pairing was still recorded, and the app remebered I was controlling Clementine)

  44. Buen trabajo! Lo acabo de probar en Mageia4 y funciona a la perfección. Un unico detalle es que hay q desactivar el firewall para hacer que la aplicacion en el celular detecte a KDE.

    Excelente que esta idea salga de un latino!

  45. Hi, I am trying to compile it but I got this error and I haven’t been able to find why or how to solve it… could anyone help me? Thanks!

    The error is when executing “make”:

    [ 54%] Building CXX object kded/plugins/share/CMakeFiles/kdeconnect_share.dir/shareplugin.o
    ~/Linux/programes/kde-connect/kdeconnect-kde/kded/plugins/share/shareplugin.cpp:29:32: fatal error: KJobTrackerInterface: The file or directory doesn’t exist.
    compilation terminated.
    make[2]: *** [kded/plugins/share/CMakeFiles/kdeconnect_share.dir/shareplugin.o] Error 1
    make[1]: *** [kded/plugins/share/CMakeFiles/kdeconnect_share.dir/all] Error 2
    make: *** [all] Error 2

    Regards,
    K.

  46. Anyone got the “browse phone” plugin to work? It said I needed sshfs, so I installed that, but now kdeconnect from the KDE Desktop does nothing when clicking “Browse” after the device is paired.

    1. First of all, I should call a big “WOOOAAAA” to Albert, Yuri and all the translators for the stunning work and effort they put in this life changing piece of code. As @emil said earlier on the comments:

      ‘Now this is epic! I love this, it is a perfect idea on how phones and desktops should be integrated. ‘

      I’d also want to thanks Eric Hameleers (aka AlienBOB), for the Slackware packages for KTown and KDE Connect that I’m running right now on my ‘current -multilib’ setup. They work like a charm out of the box.

      That being said, I’m almost in the same place as SaultDon. I did managed to ‘browse phone’, but I think not in the way it was designed to work.

      When I click on the widget and browse button (upper right corner, just above the battery indicator), sometimes (mostly) nothing appears to happen, sometimes (once in a while) the whole KWin crashes and restart by itself.

      Either way, I can see the following entries in the ps output:

      sshfs kdeconnect@[device_ip]:/storage/sdcard0 /home/[user]/.kde/share/apps/kdeconnect/[device_mac] -p 1739 -d -f -o IdentityFile=/home/[user]/.kde/share/apps/kdeconnect/key.pem -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null
      ssh -x -a -oClearAllForwardings=yes -oPort=1739 -oIdentityFile=/home/[user]/.kde/share/apps/kdeconnect/key.pem -oStrictHostKeyChecking=no -oUserKnownHostsFile=/dev/null -2 kdeconnect@[device_ip] -s sftp

      The second one is the ssh connection to the device, and the first one is the FUSE SSH mount point itself.

      After run mount:

      kdeconnect@[device_ip]:/storage/sdcard0 on /home/[user]/.kde/share/apps/kdeconnect/[device_mac] type fuse.sshfs (rw,nosuid,nodev,user=[user])

      So, it’s indeed mounted! At Dolphin, I see my device named just as I named it in the KDE Connect APK at location bar. This location bar points towards:

      kdeconnect://[device_mac]/

      When I click on it, nothing happens. I keep seeing the same directories and files I was seeing before clicking on it (~/, for instance).

      But, when I go to the terminal and cd into the mount point /home/[user]/.kde/share/apps/kdeconnect/[device_mac], BAMN! I can see the files sitting on my devices.

      If I type the same path on Dolphin, all files are there and I can perform operations on them.

      The weird thing is that when I type on Dolphin the path in the form kdeconnect://[device_mac]/ from the shortcut at the location bar, I get a ‘invalid protocol’ message, which not so clearly points me that the ‘kdeconnect:’ protocol of the URI is somehow not registered to KDE guts.

      I don’t know how to provide more information on that matter. My ~/.xsession-error and other system logs don’t say a word about KDE Connect and its crashes nor the error in the protocol. If someone point me out where to look more information to debug it, I’ll be glad to help.

      Thank you all and kudos for the entire project, again!

      1. It looks like you don’t have the KIO installed. We released a version without the KIO for Kubuntu 14.04, but then you should not have the file browsing plugin either. I think that you should contact the packager and see why KIO is not included.

        1. Thank you, Albert. I did a search for kio under AlienBOB’s ktown archive and found only audiocd, kdesdk-kioslaves and kio-mtp. No mention about kdeconnect specific kio. Could you point me to a packageable source so I could ask AlienBOB to included it in the next Slackware´s ktown release?

        2. I’m running Kubuntu 14.04 and there is a setting for remote filesystem browser, but there doesn’t seem to be a KIO as KWin crashes and then restarts.

      1. I managed to compile and install KDE Connect myself. It indeed solves the missing kio slave, which in turn solves the kdeconnect:// issue in Dolphin. Now I can see ‘All files’ and ‘Camera Pictures’ directories when I click on device at Dolphin’s location bar. Works for me from revision 3fff0a33.

        The only left bug still here is the KWin crashing sometimes when the fuse/sshfs is enabled/disabled. Apart of that, all is perfect now.

        I also warn Eric about the issue and solution. He replied that will take a look on the Slackware package this weekend.

        Thank you, Albert!

  47. This looks like a very cool project, discovered it by chance and the install of the arch package kdeconnect 0.5-1 went flawless. Installed the android app from the playstore on both my nexus 7 and htc desire, opened the firewall for 1714-1764 udp/tcp. I can see the udp broadcasts been sent from the phones but they do not reach the desktop machine. But the two sides do not connect and I guess this is because the wifi uses a different IPv4 subnet than the lan does.
    Desktop and smartphones can ping each other on IPv4 and IPv6 though.
    Pity there is no config option to skip the autodiscovery and just use a certain IP…

    Wishlist material

    1. I’m having the same problem – PC and phone are on different VLANs. Did you ever figure out how to pair them?

      1. unfortunately not. I sort of settled for less and installed AirDroid on my phone and my tablet, it runs in a browser and while it’s less elegant it still does what I need.

  48. For a couple of weeks now I’ve been playing with your very nice application.
    But there’s one thing I can’t get to work, to browse the Android devices (Nexus7 & 4) from my KDE laptop with Kubuntu 14.04 and 13.10.
    Dolphin shows the devices but reports an -Internal Error- and -No such object path ‘/modules/kdeconnect/devices/e73877b5979b59ce/sftp’- At first I installed the version of KDEConnect that’s in the repositories and last week I ireplaced it by the compiled version from Git.
    During the compile I did see a KIO (slave?) but it’s apparently not picked up by Dolphin.

    1. Same issue on my laptop with opensuse 13.1 64bit and ZTE blade (Android 4.3 – cyanogenmod 10.2). All features are working well, except file browsing in dolphin.
      (same error message)
      kdeconnect-kde 0.5.1-1.1
      kde-connect: 0.6.3
      I tried the Git version, but it gives the same error message.

  49. I discovered that notifications on icoming calls on Dual-Sim phones are showing only for first SIM. Second SIM is ignored.

  50. This looks very useful. Unfortunately I have to drop the firewall on my KDE system each time I want to pair, and then pop it back up again. I’ve tried opening the ports range suggested above (1714:1764) but each time I reboot I’ve got to go through the whole firewall down/up thing again.

    Are you using a different port for the initial device discovery?
    (for those who have got this working, I’m on openSUSE 13.1. Pointers welcome…)

    1. Iain Lennon: You can allow KDE Connect to get through the firewall in the Allowed Services section. I am also in 13.1

  51. I’m loving KDE Connect! Saves me many seconds by automatically copying texts & urls from my phone to computer. I’ve switched to KDE just to use this (been longtime LXDE)!!! Thanks!

  52. Ey, i love this app, i use it on ArchLinux with my android phone (MotoG), i have a question, there is a plugin to manage te system vol ??. Cheers!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s