Xampp control panel GUI in Ubuntu

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.

sudo /opt/lampp/share/xampp-control-panel/xampp-control-panel.py

By running the above command, you can see the following small application. This is the Xampp Control Panel that we need.

Xampp Control Panel

Xampp Control Panel

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]
Name=Xampp Control Panel
Comment=Start or Stop XAMPP
Exec=gksudo python /opt/lampp/share/xampp-control-panel/xampp-control-panel.py

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…

, , , , ,

  1. #1 by Zak on January 9, 2012 - 8:28 am

    It all woked fine… except when i double click on the file, i am prompted for the password, is there a way to lauch it with no password? like launching firefox for example?

  1. Installing Xampp-1.7.7 Web server in Ubuntu 11.10 « Arduino, AVR and beyond….
  2. Lubuntu, installing xampp + eclipse « PswApps28's Blog

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: