diff --git a/inxi b/inxi index cfca3ab..3747527 100755 --- a/inxi +++ b/inxi @@ -3809,7 +3809,11 @@ get_desktop_environment() # note, GNOME_DESKTOP_SESSION_ID is deprecated so we'll see how that works out # https://bugzilla.gnome.org/show_bug.cgi?id=542880 elif [[ -n $GNOME_DESKTOP_SESSION_ID ]]; then - version=$( get_de_app_version 'gnome-about' 'gnome' '3' ) + if [[ -n $( type -p gnome-shell ) ]];then + version=$( get_de_app_version 'gnome-shell' 'gnome' '3' ) + elif [[ -n $( type -p gnome-about ) ]];then + version=$( get_de_app_version 'gnome-about' 'gnome' '3' ) + fi if [[ $B_EXTRA_DATA == 'true' ]];then toolkit=$( get_de_gtk_data ) if [[ -n $toolkit ]];then