Magellan Linux

Diff of /alx-src/branches/alxconf-060/functions/config_sessions.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2371 by niro, Tue Jun 14 10:42:58 2011 UTC revision 2381 by niro, Tue Jun 14 13:51:20 2011 UTC
# Line 207  generate_all_desktop_icons() Line 207  generate_all_desktop_icons()
207   xres="$(( ${xres} - 120 ))"   xres="$(( ${xres} - 120 ))"
208   yres="$(( ${yres} - 80 ))"   yres="$(( ${yres} - 80 ))"
209    
  # basic config  
  cat ${ALX_SKELETONS}/xtdesktop/xtdeskrc > ${ALX_UNPRIV_HOME}/.xtdeskrc  
   
210   # clean desktop icon location   # clean desktop icon location
211   [ -d ${ALX_UNPRIV_HOME}/.xtdesktop ] && rm -rf ${ALX_UNPRIV_HOME}/.xtdesktop   [ -d ${ALX_UNPRIV_HOME}/.xtdesktop ] && rm -rf ${ALX_UNPRIV_HOME}/.xtdesktop
212   install -d ${ALX_UNPRIV_HOME}/.xtdesktop   install -d ${ALX_UNPRIV_HOME}/.xtdesktop
213    
214     # basic config
215     cat ${ALX_SKELETONS}/xtdesktop/xtdeskrc > ${ALX_UNPRIV_HOME}/.xtdesktop/xtdeskrc
216    
217   # default settings   # default settings
218   declare -i x=30   declare -i x=30
219   declare -i y=30   declare -i y=30
# Line 282  generate_all_desktop_icons() Line 282  generate_all_desktop_icons()
282    
283   generate_icon \   generate_icon \
284   --name "${cfg_other_menuitems_name}" \   --name "${cfg_other_menuitems_name}" \
285   --command "${progsh_path}/$(fix_whitespaces ${cfg_other_menuitems_exec})" \   --command "${progsh_path}/$(fix_whitespaces ${cfg_other_menuitems_name})" \
286   --icon "${ALX_SESSIONS_ICONS}/$(fix_whitespaces ${cfg_other_menuitems_name}).png" \   --icon "${ALX_SESSIONS_ICONS}/$(fix_whitespaces ${cfg_other_menuitems_name}).png" \
287   --dest "${ALX_UNPRIV_HOME}/.xtdesktop/$(fix_whitespaces ${cfg_other_menuitems_name}).lnk" \   --dest "${ALX_UNPRIV_HOME}/.xtdesktop/$(fix_whitespaces ${cfg_other_menuitems_name}).lnk" \
288   --xres "${x}" \   --xres "${x}" \

Legend:
Removed from v.2371  
changed lines
  Added in v.2381