Version: 3.0 Beta 2 (Battleship) (using 4.1.1 (KDE 4.1.1), Kubuntu packages) Compiler: cc OS: Linux (i686) release 2.6.26-5-generic Running GUI applications as sudo can be dangerous sometimes, as sudo has a tendency to change permissions of vital files which can make a system unusable unless you know how to fix it. (See https://bugs.launchpad.net/ubuntu/+source/adept/+bug/203331) But currently, if Adept is launched without admin powers it recommends sudo. If you could, could you have Adept recommend kdesudo if Adept is launched without admin powers? All that would need to be done is a QFile::exists() for the kdesudo binary, then changing the string slightly, since I know Debian doesn't have an up-to-date kdesudo.
I am working on this, by the way.
Created attachment 27842 [details] Patch for kdesudo detection/recommendation Here's a patch. If kdesudo or gksu (Gnome su frontend) are detected as existing, txt will have sudo replaced with the frontend's name. The patch is pretty much self-explanatory, I think.