--- mcore-src/trunk/mcore-tools/src/modules/idesk/idesk-generate-all-desktop-icons.in 2016/02/11 15:00:24 2773 +++ mcore-src/trunk/mcore-tools/src/modules/idesk/idesk-generate-all-desktop-icons.in 2016/02/11 15:02:04 2774 @@ -34,9 +34,13 @@ esac # get the resolution -eval $(${x11runas} xinfo) -xres="${xorg_width}" -yres="${xorg_height}" +xinfo=$(${x11runas} xinfo) +if [[ $? = 0 ]] +then + eval ${xinfo} + xres="${xorg_width}" + yres="${xorg_height}" +fi # fallback to 1024x768 [[ -z ${xres} ]] && xres="1024"