Last active
July 29, 2022 04:03
-
-
Save AjmalShajahan/89e014199de05f7358dcbf9d6ac12170 to your computer and use it in GitHub Desktop.
How to create a Graphical UI XAMPP shortcut to Dash (Ubuntu)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### 1. Open terminal: | |
sudo gedit /usr/share/applications/XAMPP.desktop | |
### 2. Paste this script | |
[Desktop Entry] | |
Type=Application | |
Terminal=false | |
Icon=/opt/lampp/htdocs/favicon.ico | |
Name=XAMPP Control Panel | |
Comment = Start and Stop XAMPP | |
Exec=sudo /opt/lampp/manager-linux.run | |
### 3. Save file, Search 'XAMPP' on Dash. Yolo! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
gksu was removed from ubuntu 18.04
https://bugs.launchpad.net/ubuntu/+source/umit/+bug/1740618
https://askubuntu.com/a/1254757/1602914
sudo visudo
Add the following line at the end of your file
<your-username> ALL = NOPASSWD: <path of application>