On Thu, May 01, 2008 at 02:07:47PM +0200, Yves-Alexis Perez wrote:
> Package: menu
> Severity: wishlist
> 
> Hi,
> 
> ktsuss is a GTK application to gain root, a bit like gksu but without gnome
> dependencies.
> 
> It'd be nice to have it included in su-to-root.

No objection, of course.

> Attached patch should work for this.

It seems you are making ktsuss priority far too high.

>      if test -z "$SU_TO_ROOT_X"; then
> +      if which ktsuss >/dev/null 2>&1 ; then
> +        SU_TO_ROOT_X=ktsuss
> +        if test "X$KDE_FULL_SESSION" = "Xtrue" ; then
> +          if which kdesu >/dev/null 2>&1 ; then
> +            SU_TO_ROOT_X=kdesu
> +          elif test -x /usr/lib/kde4/libexec/kdesu ; then
> +            SU_TO_ROOT_X=kde4su
> +          fi;
> +        fi;
>        if which gksu >/dev/null 2>&1 ; then
>          SU_TO_ROOT_X=gksu

This cause su-to-root to choose ktsuss over gksu even if running GNOME.
This is far too high. This should be below kdesu and ksu unless maybe
when running XFCE if the XFCE people want that and tell me how to check
that (that is what the test "X$KDE_FULL_SESSION" = "Xtrue" is doing 
for KDE).

Cheers,
-- 
Bill. <[EMAIL PROTECTED]>

Imagine a large red swirl here. 



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to