
286
|
Chapter 11, Hardware
#95 Print to Unsupported Printers
HACK
Configure the Resolution and Refresh Rate
To change the resolution and refresh rate inside X, you need to adjust the
Screen part of the configuration file. This section contains some important
settings which, if configured incorrectly, could stop X from working properly.
The first part of the block contains information about your monitor. Some
of the details you added to the
Monitor block earlier should be copied over
to this block. For the main part of this block, you need to set two things: the
resolution and the color depth. You use the
DefaultDepth option to set the
color depth, and you use the
Modes section to specify the first part of the cus-
tom mode you obtained from the X timing web site (
1152x864@88 for this
example). You should ensure that modes you don’t use are removed from
the Modes line. Here is an example block:
Section "Screen"
Identifier "Screen 1"
Device "Acme VideoKing"
Monitor "Whizzbang MonitorMan"
DefaultDepth 16
Subsection "Display"
Depth 16
Modes "1152x864@88"
ViewPort 0 0
EndSubsection
EndSection
Now restart X. If you are starting X with startx, simply log out and restart
the server. For example, if you are using a display manager such as GDM,
you will need to restart it with this:
foo@bar:~$ /etc/init.d/gdm restart
HACK
#95
Print to Unsupported Printers Hack #95
Use a Windows machine as a print server, when you can’t ...