From 2ee26bf950409bb8688d610a5fb77bc55306a073 Mon Sep 17 00:00:00 2001 From: inxi-svn Date: Thu, 19 May 2011 07:01:32 +0000 Subject: [PATCH] bug fix --- inxi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/inxi b/inxi index 62a91f6..33918e7 100755 --- a/inxi +++ b/inxi @@ -2653,8 +2653,9 @@ detect_desktop_environment() fi desktop_environment="IceWM${version}" fi + fi # a few manual hacks for things that don't id with xprop, these are just good guesses - else + if [[ -z $desktop_environment ]];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