Recently, I try to install Xampp on Ubuntu, after installing successfully, I recognized that Xampp is not showed up on Ubuntu start menu automatically, then I worked around and found out the solution to create Xampp shortcut on Start Menu.
/usr/share/applicationsthen create a new file with extension is
*.desktopby opening the terminal then run this command:
sudo touch xampp.desktop.
- Open the new file with super admin right by:
sudo gedit xampp.desktop
- Paste following to the file content:
[Desktop Entry] Encoding=UTF-8 Name=XAMPP Control Panel Comment=Start and Stop XAMPP Exec=sudo /opt/lampp/manager-linux-x64.run Icon=/opt/lampp/htdocs/favicon.ico Categories=Application Type=Application Terminal=true
Exec: Command to run the application (with Xampp you need
true if you want to open terminal when running this application. With Xampp I set value is
true to type the password of
sudo when running the app.
- Save the file, now you have the Xampp shortcut available on start menu. Hit Windows button to check it :).