GNU/Linux Mint GKsu Alternative Guide
Hi! The Tip shows you How to use a GKsu Alternative in Mint LTS GNU/Linux Desktop.
The GKsu Alternative is pkexec a Tool that allows an Authorized User to execute PROGRAM as Another User.
If username is not specified, then the program will be executed as the Admin Super User, root.
Running Program
Hence to Run GUI App as another User on Ubuntu
The General Command is:sudo pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY [MYPROGRAM]
Like:sudo pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY /usr/local/bin/hardinfo