Finding Screen Resolution

Net Llama! netllama
Mon May 17 11:49:27 PDT 2004


On 07/17/03 18:14, Kurt Wall wrote:

> Quoth Condon Thomas A KPWA:
> 
>>Folks,
>>
>>I've got two laptops running the same piece of software, but they show the
>>output GUI window differently.  So I put in some statements to debug why and
>>they come up with different numbers of pixels for the size of text (that is
>>the same).  The only reason I can figure for this is a screen resolution
>>issue.
> 
> 
> 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?


-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
L. Friedman                       	       netllama at linux-sxs.org
Linux Step-by-step & TyGeMo: 		    http://netllama.ipfox.com

   6:30pm  up 2 days, 21:14,  1 user,  load average: 0.00, 0.01, 0.03



More information about the Linux-users mailing list