In XF86Config-4, i have the display set to 31.2cm wide:
Section "Monitor" Identifier "Philips" VendorName "Philips" ModelName "C20 (CM0500)" HorizSync 31.5,35.2,37.8,48,56,64 DisplaySize 312 234 VertRefresh 50-90 Option "DPMS" Gamma 2.4 2.5 2.6 EndSection
Section "Screen" Identifier "Screen Philips/NVidia" Device "Card_NVidia" Monitor "Philips" DefaultDepth 24 SubSection "Display" Depth 1 EndSubSection SubSection "Display" Depth 4 EndSubSection SubSection "Display" Depth 8 EndSubSection SubSection "Display" Depth 15 EndSubSection SubSection "Display" Depth 16 EndSubSection SubSection "Display" Depth 24 EndSubSection EndSection
When the default vesa mode of "1024x768" is started, XFree86.0.log says that the resolution is set at 100dpi when it should be 83dpi 25.4*(1024/312). This is an analog monitor.
(--) NV(0): Virtual size is 1024x768 (pitch 1024)
(**) NV(0): Default mode "1024x768": 75.0 MHz, 56.5 kHz, 70.1 Hz
(II) NV(0): Modeline "1024x768" 75.00 1024 1048 1184 1328 768 771 777 806 -hsync -vsync
(**) NV(0): Default mode "1024x768": 65.0 MHz, 48.4 kHz, 60.0 Hz
(II) NV(0): Modeline "1024x768" 65.00 1024 1048 1184 1344 768 771 777 806 -hsync -vsync
(**) NV(0): Default mode "1024x768": 44.9 MHz, 35.5 kHz, 87.1 Hz (I)
(II) NV(0): Modeline "1024x768" 44.90 1024 1032 1208 1264 768 768 776 817 interlace +hsync +vsync
(++) NV(0): DPI set to (100, 100)
On another pc, i use the 800x600 mode with a digital monitor, but the DisplaySize is also ignored there and 100dpi used, making all the windows and icons too big in X.
xdpyinfo also shows 100dpi and the wrong screen size in both cases.
screen #0: dimensions: 1024x768 pixels (260x195 millimeters) resolution: 100x100 dots per inch depths (7): 24, 1, 4, 8, 15, 16, 32 root window id: 0x36 depth of root window: 24 planes number of colormaps: minimum 1, maximum 1 default colormap: 0x20 default number of colormap cells: 256 preallocated pixels: black 0, white 16777215 options: backing-store NO, save-unders NO largest cursor: 32x32 current input event mask:
Why does my setting get ignored? It makes all the windows and icons in X too big.
[EMAIL PROTECTED]: XFree86 -version XFree86 Version 4.2.1 (Debian 4.2.1-3 20021016191246 [EMAIL PROTECTED]) / X Window System (protocol Version 11, revision 0, vendor release 6600) Release Date: 3 September 2002 Build Operating System: Linux 2.4.18 i686 [ELF] Module Loader present
_______________________________________________ XFree86 mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xfree86