Cobra Forum

Other Discussion and Support => Tutorials => Topic started by: mahesh on Nov 28, 2023, 07:04 AM

Title: Create XAMPP Control Panel launcher on the Desktop
Post by: mahesh on Nov 28, 2023, 07:04 AM
Hello everyone and greetings from Brazil! Here's a little tutorial I've created to make a shortcut for XAMPP Control Panel on the Desktop.

To create a launcher on the Desktop:
You need gksu so if you don't have it yet, run in terminal:
Quotesudo apt-get install gksu
Now let's create the shortcut:
Run gedit (or any other text editor) and then enter the info below:

Code:
#!/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 on your Desktop as Xampp.desktop

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

That's it guys! Have fun.

JC