From 9f70e7d0bdfbda6ecc4e5f5eb7eb9382ec6de2bd Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Thu, 15 Aug 2019 18:53:37 +0200 Subject: [PATCH] mambatray: remove usage and dependency for discover; use 'pkcon refresh force' for the check updates function --- src/mambatray | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/mambatray b/src/mambatray index 2f82baa..57eb3b6 100755 --- a/src/mambatray +++ b/src/mambatray @@ -164,7 +164,6 @@ class SystemTrayIcon(QSystemTrayIcon): def softwareManager(self): #self.setProxyForSmart() if desktop_session == 'plasma': - #softwareManagerProcess.execute("/usr/bin/plasma-discover", ['--mode', 'Browsing']) softwareManagerProcess.execute("/usr/bin/apper") elif desktop_session == 'kde': softwareManagerProcess.execute("/opt/kde/bin/apper") @@ -174,7 +173,7 @@ class SystemTrayIcon(QSystemTrayIcon): def softwareCheckUpgrades(self): #self.setProxyForSmart() if desktop_session == 'plasma': - softwareCheckUpgradesProcess.start("/usr/bin/plasma-discover", ['--mode', 'Update']) + softwareCheckUpgradesProcess.start("/usr/bin/pkcon", ['refresh', 'force']) elif desktop_session == 'kde': softwareCheckUpgradesProcess.start("/opt/kde/bin/apper", ['--updates']) else: