KDEConnect

From Gentoo Wiki
Jump to:navigation Jump to:search

KDEConnect is an application that lets two devices shares clipboard, files, and other information. It is similar to Apple's AirDrop in functionality. It is mainly used between a phone and a computer to easily share files and notifications.

A KDEConnect implementation for Gnome can be found at gnome-extra/gnome-shell-extension-gsconnect.

Installation

USE flags

USE flags for kde-misc/kdeconnect Adds communication between KDE Plasma and your smartphone

+handbook Enable handbooks generation for packages by KDE
X Enable remote input mousepad plugin using x11-libs/libfakekey
bluetooth Enable Bluetooth Support
debug Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces
pulseaudio Enable system volume control plugin using media-libs/libpulse
selinux !!internal use only!! Security Enhanced Linux support, this must be set by the selinux profile or breakage will occur
telephony Enable telephony plugin using kde-frameworks/modemmanager-qt
test Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test but can be toggled independently)
zeroconf Support for DNS Service Discovery (DNS-SD)

Emerge

root #emerge --ask kde-misc/kdeconnect

Additional software

To use this application, KDEConnect needs to be installed on both devices what will communicate.

Troubleshooting

Use KDEConnect with a firewall

If your computer has a firewall (like net-firewall/nftables), then the ports 1714-1764 needs to be open. For Nftables, the following snippet can be used.

FILE /etc/nftables.rules.d/kdeconnect.rulesAllow TCP and UDP for KDEConnect
#! /sbin/nft -f
table inet filter {
        chain input {
                tcp dport 1714-1764 accept comment "accept KDE Connect functionality"
                udp dport 1714-1764 accept comment "accept KDE Connect functionality"
        }
}

Removal

Unmerge

root #emerge --ask --depclean --verbose kde-misc/kdeconnect

See also

  • KDE — a free software community, producing a wide range of applications including the popular Plasma desktop environment.

External resources