SDB:KDE Connect
Installation
KDE Connect is available for openSUSE Leap and Tumbleweed from the main repository. If you use a 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. Use the following instructions, should you need to install it.
openSUSE Direct Install
https://software.opensuse.org/package/kdeconnect-kde
Terminal Install
Instructions for copy/paste into a terminal such as Konsole.
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.
Firewalld Port Modification
The easiest way to configure firewalld is through the terminal. The other effective way is to install firewall-config and use that GUI interface.
Firewalld CLI
Note the zone of your current interface. With Plasma, this is done within the Network Manager. If you do not specify the zone of the interface, it defaults to public. The example below is adjusting the default zone using the kdeconnect service file for firewalld (/usr/lib/firewalld/services/kdeconnect-kde.xml). This service holds the list of ports required for a proper operation. For most user cases, this is an acceptable default.
sudo firewall-cmd --zone=public --permanent --add-service=kdeconnect-kde sudo firewall-cmd --reload
Firewalld GUI
The packaged firewall-config must be installed to make this modification.
sudo zypper install firewall-config
- Run the application firewall-config
- Enter the root password
- 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.
Reload the Firewall by Selecting Options > Reload Firewalld
Android Configuration
Set the device name to something that makes sense that you will recognize. This is important for the pairing process.
GSConnect (for GNOME)
GSConnect is a complete implementation of the KDE Connect protocol for the GNOME desktop environment, designed to provide the same functionality (notifications, file sharing, remote control, etc.) without depending on the KDE Connect desktop application. It integrates with GNOME Shell and related components such as Nautilus, Chrome and Firefox.
For GNOME users on openSUSE Leap or Tumbleweed, GSConnect can be used as an alternative to the KDE Connect desktop application when running the GNOME desktop. :contentReference[oaicite:1]{index=1}
To use GSConnect, install the "gnome-shell-extension-gsconnect" package (or enable the extension via the GNOME Extensions website), then pair with your Android device using the KDE Connect Android app.
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:
From any device, select Request Pair. Note: When pairing from Desktop to Android, be sure you are within the Android KDE Connect application.
Should the device not show up due to services being blocked by the network you can add a device by IP. On the Android device select, from the menu, Add a Device by IP.
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
- Go to KDE Connect Settings (on Android and/or openSUSE) and manually refresh the devices
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
- KDE Connect Community Page
- Firefox Extension
- KDE Connect on Google Play Store
- F-Droid free Android Store.
- KDE Connect CLI Usage