Version: (using KDE 4.1.3) Installed from: Fedora RPMs It's not possible to have commands with sudo prior to it in scripts, if you want to run them by doubleklicking it, with Alt-F2 or from an menu entry, because these commands will be ignored and never be called. If you try it from an open console, it works fine. A little example: #!/bin/bash kwrite exit 0 This script works. No problems. If you try #!/bin/bash sudo kwrite exit 0 it only works in an open console. Doubleklicking the file cause nothing. I always have to run konsole first, to make such a script work properly. I don't think this is a wilful behaviour. Hope it will be fixed.
Hi, I just tested this bug and it does not seam like a bug to me! When I use the exact code that your referring to it works out of the box for me.... :) (Arch Linux, KDE 4.2.1) Regards
Thanks for testing. Seems to be a fedora-specific problem. It still occours with the KDE-4.2.0-packages. Regards
That is because when double clicking a script, dolphin run it silently insteand of running it in konsole.See comment #8 in bug #225563 for detail. *** This bug has been marked as a duplicate of bug 225563 ***