SDB:KDE Connect

Jump to: navigation, search


KDE Connect is a project that aims to allow intercommunication of all your devices. For example, with KDE Connect you can receive your phone notifications on your computer, receive notifications from your computer onto your phone or just use your phone as a remote control for your desktop. To achieve this, KDE Connect implements a secure communication protocol over the network. KDE Connect has provisions for any developer to create plugins on top of the protocol to further extend its capabilities. Currently there are KDE Connect clients on KDE, Android and Blackberry. iPhone support is forthcoming.


Tested on openSUSE Recommended articles Related articles
Icon-checked.png

Icon-manual.png Icon-help.png


Installation

The openSUSE 42.1 package is available on the KDE:Extra repository. For 42.2, 42.3 and Tumbleweed, it is available in the main repository. If you use desktop environment other than KDE's Plasma, you might also want to install indicator-kdeconnect, that provides a system tray as a GUI for other desktops.

By default, KDE Connect is installed in openSUSE Leap 42.2 as well as Tumbleweed when installing KDE. Use the following instructions, should you need to install it.

openSUSE 1 Click Install

https://software.opensuse.org/package/kdeconnect-kde

Terminal Install

Instructions for copy/paste instructions into a terminal such as Konsole.

openSUSE Tumbleweed

sudo zypper in kdeconnect-kde

openSUSE Leap 15.0, 42.3 and 42.2 (42.2 has reached end of life)

sudo zypper in kdeconnect-kde

openSUSE Leap 42.1

42.1 had reached its end of life and is no longer supported so setting this up may not work:

sudo zypper --gpg-auto-import-keys ar -f http://download.opensuse.org/repositories/KDE:/Extra/openSUSE_Leap_42.1/
sudo zypper ref
sudo zypper in kdeconnect-kde

Android Installation

The app for Android can be found in both the Google Play Store and the free store F-Droid.


Firefox Extension

If you are a Firefox user, this extension] might be of your interest.


Configuration

In order for the secure communication to take place, ports in the firewall have to be opened up.

openSUSE Firewall Port Modifications

  • Open the YaST Control Center
  • Select Firewall
  • Within the Firewall configuration window, select Allowed Services
  • Select the Service to Allow drop-down, search for KDE Connect then Add
  • On the Firewall Configuration window, select Next followed by Finish

The Firewall Service settings will save and the service will restart.

Firewalld Port Modification

  • Open the YaST Control Center
  • Select Firewall
  • The Configuration for modification defaults under Runtime. Any changes you make will only affect the current Runtime of the machine
  • Note the Zone that the network is running and ensure that the current zone is selected under the Zones tab.
  • In the Services tab, locate and check kdeconnect-kde in the window.
  • In the Ports tab, click on Add to add the following ports
    • Port/Port Range: 1714-1764, Protocol: tcp
    • Port/Port Range: 1714-1764, Protocol: udp
  • If you would like to make this change permanent under the selected Zone, select Options > Runtime to Permanent
  • If no further changes to the firewall are required, close the Configuration window, changes are immediate.

The Firewall adjustments are complete.

Android Configuration

Set the device name to something that makes sense that you will recognize. This is important for the pairing process.


Pairing Devices

Most networks should allow automatic discovery of the devices running KDE Connect. Here are some things you can try if it is not automatically discovering

On the Android device select, from the menu, Add a Device by IP Should the device not show up due to services being blocked by the network you can add a device by IP

From any device, select Request Pair

Note: When pairing from Desktop to Android, be sure you are within the Android KDE Connect application

Once paired, scroll through the options to determine how much information you want communicated back and forth between devices.


Troubleshooting

Devices are running KDE Connect, but they can't see each other

  • Ensure that the devices in question are on the same network
  • Ensure the necessary firewall ports have been opened. If they have been opened, try restarting the firewall daemon using the YaST Firewall Tool

KDE Connect crashes or restarts when trying to pair with another device

  • Some times, a corrupt config file may cause KDE Connect to crash when trying to pair with a device. In that case, deleting the config file might help.
~/.kde4/share/config/kdeconnectrc

or

~/.config/kdeconnect

The devices suddenly stop communicating

If both devices are on the network and the firewall is properly configured but no notifications are being displayed one or the other may device have fallen asleep. Likely the service stopped or was suspended on the mobile device.

  • Open the KDE Connect settings on either device and ping the opposite or select Refresh to force connection.



Development

If you are interested in contributing to KDE Connect, please join the mailing list of the project. You might also want to read Albert Vaca's development blog].

You can find the sources in the following repositories:

https://projects.kde.org/projects/extragear/network/kdeconnect-android/repository

https://projects.kde.org/projects/extragear/network/kdeconnect-kde/repository

Mailing list

https://mail.kde.org/mailman/listinfo/kdeconnect


See also

Related articles

External links