When you install XAMPP in Linux, there is no control panel GUI for starting or stopping the Server and other components in default installation. But you can create easily. This short tutorial is for those who want to add XAMPP control panel GUI in Ubuntu 12.10.
How to do?
First you need ‘python-glade2’ for this to work
sudo apt-get install python-glade2
Now open Terminal and create a new file named ‘Xampp.desktop’
sudo gedit ~/Desktop/Xampp.desktop
You will get text editor. Now copy following code and paste it there.
[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
If you have installed Xampp for Linux in other than ‘/opt’ folder then change the ‘Exec’ and ‘Icon’ value accordingly.
Change the file permissions so that it can execute.
sudo chmod +x ~/Desktop/Xampp.desktop
There is nice and beautiful Xampp icon in your Desktop. If you double-click that icon XAMPP Control panel will open.
4 thoughts on “How to add Xampp Control panel GUI in Ubuntu 12.10 (Linux)”
Thanks it was easy and it worked!
Thanks it Works
Thank you, it worked perfectly!!!
This worked perfectly, thank you!