diff --git a/src/timeshift-launcher b/src/timeshift-launcher index a6c4e9c..aef6067 100755 --- a/src/timeshift-launcher +++ b/src/timeshift-launcher @@ -18,7 +18,7 @@ else xhost -SI:localuser:root xhost elif command -v pkexec >/dev/null 2>&1; then - pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY ${app_command} + pkexec ${app_command} elif command -v sudo >/dev/null 2>&1; then x-terminal-emulator -e "sudo ${app_command}" elif command -v su >/dev/null 2>&1; then