Am trying to make a shortcut/link in "Applications" on Ubuntu 20.04.
Basicalli I have it working, by creating a file "xampp-control-panel.desktop" in "/usr/share/applications" with the following code:
- Code: Select all
[Desktop Entry]
Type=Application
Categories=Application
Terminal=true
Exec=sudo /opt/lampp/manager-linux-x64.run
Name=XAMPP Control Panel
Comment=Start and Stop XAMPP
Icon=/opt/lampp/htdocs/favicon.ico
I wonder, how I can make the manager GUI appear, without the Terminal. Currently, by clicking on the shortcut, the Terminal opens and is asking for sudo-passwort, before opening the GUI. So far, so reasonable.
The terminal however remains open, and if I close it, the GUI closes too.
I thought the
- Code: Select all
Terminal=true
expression is responsible, so I created another shortcut like this:
- Code: Select all
[Desktop Entry]
Type=Application
Categories=Application
Terminal=false
Exec=sudo /opt/lampp/manager-linux-x64.run
Name=XAMPP Control Panel3
Comment=Start and Stop XAMPP
Icon=/opt/lampp/htdocs/favicon.ico
I was hoping, the Terminal would close after the password had been entered. Same behavior as the above code, however.
Any suggestions?