Xampp under Ubuntu, or any other Linux distributions doesn’t have (by default) the control panel GUI for starting or stopping the Server and its components. Actually, Xampp has a small python script that creates the GUI we need for controlling the Server.
By running the above command, you can see the following small application. This is the Xampp Control Panel that we need.
If you don’t have
python-glade package, the above command exists with an error code. To install
python-glade use the following command
sudo apt-get install python-glade2
So far so good, let us create a desktop shortcut for this.
[Desktop Entry] Encoding=UTF-8 Name=Xampp Control Panel Comment=Start or Stop XAMPP Exec=gksudo python /opt/lampp/share/xampp-control-panel/xampp-control-panel.py Icon=/opt/lampp/htdocs/favicon.ico Categories=Application;Development;Web Version=1.0 Type=Application Terminal=0
Create a new file named
xampp.desktop place the above contents in it and save it.
Change the file permissions so that it can execute
sudo chmod +x xampp.desktop
That’s it if you double-click that file, Xampp control panel will open…