18.04 – Problem with the .desktop file for XAMPP

I am using Ubuntu 18.04. I installed XAMPP and created an .desktop file to execute it.

[Desktop Entry]



Type = Application
Name = XAMPP control panel
Version = 7.3.0.0
Exec = sudo -i python /opt/lampp/share/xampp-control-panel/xampp-control-panel.py
Coding = UTF-8
Terminal = false
Comment = Start and stop XAMPP
Icon = / home / lee / .local / favicon.ico

But, for some reason, it will not be executed. I have it configured to execute. Any ideas?