I used gksu before but it seems that it is no longer available. So how can I make something with the same functionality? Obviously I can still run app through the terminal but I don't want to do that.
[Desktop Entry]
Name=Xampp
GenericName=Localhost Server
Exec=gksu /opt/lampp/manager-linux-x64.run
Terminal=false
Icon=/opt/lampp/XAMPP.png
Type=Application
Categories=Programming;Development;
pkexec
. – pomsky Jun 12 '18 at 10:48