Hello people!
I've been wondering if you could give me a hand with this if possible hehe
I've recently followed the tutorial for making a proper .desktop file from this post but it seems i ran into a small problem (or at least in my eyes it is a problem)
My xampp.desktop file goes as follows:
[Desktop Entry]
Encoding=UTF-8
Type=Application
Version=7.3.7-1
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;
in this current state it just doesn't really run as it needs to be ran as root, the problem is that even if the command includes sudo it wont prompt me for a password upon executing it as is, however i found out that if i add :
Terminal=true
at the end of the file it does open a terminal and THEN I'm prompted to input the password, and the program opens normally..but the terminal stays in the background while i use the program.
My objective was to avoid having a terminal always open in the back just for that but well,
Im too much of a noob in solus still (barely joined yesterday xD).
I've seen many distributions use gksudo for these cases but it seems we don't have that by default?
If anyone knows of a workaround for this and be able to avoid terminal please do tell 🙂