Magellan Linux

Diff of /alx-src/branches/alxconf_20060908/functions/config_x11.sh

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

revision 1652 by niro, Thu Dec 30 13:43:24 2010 UTC revision 1653 by niro, Sat Jan 22 17:57:19 2011 UTC
# Line 215  config_x11() Line 215  config_x11()
215   # add hsync, vrefresh   # add hsync, vrefresh
216   if [[ -x /sbin/ddcxinfo-knoppix ]]   if [[ -x /sbin/ddcxinfo-knoppix ]]
217   then   then
218     local hsync="$(ddcxinfo-knoppix -hsync)"
219     local vsync="$(ddcxinfo-knoppix -vsync)"
220     # fallback
221     [[ ${hsync} = 0-0 ]] && hsync="28-96"
222     [[ ${vsync} = 0-0 ]] && vsync="50-60"
223    
224   echo '' >> ${xfconfig}   echo '' >> ${xfconfig}
225   echo "    HorizSync $(ddcxinfo-knoppix -hsync)"  >> ${xfconfig}   echo "    HorizSync ${hsync}"  >> ${xfconfig}
226   echo "    VertRefresh $(ddcxinfo-knoppix -vsync)"  >> ${xfconfig}   echo "    VertRefresh ${vsync}"  >> ${xfconfig}
227   fi   fi
228    
229   # add cvt modelines   # add cvt modelines

Legend:
Removed from v.1652  
changed lines
  Added in v.1653