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:
@@ -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":
|
||||||
|
|||||||
Reference in New Issue
Block a user