From 765f18886be7b3c9406e86f6c065c5894f5e4bed Mon Sep 17 00:00:00 2001 From: Mavridis Philippe Date: Fri, 9 Aug 2024 13:49:31 +0300 Subject: Klipper: add Copy Full Path action for Konqueror Signed-off-by: Mavridis Philippe --- klipper/CMakeLists.txt | 7 +++++++ klipper/copy-full-path.desktop | 8 ++++++++ 2 files changed, 15 insertions(+) create mode 100644 klipper/copy-full-path.desktop (limited to 'klipper') 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 -- cgit v1.2.1