summaryrefslogtreecommitdiff
path: root/doc/bugs/dolphin_integration_file_is_broken.mdwn
diff options
context:
space:
mode:
authorGravatar silvio <silvio@web>2015-04-26 13:45:35 +0000
committerGravatar admin <admin@branchable.com>2015-04-26 13:45:35 +0000
commit8082811f2aeb7414982cd431aaf2e3a8e359bc95 (patch)
tree22cc228aee4003c9f00403033ba5d9cad400e278 /doc/bugs/dolphin_integration_file_is_broken.mdwn
parente7ca4325c60566a88b8b022843efb10c74b32bab (diff)
Diffstat (limited to 'doc/bugs/dolphin_integration_file_is_broken.mdwn')
-rw-r--r--doc/bugs/dolphin_integration_file_is_broken.mdwn10
1 files changed, 9 insertions, 1 deletions
diff --git a/doc/bugs/dolphin_integration_file_is_broken.mdwn b/doc/bugs/dolphin_integration_file_is_broken.mdwn
index 41a854e47..4b0e11cae 100644
--- a/doc/bugs/dolphin_integration_file_is_broken.mdwn
+++ b/doc/bugs/dolphin_integration_file_is_broken.mdwn
@@ -4,10 +4,18 @@ git annex will automatically create the file
.kde/share/kde4/services/ServiceMenus/git-annex.desktop
-However the actions created do not work because the variable used is %U (file:/// style URL) which git annex does not understand. All %U should be replaced by %F.
+However the actions created do not work because the variable used is %U (file:/// style URL) which git annex does not understand.
According to http://standards.freedesktop.org/desktop-entry-spec/latest/ar01s06.html
+Also the escaping seems broken. The following line is one that works for me.
+
+ Exec=sh -c 'cd "$(dirname -- "$1")" && git-annex get --notify-start --notify-finish -- "$1"' command_string_is_ignored %f
+
+or simply
+
+ Exec=git-annex get --notify-start --notify-finish -- %F
+
### What steps will reproduce the problem?