--- alx-src/branches/alxconf-060/init.d/alxsettings 2011/06/27 15:07:24 2470 +++ alx-src/branches/alxconf-060/init.d/alxsettings 2011/06/27 15:14:05 2471 @@ -628,6 +628,29 @@ [ -d ${ALX_UNPRIV_HOME}/.idesktop ] && rm -rf ${ALX_UNPRIV_HOME}/.idesktop install -d ${ALX_UNPRIV_HOME}/.idesktop + # add shutdown, reboot icons + local name + # default settings + declare -i x=30 + declare -i y=30 + for i in shutdown reboot + do + case ${i} in + shutdown) name="Herunterfahren" + reboot) name="Neustarten" + esac + + generate_icon \ + --name "${name}" \ + --command "/usr/lib/alxconfig-ng/bin/user_${i}.sh" \ + --icon "${ALX_SESSIONS_ICONS}/${i}.png" \ + --dest "${dest}/${i}.lnk" \ + --xres "${x}" \ + --yres "${y}" + + y=$((${y} + 80)) + done + # last but not least gen a icon with some sys informations local sysinfo local osversion