Create a XAMPP launcher on the Desktop

Discussion in 'Software & Applications' started by JC Carmo, May 16, 2016.

  1. JC Carmo

    JC Carmo Thread Starter
    Expand Collapse
    New Member

    Joined:
    May 16, 2016
    Messages:
    1
    Likes Received:
    2
    Greetings from Brazil! Here's a little tutorial I've created to make a shortcut on the desktop to launch the XAMPP control panel.

    To create a launcher on the Desktop:

    You'll need gksu so if you don't have it yet, run in terminal:
    sudo apt-get install gksu

    Now let's create the shortcut:
    Run gedit (or any other text editor) and then enter the info below:

    #!/usr/bin/env xdg-open
    [Desktop Entry]
    Version=1.0
    Type=Application
    Terminal=false
    Icon[en_US]=/opt/lampp/htdocs/favicon.ico
    Name[en_US]=XAMPP
    Exec=gksu /opt/lampp/manager-linux-x64.run
    Comment[en_US]=Start XAMPP Control Panel
    Name=XAMPP
    Comment=Start XAMPP Control Panel
    Icon=/opt/lampp/htdocs/favicon.ico

    Save the file as Xampp.desktop

    Once the shortcut is on the Desktop --> right-click on it --> Properties --> Permissions tab --> check 'Allow executing file as program'

    That's it, guys. Have fun! JC :)
     
    #1 JC Carmo, May 16, 2016
    Last edited: May 17, 2016
    Eric Flores and SmellyOldFart like this.
  2. nervig

    nervig
    Expand Collapse
    New Member

    Joined:
    May 15, 2021
    Messages:
    1
    Likes Received:
    0
  3. dsxok

    dsxok
    Expand Collapse
    New Member

    Joined:
    Feb 15, 2023
    Messages:
    1
    Likes Received:
    0
    I found a way to make it work. Just save the xamppcontrolpanel.desktop file you create to the Desktop folder instead. It is directly under the home folder when you open the file explorer. You will see the file on the desktop once you save it. Then, just right-click the file and select the allow launching option.
     

Share This Page

Loading...