From 152dffd4b3ca0bf02432eaf00fe9db5a1f8b7b34 Mon Sep 17 00:00:00 2001 From: Werner Sembach Date: Tue, 25 Jan 2022 17:34:00 +0100 Subject: [PATCH] Root does not help with XDG variables --- tuxedo-touchpad-switch.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tuxedo-touchpad-switch.cpp b/tuxedo-touchpad-switch.cpp index ce1f96a..0e8b082 100644 --- a/tuxedo-touchpad-switch.cpp +++ b/tuxedo-touchpad-switch.cpp @@ -97,7 +97,7 @@ int main() { char *xdg_current_desktop = getenv("XDG_CURRENT_DESKTOP"); if (!xdg_current_desktop) { - cout << "Your desktop environment could not be determined. Maybe running as root?" << endl; + cout << "Your desktop environment could not be determined." << endl; gracefull_exit(SIGTERM); } else if (strstr(xdg_current_desktop, "GNOME")) {