Skip to content

Instantly share code, notes, and snippets.

@scratchoo
Forked from mrbongiolo/precompile.md
Last active August 17, 2019 11:18
Show Gist options
  • Save scratchoo/26a06f703dadd03386b3608f51349576 to your computer and use it in GitHub Desktop.
Save scratchoo/26a06f703dadd03386b3608f51349576 to your computer and use it in GitHub Desktop.
HOW TO: add xampp launch icon to ubuntu 18
  1. Go to terminal and create the icon file :
gedit ~/.local/share/applications/xampp-control-panel.desktop
  1. Add the following to it :
[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

  1. Save the file and close it.

  2. Make it executable :

chmod +x ~/.local/share/applications/xampp-control-panel.desktop

Now the icon is available within your applications list

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment