Support for new plasma-firewall kcm module for Plasma
This commit is contained in:
parent
76e96a26b0
commit
e7499ad3e2
@ -210,7 +210,7 @@ class SystemTrayIcon(QSystemTrayIcon):
|
|||||||
|
|
||||||
def networkFirewallConfigure(self):
|
def networkFirewallConfigure(self):
|
||||||
if desktop_session == 'kde' or desktop_session == 'plasma':
|
if desktop_session == 'kde' or desktop_session == 'plasma':
|
||||||
networkFirewallConfigureProcess.execute("/opt/kde/bin/kcmshell4", list(set(['ufw'])))
|
networkFirewallConfigureProcess.execute("/usr/bin/kcmshell5", list(set(['firewall'])))
|
||||||
else:
|
else:
|
||||||
networkFirewallConfigureProcess.execute("/usr/bin/gufw")
|
networkFirewallConfigureProcess.execute("/usr/bin/gufw")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user