From 0db569cd79dbeae127e94f0385f0909ee6c0c694 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ramon=20Buld=C3=B3?= Date: Sun, 29 Jan 2017 04:57:10 +0100 Subject: [PATCH] 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. --- src/manjaro_hello.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/manjaro_hello.py b/src/manjaro_hello.py index f89d883..5c0dcad 100644 --- a/src/manjaro_hello.py +++ b/src/manjaro_hello.py @@ -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":