KDE Connect: Difference between revisions

From NixOS Wiki
Init kde-connect page
 
Klinger (talk | contribs)
Category:Applications Category:GNOME Category:KDE, Beginning sentence, link to website, installation heading added, wording improved.
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 under the Gnome desktop environment under the name “GSConnect”.
===Installation===
==== KDE ====
==== KDE ====
<syntaxhighlight lang="nix">
<syntaxhighlight lang="nix">
Line 20: Line 23:
   package = pkgs.gnomeExtensions.gsconnect;
   package = pkgs.gnomeExtensions.gsconnect;
};
};
</syntaxhighlight>Then enable "GSConnect" extension.
</syntaxhighlight>
Then it is necessary to enable "GSConnect" extension in the Gnome "Extensions" application (or via dconf).


==== GSConnect via [[Home Manager]] ====
==== GSConnect (for GNOME) via [[Home Manager]] ====
<syntaxhighlight lang="nix">
<syntaxhighlight lang="nix">
home-manager.users.username.programs.gnome-shell = {
home-manager.users.username.programs.gnome-shell = {
Line 33: Line 37:
   allowedUDPPortRanges = allowedTCPPortRanges;
   allowedUDPPortRanges = allowedTCPPortRanges;
};
};
</syntaxhighlight>This will auto-enable extension for you.
</syntaxhighlight>
This will auto-enable the extension..
 
[[Category:Applications]]
[[Category:GNOME]]
[[Category:KDE]]

Revision as of 19:45, 13 September 2024

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 under the Gnome desktop environment under the name “GSConnect”.

Installation

KDE

programs.kdeconnect.enable = true;

KDE via Home Manager

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

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

GSConnect (for GNOME)

programs.kdeconnect = {
  enable = true;
  package = pkgs.gnomeExtensions.gsconnect;
};

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

GSConnect (for GNOME) via Home Manager

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..