/etc/xdg/discover_ktexteditor_codesnippets_core.knsrc is in plasma-discover-common 5.8.5-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | [KNewStuff3]
#ProvidersUrl=http://.../provider.xml
ProvidersUrl=http://download.kde.org/ocs/providers.xml
Categories=KTextEditor Snippet
UploadCategories=KTextEditor Snippet
# # How to check? Any number of the lines below, 'ifpossible' is default
# ChecksumPolicy=... # never/ifpossible/always
# SignaturePolicy=... # never/ifpossible/always
# # Where to install? Exactly one of the lines below
# # Note: if all three are missing, entry is considered remote resource
# StandardResource=wallpapers # becomes $KDEHOME/share/wallpapers
# becomes $KDEHOME/share/apps/appname/datadir
TargetDir=/ktexteditor_snippets/ghns
# InstallPath=.dir/subdir # becomes $HOME/.dir/subdir
# # How to name the files?
#doesn't use payload file name
CustomName=true
# # What to do after installation? Any number of the lines below
# # unpack the downloaded archive
# Uncompress=true
# # post-installation command
# InstallationCommand=dbus-send ... %f ...
Extends=org.kde.kate.desktop
|