aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2014-07-21 15:27:24 -0400
committerGravatar Joey Hess <joey@kitenet.net>2014-07-21 15:27:24 -0400
commit441111cab523215c6e4d0ac5095b63fe0187d14b (patch)
treeeb454366c97981037a858f7f64abfb2a5952d647 /doc
parent55c0fc2772dd35a0426f92aa5488ba9f09b8c5ab (diff)
webapp: Automatically install Konqueror integration scripts to get and drop files.
Based on the example from the tip, but modified to cd into the repo before running git-annex, since konqueror does not. Also, at least on my system, the directory is ~/.kde, not ~/.kde4. (konqueror 4.12.4) This commit was sponsored by Jürgen Peters.
Diffstat (limited to 'doc')
-rw-r--r--doc/tips/file_manager_integration.mdwn33
1 files changed, 6 insertions, 27 deletions
diff --git a/doc/tips/file_manager_integration.mdwn b/doc/tips/file_manager_integration.mdwn
index 6c6ac643f..9b02ffb17 100644
--- a/doc/tips/file_manager_integration.mdwn
+++ b/doc/tips/file_manager_integration.mdwn
@@ -3,10 +3,11 @@ annexed files to get or drop.
[[!toc]]
-## GNOME (nautilus)
+## GNOME (nautilus) and KDE (Dolphin/Konqueror)
-Recent git-annex comes with built-in nautilus integration. Just pick the
-action from the menu.
+Recent git-annex comes with built-in integration for the file managers of
+these desktop environments. These let you pick git-annex get and git-annex
+drop actions from the context menus when right-clicking on a file.
[[!img assistant/nautilusmenu.png]]
@@ -14,30 +15,8 @@ action from the menu.
This is set up by making simple scripts in
`~/.local/share/nautilus/scripts`, with names like "git-annex get"
-
-## KDE (Dolphin/Konqueror)
-
-Create a file `~/.kde4/share/kde4/services/ServiceMenus/git-annex.desktop` with the following contents:
-
- [Desktop Entry]
- Type=Service
- ServiceTypes=all/allfiles
- MimeType=all/all;
- Actions=GitAnnexGet;GitAnnexDrop;
- X-KDE-Priority=TopLevel
- X-KDE-Submenu=Git-Annex
- X-KDE-Icon=git-annex
- X-KDE-ServiceTypes=KonqPopupMenu/Plugin
-
- [Desktop Action GitAnnexGet]
- Name=Get
- Icon=git-annex
- Exec=git-annex get --notify-start --notify-finish -- %U
-
- [Desktop Action GitAnnexDrop]
- Name=Drop
- Icon=git-annex
- Exec=git-annex drop --notify-start --notify-finish -- %U
+and by making a
+`~/.kde/share/kde4/services/ServiceMenus/git-annex.desktop file.
## XFCE (Thunar)