Ubuntu – How to start XAMPP from a shortcut

gnomeshortcutsxampp

I've had Xampp installed on my machine for a while but I have yet to figure out how to start the GUI from a shortcut.

At the moment I am launching

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

From the terminal every time I want to start it, but it's pretty annoying to have to go through the terminal for this every single time.

I have already tried pasting that command in a shortcut and when I try to start it nothing happens. Here's how my shortcut looks:

enter image description here

Any idea how I can get this to work?

Best Answer

Follow this link.

https://junise.wordpress.com/2017/07/23/xampp-in-ubuntu-desktop-shortcut-launcher-entry-home-folder-shortcut-inside-htdocs/

Change this sentence:

Exec=sudo /opt/lampp/manager-linux-x64.run

And add:

Terminal=true

at the end of .desktop file.

Related Question