On Thursday 07 Feb 2002 03:11, Michael Hipp wrote: > Not sure I followed this. 1280 pixels across 301 mm = ~108 dpi. But > does this cause X to change something about how it displays things? > > I was under the assumption that it was a 75dpi vs 100dpi thing related > entirely to which font set to choose (or how to display the font > perhaps). > > Michael > > On Wednesday 06 February 2002 06:36 pm, Peter Ruskin wrote: > > I do... > > [00:32 peter@penguin:~]$ xdpyinfo | grep dimensions > > dimensions: 1280x1024 pixels (301x226 millimeters) > > > > So then I edit /etc/X11/XF86Config-4 to add "DisplaySize" ... > > Section "Monitor" > > Identifier "CTX|CTX 1792UA" > > VendorName "CTX" > > ModelName "1792UA" > > DisplaySize 300 226 > > HorizSync 30.0-95.0 > > VertRefresh 50.0-160.0 > > EndSection > As far as I understand it, xdpyinfo | grep dimensions gives the screen geometry, and if you add that to XF86Config-4 as above, then X will set the dpi according to your monitor's capabilities, whatever resolution you choose.
I have to say I haven't studied any manuals about this (because "it works for meŽ") - it came from a tip by a guru on kde-linux list. -- Peter Ruskin, Wrexham, Wales. AMD Athlon XP 1600+, 512MB RAM. Registered Linux User 219434. Mandrake Linux release 8.1 (Vitamin) Kernel 2.4.8-34.1mdk-win4lin, XFree86 4.1.0, patch level 21mdk. KDE: 2.2.2. Qt: 2.3.2. Up 16 hours 58 minutes. _______________________________________________ Linux-users mailing list - http://linux.nf/mailman/listinfo/linux-users Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.