Finding Screen Resolution
Kurt Wall
kwall
Mon May 17 11:49:27 PDT 2004
Quoth Net Llama!:
> On 07/17/03 18:14, Kurt Wall wrote:
>
> >The dimensions of the screen determine the DPI used to draw the screen:
> >
> >$ xdpyinfo | egrep 'resol|dimen'
> > dimensions: 1280x1024 pixels (339x271 millimeters)
> > resolution: 96x96 dots per inch
> >
> >The physical dimensions are 339x271mm; the logical dimensions are
> >1280x1024 pixels, which gives an actual screen resolution of 96x96dpi,
>
> hrmmm, this got me wondering. on one of my boxes i have:
> xdpyinfo | egrep 'resol|dimen'
> dimensions: 1600x1200 pixels (383x290 millimeters)
> resolution: 106x105 dots per inch
>
> is it normal for the 'resolution' to be rectangular, rather than square?
Beats hell outta me. You can force whatever resolution you want using
-dpi with X:
XFree86 -dpi N,
where N is the screen resolution in dots-per-inch.
Kurt
--
Stult's Report:
Our problems are mostly behind us. What we have to do now is
fight the solutions.
More information about the Linux-users
mailing list