NAME
modeline - calculate modelines for XFree86, SVGAlib and Vesa FrameBuffer
SYNOPSIS
modeline [options]
DESCRIPTION
modeline is a small utility to make XFree86/svgalib/framebuffer modelines
OPTIONS
- --help, -h
-
Helpscreen displaying this info.
- --width, -W
-
The display width you want.
- --heigth, -H
-
The display heigth you want.
- --hertz, -z
-
The refreshrate you want.
- --file, -f
-
Specify a different configfile for monitor limits. Useful when dealing with multiple monitors.
- --noguess, -g
-
Do NOT guess width or heigth if only one is given.
- --guess
-
Try to guess width and heigth (default).
- --aspect, -a
-
Specify an aspect ratio to use for guessing (default 4:3). Usefull for certain modes (like 1280x1024).
- --wide, -w
-
Use this if you have a WideScreen monitor (16:9).
- --xfree
-
Output XFree86 and SVGAlib compatible modelines (default).
- --fb [=depth]
-
Output FrameBuffer modes for fb.modes (5).
- --matrox [=depth]
-
Output a lilo append line for Matrox FrameBuffer.
- --memory, -m
-
Give amount of videomemory (syntax where x is amount: xM : Megabytes xk : kilobytes xb : bytes).
- --nowarn
-
Don't display the warning in the beginning. Useful for scripting.
- --quiet, -q
-
Be quiet (display only the modeline). Useful for scripting.
- --verbose, -v
-
Be verbose.
INITIALIZATION
modeline will look for a config-file in /etc/mode.conf, if no other spesified in command-line.
CONFIGURATION
The config-file is ment to contain the nesescerry information about the monitor to make modeline calculate the rigth modelines. Unfortunally, many monitor vendors does not handle out this sort of information, but the program has a backup solution: It calculates the modelines acording to the XFree86-Video-Timing-HOWTO. However, those modelines may be calculated wrong. Your milage may wary.
FILES
~/.mode.conf
/etc/mode.conf
AUTHORS
Anders Ostrem <[email protected]>
Vidar Hoel <[email protected]>