use plasma 5 location for ServiceMenus files on linux

This commit is contained in:
Félix Sipma 2017-10-18 14:14:37 +02:00
parent 65847905ca
commit 79cfae8eaf
2 changed files with 3 additions and 2 deletions

View file

@ -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)

View file

@ -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)