From 184b490c78a3a3e5ae25105c08b19fc375e8c64c Mon Sep 17 00:00:00 2001 From: Chris Holland Date: Sun, 13 May 2018 19:07:49 -0400 Subject: [PATCH] Update knsrc to use kpackagetool5 commands kwinswitcher.knsrc, kwinscripts.knsrc, kwineffect.knsrc It seems the kwineffect.desktop was (and still is) invalid, as it does not show up in `kpackagetool5 --list-types`. To test, I overwrite the /etc/xdg/*.knsrc, then opened the GHNS dialogs and installed stuff. Differential Revision: https://phabricator.kde.org/D12249 --- kcmkwin/kwincompositing/kwineffect.knsrc | 4 ++-- kcmkwin/kwinscripts/kwinscripts.knsrc | 4 ++-- kcmkwin/kwintabbox/kwinswitcher.knsrc | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/kcmkwin/kwincompositing/kwineffect.knsrc b/kcmkwin/kwincompositing/kwineffect.knsrc index c60d424b4b..7d138b4d61 100644 --- a/kcmkwin/kwincompositing/kwineffect.knsrc +++ b/kcmkwin/kwincompositing/kwineffect.knsrc @@ -41,5 +41,5 @@ Name[zh_TW]=視窗管理員效果 ProvidersUrl=https://download.kde.org/ocs/providers.xml Categories=KWin Effects StandardResource=tmp -InstallationCommand=plasmapkg2 -t kwineffect -i %f -UninstallCommand=plasmapkg2 -t kwineffect -r %f +InstallationCommand=kpackagetool5 --type KWin/Effect --install %f +UninstallCommand=kpackagetool5 --type KWin/Effect --remove %f diff --git a/kcmkwin/kwinscripts/kwinscripts.knsrc b/kcmkwin/kwinscripts/kwinscripts.knsrc index ccc8bfadfe..0fcfbcc98b 100644 --- a/kcmkwin/kwinscripts/kwinscripts.knsrc +++ b/kcmkwin/kwinscripts/kwinscripts.knsrc @@ -40,5 +40,5 @@ Name[zh_TW]=視窗管理員指令稿 ProvidersUrl=https://download.kde.org/ocs/providers.xml Categories=KWin Scripts StandardResource=tmp -InstallationCommand=plasmapkg2 -t kwinscript -i %f -UninstallCommand=plasmapkg2 -t kwinscript -r %f +InstallationCommand=kpackagetool5 --type KWin/Script --install %f +UninstallCommand=kpackagetool5 --type KWin/Script --remove %f diff --git a/kcmkwin/kwintabbox/kwinswitcher.knsrc b/kcmkwin/kwintabbox/kwinswitcher.knsrc index 97018f5204..5dd5cf4ad9 100644 --- a/kcmkwin/kwintabbox/kwinswitcher.knsrc +++ b/kcmkwin/kwintabbox/kwinswitcher.knsrc @@ -41,5 +41,5 @@ Name[zh_TW]=視窗切換器佈局 ProvidersUrl=https://download.kde.org/ocs/providers.xml Categories=KWin Switching Layouts StandardResource=tmp -InstallationCommand=plasmapkg2 -t windowswitcher -i %f -UninstallCommand=plasmapkg2 -t windowswitcher -r %f +InstallationCommand=kpackagetool5 --type KWin/WindowSwitcher --install %f +UninstallCommand=kpackagetool5 --type KWin/WindowSwitcher --remove %f