From 52603bfe9309e0572eb5f0563aef79f657b66211 Mon Sep 17 00:00:00 2001 From: Nicolas Fella Date: Fri, 19 Jul 2019 21:22:29 +0000 Subject: [PATCH] Install desktop file to open files on remote device --- data/CMakeLists.txt | 1 + data/org.kde.kdeconnect_open.desktop | 10 ++++++++++ 2 files changed, 11 insertions(+) create mode 100644 data/org.kde.kdeconnect_open.desktop diff --git a/data/CMakeLists.txt b/data/CMakeLists.txt index 555e5cef8..1a7c00a4f 100644 --- a/data/CMakeLists.txt +++ b/data/CMakeLists.txt @@ -1,5 +1,6 @@ install (FILES "kdeconnect.contract" DESTINATION ${CMAKE_INSTALL_PREFIX}/share/contractor/) install (FILES "kdeconnect-thunar.desktop" DESTINATION ${CMAKE_INSTALL_PREFIX}/share/Thunar/sendto/) +install(PROGRAMS org.kde.kdeconnect_open.desktop DESTINATION ${XDG_APPS_INSTALL_DIR}) if(NOT SAILFISHOS) install(FILES org.kde.kdeconnect.kcm.appdata.xml DESTINATION ${KDE_INSTALL_METAINFODIR}) diff --git a/data/org.kde.kdeconnect_open.desktop b/data/org.kde.kdeconnect_open.desktop new file mode 100644 index 000000000..9f08f5c14 --- /dev/null +++ b/data/org.kde.kdeconnect_open.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +GenericName=Open on connected device via KDE Connect +Name=Open on connected device via KDE Connect +Comment=Open on a connected device using KDE Connect +MimeType=*/*; +Exec=kdeconnect-handler --open %U +Icon=kdeconnect +Type=Service +Terminal=false +Categories=Qt;KDE;Network;