summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Félix Sipma <felix.sipma@no-log.org>2017-10-18 14:14:37 +0200
committerGravatar Félix Sipma <felix.sipma@no-log.org>2017-10-18 14:27:56 +0200
commit68fbef5e5663bf7850cab4afdd1addbe9a06c2f8 (patch)
tree9a3bd03e1bec4cf3eb0101931e18b9df0817a97c
parent9031c09cde4d6ed668c18ff6ee064172f4a9af43 (diff)
use plasma 5 location for ServiceMenus files on linux
-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)