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 1640 by niro, Wed Dec 8 11:39:17 2010 UTC revision 1641 by niro, Tue Dec 28 12:45:46 2010 UTC
# Line 207  config_x11() Line 207  config_x11()
207   fi   fi
208    
209   # monitor   # monitor
210     echo '' >> ${xfconfig}
211   echo 'Section "Monitor"' >> ${xfconfig}   echo 'Section "Monitor"' >> ${xfconfig}
212   echo '    Identifier  "Monitor0"' >> ${xfconfig}   echo '    Identifier  "Monitor0"' >> ${xfconfig}
213   echo '    Option      "DPMS"' >> ${xfconfig}   echo '    Option      "DPMS"' >> ${xfconfig}
# Line 216  config_x11() Line 217  config_x11()
217   local modeline   local modeline
218   modeline=$("${cvt}" "${ALX_RESOLUTION%x*}" "${ALX_RESOLUTION#*x}" "${ALX_REFRESH_RATE}" | sed -e 's:^:\t:g' -e 's:_.*\":\":')   modeline=$("${cvt}" "${ALX_RESOLUTION%x*}" "${ALX_RESOLUTION#*x}" "${ALX_REFRESH_RATE}" | sed -e 's:^:\t:g' -e 's:_.*\":\":')
219   echo "${modeline}" >> ${xfconfig}   echo "${modeline}" >> ${xfconfig}
220     # add ddcxinfo-knoppix modelines (fallback)
221     [[ -x /sbin/ddcxinfo-knoppix ]] && ddcxinfo-knoppix -modelines >> ${xfconfig}
222   echo 'EndSection' >> ${xfconfig}   echo 'EndSection' >> ${xfconfig}
223    
224   # vga   # vga

Legend:
Removed from v.1640  
changed lines
  Added in v.1641