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:12:36 +0300
commit765f18886be7b3c9406e86f6c065c5894f5e4bed (patch)
treed5bac4f70f34ecfef60cf3b609355b9bbfd801d1
parent2bc7176522c8cb2b154894312e2687686d7885d8 (diff)
downloadtdebase-765f18886be7b3c9406e86f6c065c5894f5e4bed.tar.gz
tdebase-765f18886be7b3c9406e86f6c065c5894f5e4bed.zip
Klipper: add Copy Full Path action for Konqueror
Signed-off-by: Mavridis Philippe <[email protected]>
-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