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.
merge-requests/64/head
Ramon Buldó 2017-01-29 04:57:10 +01:00
parent e956bc2d4a
commit 0db569cd79
1 changed files with 1 additions and 1 deletions

View File

@ -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":