How To: Add GUI xampp control panel on ubuntu

XAMPP for ubuntuIf 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
xamp control pannel ubuntu

0saves
Posted in Linux, Ubuntu | Tagged , , , , | 21 Comments

21 Responses to How To: Add GUI xampp control panel on ubuntu

  1. Clockwise UNITED KINGDOM Google Chrome Linux says:

    awesome post, thanks this is just what i was look for.

  2. Pingback: How to install XAMPP in ubuntu « PHP Mysql Script UNITED STATES PHP

  3. Patski PHILIPPINES Google Chrome Linux says:

    thanks for sharing your idea, I’ve been searching through this one..

  4. Thank you very much :)
    I think this tip could be in Apache Friends site.

  5. Rick CANADA Google Chrome Linux says:

    Thanks worked great, both articles, rare event for this type of article

  6. Ron SPAIN Mozilla Firefox Windows says:

    It worked for me (Ubuntu 10.04 in VBox 4.08)

    Many thanks.

  7. mohamed zaki Mozilla Firefox Ubuntu Linux says:

    a great thanks for you !

  8. Birendra Kr. INDIA Mozilla Firefox Linux says:

    Lot’s of thanks

  9. Shahriar BANGLADESH Mozilla Firefox Linux says:

    I had to use
    sudo gedit /usr/share/applications/xampp-control-panel.desktop
    instead of
    sudo gedit ~/.local/share/applications/xampp-control-panel.desktop

  10. Franz Mozilla Firefox Linux says:

    I used succesfully this guide on a couple of ubuntu version… now I just installed 11.10 and the launcher doesn’t work.. any ideas?

  11. Adi INDIA Google Chrome Linux says:

    Thanks Buddy..

  12. Joao Carlos BRAZIL Google Chrome Ubuntu Linux says:

    On Ubuntu 1.7.7 I’ve got the messages!

    (gedit:2626): Gtk-WARNING **: Attempting to store changes into `/root/.local/share/recently-used.xbel’, but failed: Failed to create file ‘/root/.local/share/recently-used.xbel.BI4I5V’: No such file or directory

    (gedit:2626): Gtk-WARNING **: Attempting to set the permissions of `/root/.local/share/recently-used.xbel’, but failed: No such file or directory

    (gedit:2626): Gtk-WARNING **: Attempting to store changes into `/root/.local/share/recently-used.xbel’, but failed: Failed to create file ‘/root/.local/share/recently-used.xbel.AG545V’: No such file or directory

    (gedit:2626): Gtk-WARNING **: Attempting to set the permissions of `/root/.local/share/recently-used.xbel’, but failed: No such file or directory

    (gedit:2626): Gtk-WARNING **: Attempting to store changes into `/root/.local/share/recently-used.xbel’, but failed: Failed to create file ‘/root/.local/share/recently-used.xbel.9DTW5V’: No such file or directory

    (gedit:2626): Gtk-WARNING **: Attempting to set the permissions of `/root/.local/share/recently-used.xbel’, but failed: No such file or directory

    (gedit:2626): Gtk-WARNING **: Attempting to store changes into `/root/.local/share/recently-used.xbel’, but failed: Failed to create file ‘/root/.local/share/recently-used.xbel.A2QT5V’: No such file or directory

    • Lakshya INDIA Mozilla Firefox Ubuntu Linux says:

      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

      If there is an error then first install glade python
      sudo apt-get install python-glade2

      Create a file with the below contents and write the following ::
      [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
      and name it as xampp.desktop
      then in terminal sudo chmod +x xampp.desktop

  13. pearlz UNITED STATES Mozilla Firefox Ubuntu Linux says:

    thanks a million dude

  14. mich01 Mozilla Firefox Ubuntu Linux says:

    Preety awesome I tried it on Ubuntu 11.04 and placed it in ~/usr/share/applications and it worked perfectly…Nice Job :-D

  15. TheronB UNITED STATES Mozilla Firefox Ubuntu Linux says:

    Thanks, Saugat – very handy!

  16. Pingback: Quick Start | Webino | Open Source Website System WordPress

  17. Cota Mozilla Firefox Linux says:

    Gracias, pude instalar muy bien desde el xampp, pero al intentar ejecutar e gui, simplemente me pide la contraseña y nada más. No aparece el panel de control
    Agradeceré ayuda
    Estoy usando UBUNTU 11.10

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>