XAMPP

Desktop Start Menu Shortcut XAMPP Linux (Ubuntu etc)

are you took below errors ?

sudo /opt/lampp/share/xampp-control-panel/xampp-control-panel
Traceback (most recent call last):
  File "xampp-control-panel.py", line 18, in <module>
    import gtk
ImportError: No module named gtk

Here how to fix show XAMPP Panel on Linux

  • Open Terminal, Type below codes

    XAMPP=/usr/share/applications/xampp-control-panel.desktop
    sudo touch $XAMPP
    sudo gedit $XAMPP
  • content /usr/share/applications/xampp-control-panel.desktop

    [Desktop Entry]
    Encoding=UTF-8
    Name=XAMPP Control Panel
    Comment=Start and Stop XAMPP
    Exec=sudo -H /opt/lampp/manager-linux-x64.run
    Icon=/opt/lampp/htdocs/favicon.ico
    Categories=Application
    Type=Application
    Terminal=false
  • If you use a 32-bit system:

    sudo -H /opt/lampp/manager-linux.run
  • If you use a 64-bit system:

    sudo -H /opt/lampp/manager-linux-x64.run

Result

Screenshot from 2021-12-07 02-45-08