- Go to terminal and create the icon file :
gedit ~/.local/share/applications/xampp-control-panel.desktop
- Add the following to it :
[Desktop Entry]
Encoding=UTF-8
Name=XAMPP Control Panel
Comment=Start and Stop XAMPP
Exec=sudo /opt/lampp/manager-linux-x64.run
Icon=/opt/lampp/htdocs/favicon.ico
Categories=Application
Type=Application
Terminal=true
-
Save the file and close it.
-
Make it executable :
chmod +x ~/.local/share/applications/xampp-control-panel.desktop