How to create XAMPP server Desktop shortcut on Kali Linux

As we know unlike Windows, Linux systems don’t create desktop shortcuts for each application installed on them. Thus, if we want them, have to add them manually and the same goes for the XAMPP desktop shortcut on Kali Linux.

We already have shown the steps to install the XAMPP server on KALI Linux. And if you do not want to access its management panel, again and again, using the command terminal then create a shortcut.

The steps are not only applicable for Kali but also for Ubuntu, Debian, Elementary, and Linux Mint.

XAMPP Desktop Shortcut for KALI Linux

Open a command terminal

Although we can use the Graphical method to create a Xampp manager shortcut, however, the command line would be much easy and quick. You can access the terminal from the KALI applications or just by using the keyboard shortcut that is CTRL+ALT+T.

Create XAMPP launcher file

Now, we need to create a file that will use as a Desktop shortcut in which add some entries that will let the system to execute and launch the XAMPP application.

nano Desktop/XAMPP.desktop

Add Lampp server and icon path

Inside the above-created launcher file, copy and paste the below entries which define the type of the shortcut, path to execute along with the icon.

[Desktop Entry]
Version=1.0
Type=Application
Name=XAMPP
Comment=
Exec=sudo /opt/lampp/manager-linux-x64.run
Icon=/opt/lampp/htdocs/favicon.ico
Path=
Terminal=false
StartupNotify=false

 

XAMPP Linux shortcut command

Run the XAMPP from the Desktop icon

Finally, you will see the icon of this LAMP server application on the Desktop of Kali. Double click on that in order to run it.

XAMP shortcut icon kali linux

Mark Executable- Untrusted application launcher

The system will ask you, would you like to mark this file as executable or just launch it. Click on the “Mark Executable”.

Mark the Desktop shortcut executable

Enter user password

To run the application, Kali will ask you to enter your user password. Give that and the XAMPP application will open from where you can manage your servers to stop and start them graphically.

Extra info: use the command line to stop and start XAMPP server services

If you quickly want to stop and start its Apache, Mysql, PhpMyAdmin, and FTP services then simply use the below commands:

Start:

sudo /opt/lampp/lampp start

Stop:

sudo /opt/lampp/lampp stop

 

 

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.