/opt/ltsp-5/i386/usr/share/ltsp/screen-session.d/XS80-x-modes :
# if X_MODE_* are set and xrandr is disabled, generate a Display subsection
# with the defined modes
if [ -n "$X_MODE_0" ] || [ -n "$X_MODE_1" ] || [ -n "$X_MODE_2" ]; then
if boolean_is_true "$XRANDR_DISABLE" ; then
display_hacks="$display_hacks set_x_modes"
CONFIGURE_X="True"
for x in $X_MODE_0 $X_MODE_1 $X_MODE_2 ; do
X_MODES="$X_MODES \"$x\" "
done
set_x_modes() {
echo " Modes $X_MODES"
}
fi
fi
This assumes that X_MODE_{0,1,2} are set to just a mode name (E.G.
X_MODE_0 = 640x480).
When an X_MODE_[012] parameter is set to a mode name and modeline,
only the first word goes into Screen.Display.Modes. The rest is
for Monitor.Modeline.
--
André Majorel http://www.teaser.fr/~amajorel/
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_____________________________________________________________________
Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto:
https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help, try #ltsp channel on irc.freenode.net