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
parent
e956bc2d4a
commit
0db569cd79
|
@ -245,7 +245,7 @@ class ManjaroHello():
|
||||||
"""Event for differents actions."""
|
"""Event for differents actions."""
|
||||||
name = action.get_name()
|
name = action.get_name()
|
||||||
if name == "install":
|
if name == "install":
|
||||||
subprocess.Popen(["sudo", "-E", "calamares"])
|
subprocess.Popen(["pkexec", "calamares"])
|
||||||
elif name == "autostart":
|
elif name == "autostart":
|
||||||
self.set_autostart(action.get_active())
|
self.set_autostart(action.get_active())
|
||||||
elif name == "about":
|
elif name == "about":
|
||||||
|
|
Loading…
Reference in New Issue