summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Assistant/Install.hs3
-rw-r--r--doc/tips/file_manager_integration.mdwn2
2 files changed, 3 insertions, 2 deletions
diff --git a/Assistant/Install.hs b/Assistant/Install.hs
index 175888e9a..aac2a50ce 100644
--- a/Assistant/Install.hs
+++ b/Assistant/Install.hs
@@ -107,7 +107,8 @@ installFileManagerHooks program = do
-- KDE
home <- myHomeDir
- let kdeServiceMenusdir = home </> ".kde" </> "share" </> "kde4" </> "services" </> "ServiceMenus"
+ userdata <- userDataDir
+ let kdeServiceMenusdir = userdata </> "kservices5" </> "ServiceMenus"
createDirectoryIfMissing True kdeServiceMenusdir
writeFile (kdeServiceMenusdir </> "git-annex.desktop")
(kdeDesktopFile actions)
diff --git a/doc/tips/file_manager_integration.mdwn b/doc/tips/file_manager_integration.mdwn
index cd4218ff2..36e7add68 100644
--- a/doc/tips/file_manager_integration.mdwn
+++ b/doc/tips/file_manager_integration.mdwn
@@ -22,7 +22,7 @@ Even more recent git-annex comes with built-in integration with Konqueror.
[[!img assistant/konquerormenu.png]]
This is set up by git-annex creating a
-`~/.kde/share/kde4/services/ServiceMenus/git-annex.desktop file.
+`$XDG_DATA_HOME/kservices5/ServiceMenus/git-annex.desktop` file.
## Xfce (Thunar)