summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFélix Sipma <felix.sipma@no-log.org>2017-10-18 14:14:37 +0200
committerFélix Sipma <felix.sipma@no-log.org>2017-10-18 14:27:56 +0200
commit79cfae8eafbcb8f4701ab700a5bcc1bd05aadf73 (patch)
treed34b5057cb7f0aef611a803dc5b7433ca1a1c74a
parent65847905ca225cc10ac7013612214654101da47b (diff)
use plasma 5 location for ServiceMenus files on linuxplasma5
-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 175888e..aac2a50 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 cd4218f..36e7add 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)