How to start XAMPP from a shortcut

10,427

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.

Share:
10,427

Related videos on Youtube

Leonardo Petrucci
Author by

Leonardo Petrucci

Updated on September 18, 2022

Comments

  • Leonardo Petrucci
    Leonardo Petrucci over 1 year

    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?

    • DaveStSomeWhere
      DaveStSomeWhere about 5 years
      Do you get a launcher icon after you start it? Also, any special reason for using camp vs the native lamp?
    • Leonardo Petrucci
      Leonardo Petrucci about 5 years
      No launcher icon. I am more comfortable with xampp than the other options, also I tried installing lamp and it uninstalled gnome rendering my laptop unusable.
    • DaveStSomeWhere
      DaveStSomeWhere about 5 years
      Maybe this solution would work - ubuntuforums.org/showthread.php?t=2324973
    • Leonardo Petrucci
      Leonardo Petrucci about 5 years
      The gksu package has been removed from ubuntu so there's no way to use it.
  • Leonardo Petrucci
    Leonardo Petrucci almost 5 years
    I'm sure this didn't work a few months ago, but now it does! Thank you!
  • Chester mi niño
    Chester mi niño almost 5 years
    nothing, I had same problem.
  • Deepam Gupta
    Deepam Gupta about 4 years
    nice solution, but is there a way so that once we have entered the password, the terminal window should close automatically
  • Goran_Ilic_Ilke
    Goran_Ilic_Ilke about 4 years
    Whithout terminal=true works perfect,no unessesery opening terminal when we click on icon(Ubuntu 18.04) .