summaryrefslogtreecommitdiff
path: root/doc/bugs/dolphin_integration_file_is_broken.mdwn
blob: 2f2fc1c4e78b744938e8035da06ee274ff012fb9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
### Please describe the problem.

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.

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?


### What version of git-annex are you using? On what operating system?

5.20141125

### Please provide any additional information below.

[[!format sh """
# If you can, paste a complete transcript of the problem occurring here.
# If the problem is with the git-annex assistant, paste in .git/annex/daemon.log


# End of transcript or log.
"""]]

> [[fixed|done]]; confirmed the new version still works on filenames with
> spaces in them. --[[Joey]]