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:
    1
    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
    SmellyOldFart likes this.

Share This Page

Loading...