fix: start calamares using pkexec
Using "sudo -E" to start calamares causes an issue in plasma5 if single click is activated: when selecting partitions in manual partitioning, a single click/right click is considered a double click, opening the configuration dialog instead of selecting the partition.
This commit is contained in:
parent
e956bc2d4a
commit
0db569cd79
@ -245,7 +245,7 @@ class ManjaroHello():
|
||||
"""Event for differents actions."""
|
||||
name = action.get_name()
|
||||
if name == "install":
|
||||
subprocess.Popen(["sudo", "-E", "calamares"])
|
||||
subprocess.Popen(["pkexec", "calamares"])
|
||||
elif name == "autostart":
|
||||
self.set_autostart(action.get_active())
|
||||
elif name == "about":
|
||||
|
Loading…
Reference in New Issue
Block a user