This tool provides Yad based front-end for su (spsu) allowing users to give a password and run graphical commands as root without needing to invoke su in a terminal emulator.
It can be used as a Gksu replacement to run any application as root.
sudo apt install sparky-su
To run a terminal based application using spsu, run:
spsu "x-terminal-emulator -e command"