2

So i have xampp installed on my desktop and since it can use alot of ram if it stays active for a long time i followed tutorial to put together some kind of python script to start and stop services easy.

So the script goes like this, i made shortcut on desktop and when i click it opens a window when i can start/stop services like apache, mysql, ftp.

So the script starts command is this

gksudo "/opt/lampp/share/xampp-control-panel/xampp-control-panel"

but every time i click shortcut annoying notification pop up ask me for a password.

Is it possible to disable password ask for this?

4

gksudo is a frontend to sudo (see man gksudo). So you have to make sudo to not ask for a password. To do this, see:

And also you could be interested by:

| improve this answer | |
  • Thank you your links are exactly what i needed to read on. Now i don't have annoying asking every time i want to start xampp but sudo still requires pass for other things. – Aleksandar Đorđević May 30 '14 at 20:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.