--- mcore-src/trunk/mcore-tools/src/modules/idesk/idesk-generate-all-desktop-icons.in 2015/08/31 08:03:03 2403 +++ mcore-src/trunk/mcore-tools/src/modules/idesk/idesk-generate-all-desktop-icons.in 2015/08/31 08:57:10 2404 @@ -24,9 +24,9 @@ xres="${xorg_width}" yres="${xorg_height}" -# fallback to 800x600 -[[ -z ${xres} ]] && xres="800" -[[ -z ${yres} ]] && xres="600" +# fallback to 1024x768 +[[ -z ${xres} ]] && xres="1024" +[[ -z ${yres} ]] && xres="768" # top left edge of the icon is given in config file # remove a little bit to simulate the bottom-right edge @@ -74,7 +74,7 @@ [ ${x} -ge ${xres} ] && x=50 fi - ${MCORE_LIBDIR}/idesk-generate-icon --add --resource "${icon_resource}" --xres "${x}" --yres "${y}" + ${MCORE_LIBDIR}/idesk-generate-icon --add --resource "${icon_resource}" --xpos "${x}" --ypos "${y}" y=$((${y} + 80)) done @@ -110,8 +110,8 @@ --command "sudo /usr/sbin/${cmd}" \ --icon "${i}.png" \ --filename "${i}" \ - --xres "${x}" \ - --yres "${y}" \ + --xpos "${x}" \ + --ypos "${y}" \ --icon-width "40" \ --icon-height "40"