Install desktop file to open files on remote device
This commit is contained in:
parent
d9b5a4ce91
commit
52603bfe93
2 changed files with 11 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
||||||
install (FILES "kdeconnect.contract" DESTINATION ${CMAKE_INSTALL_PREFIX}/share/contractor/)
|
install (FILES "kdeconnect.contract" DESTINATION ${CMAKE_INSTALL_PREFIX}/share/contractor/)
|
||||||
install (FILES "kdeconnect-thunar.desktop" DESTINATION ${CMAKE_INSTALL_PREFIX}/share/Thunar/sendto/)
|
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)
|
if(NOT SAILFISHOS)
|
||||||
install(FILES org.kde.kdeconnect.kcm.appdata.xml DESTINATION ${KDE_INSTALL_METAINFODIR})
|
install(FILES org.kde.kdeconnect.kcm.appdata.xml DESTINATION ${KDE_INSTALL_METAINFODIR})
|
||||||
|
|
10
data/org.kde.kdeconnect_open.desktop
Normal file
10
data/org.kde.kdeconnect_open.desktop
Normal file
|
@ -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;
|
Loading…
Reference in a new issue