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

Re: Inconsistent screen resolutions depending on how X was started



On Fri, Dec 28, 2007 at 23:33:42 +0200, Andrei Popescu wrote:
> On Fri, Dec 28, 2007 at 03:36:22PM +0100, Dan H wrote:
> > Hello,
> > 
> > having managed to start X from the console (see other thread), I noticed different font sizes on applications. I traced this down to different screen resolution settings depending on how X was started:
> > 
> > After startx from console:
> > $ xdpyinfo | egrep '(dimension|resolution)'
> >   dimensions:    1280x1024 pixels (325x260 millimeters)
> >   resolution:    100x100 dots per inch
> 
> ps aux | grep X will probably show a '-dpi 100' parameter to X. You have 
> to get rid of it (but I don't remember where it's set).

I think it is in /etc/X11/xinit/xserverrc.

IIRC, specifying the DisplaySize explicitly in xorg.conf should be
sufficient to make DPI settings consistent.

-- 
Regards,            | http://users.icfo.es/Florian.Kulzer
          Florian   |


Reply to: