Jump to content

KDE Connect: Difference between revisions

From NixOS Wiki
m Minor update
Malix (talk | contribs)
m grammar
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
[https://apps.kde.org/de/kdeconnect/ KDE Connect] is an application with various functions for integrating a phone and the Linux computer. It allows you to send files to the other device, control its media playback, send remote control inputs, display its notifications and much more. KDE Connect is also available for the GNOME desktop environment as [https://extensions.gnome.org/extension/1319/gsconnect/ GSConnect] extension.
[https://apps.kde.org/de/kdeconnect/ KDE Connect] is an application for the [[KDE Plasma]] desktop environment with various functions for integrating a phone and the Linux computer. It allows you to send files to the other device, control its media playback, send remote control inputs, display its notifications and much more.  


===Installation===
[https://apps.kde.org/de/kdeconnect/ KDE Connect] is also available for the [[GNOME]] desktop environment using the [https://extensions.gnome.org/extension/1319/gsconnect/ GSConnect] extension.
==== KDE ====
 
== Installation ==
 
=== [[KDE Plasma]] ===
 
==== [[NixOS]] ====
<syntaxhighlight lang="nix">
<syntaxhighlight lang="nix">
programs.kdeconnect.enable = true;
programs.kdeconnect.enable = true;
</syntaxhighlight>
</syntaxhighlight>


==== KDE via [[Home Manager]] ====
==== [[Home Manager]] ====
<syntaxhighlight lang="nix">
<syntaxhighlight lang="nix">
home-manager.users.username.services.kdeconnect.enable = true;
home-manager.users.username.services.kdeconnect.enable = true;
Line 17: Line 22:
</syntaxhighlight>
</syntaxhighlight>


==== GSConnect (for GNOME) ====
=== [[GNOME]] (with [https://extensions.gnome.org/extension/1319/gsconnect/ GSConnect]) ===
 
==== [[NixOS]] ====
<syntaxhighlight lang="nix">
<syntaxhighlight lang="nix">
programs.kdeconnect = {
programs.kdeconnect = {
Line 24: Line 31:
};
};
</syntaxhighlight>
</syntaxhighlight>
Then it is necessary to enable "GSConnect" extension in the Gnome "Extensions" application (or via dconf).
Then it is necessary to enable "[https://extensions.gnome.org/extension/1319/gsconnect/ GSConnect]" extension in the Gnome Extensions application (or via dconf).


==== GSConnect (for GNOME) via [[Home Manager]] ====
==== [[Home Manager]] ====
<syntaxhighlight lang="nix">
<syntaxhighlight lang="nix">
home-manager.users.username.programs.gnome-shell = {
home-manager.users.username.programs.gnome-shell = {

Latest revision as of 20:03, 11 September 2025

KDE Connect is an application for the KDE Plasma desktop environment with various functions for integrating a phone and the Linux computer. It allows you to send files to the other device, control its media playback, send remote control inputs, display its notifications and much more.

KDE Connect is also available for the GNOME desktop environment using the GSConnect extension.

Installation

programs.kdeconnect.enable = true;
home-manager.users.username.services.kdeconnect.enable = true;

networking.firewall = rec {
  allowedTCPPortRanges = [ { from = 1714; to = 1764; } ];
  allowedUDPPortRanges = allowedTCPPortRanges;
};
programs.kdeconnect = {
  enable = true;
  package = pkgs.gnomeExtensions.gsconnect;
};

Then it is necessary to enable "GSConnect" extension in the Gnome Extensions application (or via dconf).

home-manager.users.username.programs.gnome-shell = {
  enable = true;
  extensions = [{ package = pkgs.gnomeExtensions.gsconnect; }];
};

networking.firewall = rec {
  allowedTCPPortRanges = [ { from = 1714; to = 1764; } ];
  allowedUDPPortRanges = allowedTCPPortRanges;
};

This will auto-enable the extension via dconf.