How to start xampp GUI
You can use the command below
if you use 32 system :
sudo /opt/lampp/manager-linux.run
if you use 64 system :
sudo /opt/lampp/manager-linux-x64.run
The primary answer didn't work for me until I did something from followed of this example which states:
I believe that you want to add a GUI xampp control panel. To add a GUI xampp control panel see below.
Just press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, run the command(s) below:
sudo gedit ~/.local/share/applications/xampp-control-panel.desktop
When the text editor opens simply paste the following, close and save.
[Desktop Entry] Comment=Start and Stop XAMPP Name=XAMPP Control Panel Exec=sudo -i python /opt/lampp/share/xampp-control-panel/xampp-control-panel.py Icon=/usr/share/icons/Humanity/devices/24/network-wired.svg Encoding=UTF-8 Terminal=false Name=XAMPP Control Panel Comment=Start and Stop XAMPP Type=Application Icon=/usr/share/icons/Humanity/devices/24/network-wired.svg
If you have a problem with executing the program, install
gksu
, and in the forth line, replacesudo -i
withgksudo
. Below is how toinstall gksu if not installed, since it has been removed from 13.04.
sudo apt-get install gksu
Look for xampp control panel in dash
I am using Ubuntu 14.04 and Xampp 5.6.3.Then I was able to use what the primary answerer posted. This is the code quote from Kyusuf Muhammad:
You can use the command below if you use 32 system :
sudo /opt/lampp/manager-linux.run
if you use 64 system:
sudo /opt/lampp/manager-linux-x64.run
Two important notes to the advice given by @HelpNeeder: there should be a quote around the code the executable, and the image for the default icon for Xampp icon is accessible as /opt/lampp/htdocs/dashboard/images/xampp-logo.svg
. Copy it into folder /usr/share/icons/Humanity/devices/24/
Thus, the final advice is to open a new terminal, run
sudo gedit ~/.local/share/applications/xampp-control-panel.desktop
and save the following in the file:
[Desktop Entry]
Comment=Start and Stop XAMPP
Name=XAMPP Control Panel
Exec=gksudo /opt/lampp/manager-linux-x64.run
Icon="/usr/share/icons/Humanity/devices/24/xampp-logo.svg"
Encoding=UTF-8
Terminal=false
Name=XAMPP Control Panel
Comment=Start and Stop XAMPP
Type=Application