Comment 3 for bug 1019023

Revision history for this message
jhansonxi (jhansonxi) wrote :

The launcher script "/usr/lib/fglrx/bin/amdxdg-su" tests for various desktop environments to determine which sudo front-end to use. The text for Xfce works but there is not a corresponding case statement operation that utilizes the result for Xfce. This modified snippet works by using the Gnome response:

case "$DE" in
    kde)
    su_kde
    ;;

    gnome)
    su_gnome
    ;;

    xfce)
    su_gnome
    ;;

    generic)
    su_consolehelper
    ;;

    *)
    [ x"$user" = x"" ] && user=root
    exit_failure_operation_impossible "no graphical method available for invoking '$cmd' as '$user'"
    ;;
esac