This commit is contained in:
inxi-svn 2011-05-19 07:05:56 +00:00
parent 2ee26bf950
commit bb43c32dbc

2
inxi
View file

@ -2655,7 +2655,7 @@ detect_desktop_environment()
fi
fi
# a few manual hacks for things that don't id with xprop, these are just good guesses
if [[ -z $desktop_environment ]];then
if [[ $desktop_environment == 'N/A' ]];then
if [[ -n $( grep -is 'fvwm-crystal' <<< "$ps_aux" | grep -v 'grep' ) ]];then
version=$( fvwm --version 2>/dev/null | grep -Esi 'fvwm [[:digit:]]' | gawk '{print $2}' )
if [[ -n $version ]];then