From d3a379386e32a39da5ff25e973ccaad432a2e901 Mon Sep 17 00:00:00 2001 From: Aleix Pol Date: Mon, 10 Nov 2014 04:02:03 +0100 Subject: [PATCH] Install a desktop file to use the plasmoid in a windowed mode It uses a --statusnotifier modifier that will be available since plasma 5.2 that will place it in the system tray. --- CMakeLists.txt | 2 ++ kdeconnect-non-plasma.desktop | 11 +++++++++++ 2 files changed, 13 insertions(+) create mode 100755 kdeconnect-non-plasma.desktop diff --git a/CMakeLists.txt b/CMakeLists.txt index 84d45ea5e..b4678cb21 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -33,3 +33,5 @@ add_subdirectory(cli) add_subdirectory(fileitemactionplugin) add_subdirectory(tests) + +install(PROGRAMS kdeconnect-non-plasma.desktop DESTINATION ${XDG_APPS_INSTALL_DIR}) diff --git a/kdeconnect-non-plasma.desktop b/kdeconnect-non-plasma.desktop new file mode 100755 index 000000000..60b7ae482 --- /dev/null +++ b/kdeconnect-non-plasma.desktop @@ -0,0 +1,11 @@ +[Desktop Entry] +Name=KDE Connect +Comment=Reach out to your devices +Exec=plasmawindowed org.kde.kdeconnect --statusnotifier +Icon=kdeconnect +Type=Application +Terminal=false +Categories=Qt;KDE;Network + +NotShowIn=KDE;Plasma +