summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMavridis Philippe <[email protected]>2024-08-09 13:49:31 +0300
committerMavridis Philippe <[email protected]>2024-08-21 19:14:14 +0300
commit6659eb22110b228433be76132fd71ad0cf3994ec (patch)
tree4eb078a9f069ed8545582ea8194a86debe841862
parent51fdc21a48e4e576f83a778a93d3f1e52732d88a (diff)
downloadtdebase-6659eb22110b228433be76132fd71ad0cf3994ec.tar.gz
tdebase-6659eb22110b228433be76132fd71ad0cf3994ec.zip
Klipper: add Copy Full Path action for Konqueror
Signed-off-by: Mavridis Philippe <[email protected]> (cherry picked from commit 765f18886be7b3c9406e86f6c065c5894f5e4bed)
-rw-r--r--klipper/CMakeLists.txt7
-rw-r--r--klipper/copy-full-path.desktop8
2 files changed, 15 insertions, 0 deletions
diff --git a/klipper/CMakeLists.txt b/klipper/CMakeLists.txt
index 345b05149..86362111a 100644
--- a/klipper/CMakeLists.txt
+++ b/klipper/CMakeLists.txt
@@ -42,6 +42,13 @@ tde_create_translated_desktop(
OUTPUT_NAME klipperrc
PO_DIR klipper-desktops
)
+
+tde_create_translated_desktop(
+ SOURCE copy-full-path.desktop
+ DESTINATION ${DATA_INSTALL_DIR}/konqueror/servicemenus
+ PO_DIR libkonq-desktops
+)
+
install( FILES klipperrc.upd klippershortcuts.upd DESTINATION ${KCONF_UPDATE_INSTALL_DIR} )
install( PROGRAMS klipper-1-2.pl klipper-trinity1.sh DESTINATION ${KCONF_UPDATE_INSTALL_DIR} )
diff --git a/klipper/copy-full-path.desktop b/klipper/copy-full-path.desktop
new file mode 100644
index 000000000..32264550a
--- /dev/null
+++ b/klipper/copy-full-path.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+X-TDE-ServiceTypes=all/allfiles,inode/directory
+Actions=CopyFullPath
+
+[Desktop Action CopyFullPath]
+Name=Copy full path
+Icon=edit-copy
+Exec=klipper; dcop klipper klipper setClipboardContents "%U" \ No newline at end of file