If you have install and configure xampp on ubuntu or any other linux distribution you might have use terminal for various operation like start and stopping lampp. However Xampp on windows have some graphical interface for this operation. You can simply add graphical use interface for xampp in ubuntu with few codes and tricks. Adding graphical interface gives you flexibility as well as provide simplicity to use the program if you find yourself uneasy messing with the command. Therefore here is the quick tutorial to add graphical user interface for xampp on ubuntu.
1. Open the terminal and paste the following code
sudo gedit ~/.local/share/applications/xampp-control-panel.desktop
2. The text editor will open simply paste the following code to the text editor and save it.
[Desktop Entry] Comment=Start and Stop XAMPP Name=XAMPP Control Panel Exec=gksudo python /opt/lampp/share/xampp-control-panel/xampp-control-panel.py Icon[en_CA]=/usr/share/icons/Humanity/devices/24/network-wired.svg Encoding=UTF-8 Terminal=false Name[en_CA]=XAMPP Control Panel Comment[en_CA]=Start and Stop XAMPP Type=Application Icon=/usr/share/icons/Humanity/devices/24/network-wired.svg
3. You can simply access the xampp control planel in Application>>> Others