This commit is contained in:
parent
f7c45d5458
commit
989b7aef62
1 changed files with 9 additions and 1 deletions
|
@ -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?
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue