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 2161 by niro, Wed May 18 14:35:13 2011 UTC revision 2371 by niro, Tue Jun 14 10:42:58 2011 UTC
# Line 200  generate_all_desktop_icons() Line 200  generate_all_desktop_icons()
200    
201   # split res to x & y   # split res to x & y
202   xres="${res%x*}"   xres="${res%x*}"
203   xres="${res#*x}"   yres="${res#*x}"
204    
205   # top left edge of the icon is given in config file   # top left edge of the icon is given in config file
206   # remove a little bit to simulate the bottom-right edge   # remove a little bit to simulate the bottom-right edge
# Line 245  generate_all_desktop_icons() Line 245  generate_all_desktop_icons()
245   fi   fi
246    
247   generate_icon \   generate_icon \
248   --name "${cfg_session_session}" \   --name "${cfg_sessions_session}" \
249   --command "nice -n 19 wfica ${ALX_ICA_SESSIONS}/$(fix_whitespaces ${cfg_session_filename})" \   --command "nice -n 19 wfica ${ALX_ICA_SESSIONS}/$(fix_whitespaces ${cfg_sessions_filename})" \
250   --icon "${ALX_SESSIONS_ICONS}/$(fix_whitespaces ${cfg_session_session}).png" \   --icon "${ALX_SESSIONS_ICONS}/$(fix_whitespaces ${cfg_sessions_session}).png" \
251   --dest "${ALX_UNPRIV_HOME}/.xtdesktop/$(fix_whitespaces ${cfg_session_session}).lnk" \   --dest "${ALX_UNPRIV_HOME}/.xtdesktop/$(fix_whitespaces ${cfg_sessions_session}).lnk" \
252   --xres "${x}" \   --xres "${x}" \
253   --yres "${y}"   --yres "${y}"
254    
# Line 370  config_sessions() Line 370  config_sessions()
370   # add autostart session   # add autostart session
371   if [[ ! -z ${cfg_autostart_session} ]]   if [[ ! -z ${cfg_autostart_session} ]]
372   then   then
373   addconfig "[startup] {nohup nice -n 19 wfica ${ALX_ICA_SESSIONS}/$(fix_whitespaces ${cfg_autostart_session}) &}"   # sleep one second to wait until busybox is fully initialized and the screen is really centered
374     addconfig "[startup] {sleep 1 && nohup nice -n 19 wfica ${ALX_ICA_SESSIONS}/$(fix_whitespaces ${cfg_autostart_session}) &}"
375   fi   fi
376    
377   # fluxbox hotkeys   # fluxbox hotkeys

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