For Programmers: Free Programming Magazines  


Home > Archive > Tcl > May 2007 > Re: Making tcl/tk work correctly with a wide-screen monitor









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: Making tcl/tk work correctly with a wide-screen monitor
Uwe Klein

2007-05-30, 4:18 am

/dev/in wrote:
> I recently bought a wide-screen monitor to use with my home PC running
> linux. All the other applications look good, but the wish apps all have
> extra spacing between the letters, and the letters themselves appear to be
> a bit stretched horizontally.
> Here's what I've got in XF86Config for the monitor setup for my default
> resolution:
>
> Section "Monitor"
> Identifier "SyncMaster940bw"
> VendorName "Samsung"
> HorizSync 30-81
> VertRefresh 56-75
>
> # Sony Vaio C1(X,XS,VE,VN)?
> # 1440x900 @ 85.6 Hz, 48 kHz hsync
> ModeLine "1440x900" 106.5 1440 1520 1672 1904 900 903 909 934 -hsync -vsync
>
> I installed ActiveTcl (and BLT) prior to switching monitors and changing
> XF86Config.


You need the "DisplaySize" entry in your your Monitor section:

The same monitor as configured on a customers system:

Section "Monitor"
DisplaySize 409 256
HorizSync 30-90
Identifier "Monitor[0]"
ModelName "1440X900@70HZ"
Option "DPMS"
VendorName "--> LCD"
VertRefresh 58-72
UseModes "Modes[0]"
EndSection

uwe
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com