[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Inconsistent screen resolutions depending on how X was started



On Fri, 2007-12-28 at 15:36 +0100, Dan H wrote:
> After startx from console:
> $ xdpyinfo | egrep '(dimension|resolution)'
>   dimensions:    1280x1024 pixels (325x260 millimeters)
>   resolution:    100x100 dots per inch
> 
> After logging in through kdm:
> $ xdpyinfo | egrep '(dimension|resolution)'
>   dimensions:    1280x1024 pixels (382x302 millimeters)
>   resolution:    85x86 dots per inch
> 
> The latter numbers (85x86dpi) are correct, the former are not.
> 
> How can this be fixed?

The option -dpi is used to specify the resolution to the X server, so
you can probably use :
startx -- -dpi 85

regards,
strawks




Reply to: