On mar, 2008-05-06 at 14:41 +0200, Bill Allombert wrote: > It seems you are making ktsuss priority far too high.
Hihi, sorry :)
> 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).
xdg detects the running DE like this:
detectDE()
{
if [ x"$KDE_FULL_SESSION" = x"true" ]; then DE=kde;
elif [ x"$GNOME_DESKTOP_SESSION_ID" != x"" ]; then DE=gnome;
elif xprop -root _DT_SAVE_MODE | grep ' = \"xfce4\"$' >/dev/null
2>&1; then DE=xfce;
fi
}
Cheers,
--
Yves-Alexis
signature.asc
Description: This is a digitally signed message part

