Diff of /alx-src/branches/alxconf-060/functions/config_x11.sh
Parent Directory | Revision Log | Patch
revision 2611 by niro, Tue Jun 14 17:20:39 2011 UTC | revision 2612 by niro, Wed Jul 6 21:35:22 2011 UTC | |
---|---|---|
# | Line 92 config_x11() | Line 92 config_x11() |
92 | ||
93 | # add cvt modelines | # add cvt modelines |
94 | addconfig | addconfig |
95 | local cvt="/usr/X11R6/bin/cvt" | local cvt="/usr/bin/cvt" |
96 | local modeline | local modeline |
97 | modeline=$("${cvt}" "${cfg_graphic_resolution%x*}" "${cfg_graphic_resolution#*x}" "${cfg_graphic_refresh_rate}" | sed -e 's:^:\t:g' -e 's:_.*\":\":') | modeline=$("${cvt}" "${cfg_graphic_resolution%x*}" "${cfg_graphic_resolution#*x}" "${cfg_graphic_refresh_rate}" | sed -e 's:^:\t:g' -e 's:_.*\":\":') |
98 | addconfig "${modeline}" | addconfig "${modeline}" |
|