I'm frequently using application launchers to run personal bash scripts and thus I often use gksudo in case I do administrative tasks. The problem is that when I execute a command with gksudo,the execution is successful, but afterwards gksudo waits for about 5 seconds before it closes/finishes. In some scripts I use gksudo multiple times, resulting in execution times of a few minutes, even though everything should be done in a few seconds.
Can anyone help me here?
PS: here are my main /etc/sudoers-settings (might have something to do with my problem):
Defaults env_reset,!tty_tickets,timestamp_timeout=2 phoenix ALL= NOPASSWD: /bin/mount,/bin/umount,/usr/sbin/firestarter,/usr/bin/truecrypt,/usr/bin/apt-get