From owner-freebsd-emulation@FreeBSD.ORG Fri Jan 21 16:05:45 2011 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3C16B106566C for ; Fri, 21 Jan 2011 16:05:45 +0000 (UTC) (envelope-from tedm@mittelstaedt.us) Received: from mail.freebsd-corp-net-guide.com (mail.freebsd-corp-net-guide.com [65.75.192.90]) by mx1.freebsd.org (Postfix) with ESMTP id DA0608FC1F for ; Fri, 21 Jan 2011 16:05:44 +0000 (UTC) Received: from [192.168.1.64] (nat-rtr.freebsd-corp-net-guide.com [65.75.197.130]) by mail.freebsd-corp-net-guide.com (8.14.3/8.14.3) with ESMTP id p0LG5hov079949 for ; Fri, 21 Jan 2011 08:05:44 -0800 (PST) (envelope-from tedm@mittelstaedt.us) Message-ID: <4D39AEDB.1070008@mittelstaedt.us> Date: Fri, 21 Jan 2011 08:05:47 -0800 From: Ted Mittelstaedt User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: freebsd-emulation@freebsd.org References: <201101211350.p0LDoii3017220@lurza.secnetix.de> In-Reply-To: <201101211350.p0LDoii3017220@lurza.secnetix.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: skype-2.0.0.72,1 && font size X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Jan 2011 16:05:45 -0000 On 1/21/2011 5:50 AM, Oliver Fromme wrote: > Matthias Apitz wrote: > > It is a xorg.conf in a VMWare virtual machine and it shows: > > > > $ xdpyinfo | grep dots > > resolution: 230x173 dots per inch > > > > Sould it be adjusted to 100x100? Thanks for your hint > > Yes, unless your display is 21.2 x 15.9 cm (at 1920 x 1080 > pixels), which seems unlikely. :-) > > When the dpi value is incorrect, i.e. too high, then some > applications will think that your screen is much smaller > than it really is, so they adjust the sizes of fonts and > icons to be bigger. This is exactly the symptom that you > are seeing. > > For a quick check, restart your X server with the option > -dpi 100 (or modify your xorg.conf appropriately) and > verify the font sizes in your applications. If it's > better, then just keep it that way. > > 100 dpi should be correct for a screen that is ~ 22 inch. > One or two inches more or less won't hurt either. If it's > less than 20 inch, you can also try 110 or 120 dpi. > > If you're a perfectionist, you can calculate the exact > dpi value for your screen: Divide the number of pixels > per row (horizontally) by the width of the screen in > inch (remember: inch = cm / 2.54). For example, my > screen here (also 1920 x 1080) is 47.7 cm wide, which > is 18.78 inch. Thus: 1920 / 18.78 = 102 dpi. I have > rounded it to 100 dpi. > > You can also enter the width (in mm) directly in xorg.conf > (see my previous reply in this thread), so the X server > will calculate the dpi value itself. Personally I prefer > the dpi value to be a round number, so I specify it on > the X command line directly. > > In many (most?) cases, when using digital connections such > as HDMI, the X server detects the correct display size > automatically, so there is no need to modify the dpi value > manually. However, since you're running inside a VMWare > virtual machine, I guess that this autodetection doesn't > work through the virtualization layer. > This problem is also common with many KVM switches as they are not 2-way on the video port and will not pass the DPMS info back to the video card from the monitor. The screen works fine if the monitor is plugged directly into the video port but not when it's on the KVM - unless you manually configure everything in the x config file. Ted > Best regards > Oliver >