Add this line to ~/.bashrc
alias mysudo='pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY'
Last active
May 25, 2023 08:47
-
-
Save warmonkey/79f6bf40e4442f316f8dfad5ad00f0c7 to your computer and use it in GitHub Desktop.
mysudo - GUI prompt to start a GUI application as root
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment