From owner-freebsd-emulation@FreeBSD.ORG Fri Jan 21 13:51:01 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 B8DFD106566C for ; Fri, 21 Jan 2011 13:51:01 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (lurza.secnetix.de [IPv6:2a01:170:102f::2]) by mx1.freebsd.org (Postfix) with ESMTP id 2F7238FC16 for ; Fri, 21 Jan 2011 13:51:00 +0000 (UTC) Received: from lurza.secnetix.de (localhost [127.0.0.1]) by lurza.secnetix.de (8.14.3/8.14.3) with ESMTP id p0LDoijR017221; Fri, 21 Jan 2011 14:50:59 +0100 (CET) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.14.3/8.14.3/Submit) id p0LDoii3017220; Fri, 21 Jan 2011 14:50:44 +0100 (CET) (envelope-from olli) Date: Fri, 21 Jan 2011 14:50:44 +0100 (CET) Message-Id: <201101211350.p0LDoii3017220@lurza.secnetix.de> From: Oliver Fromme To: freebsd-emulation@FreeBSD.ORG, Matthias Apitz In-Reply-To: <20110121121455.GA2413@current.Sisis.de> X-Newsgroups: list.freebsd-emulation User-Agent: tin/1.8.3-20070201 ("Scotasay") (UNIX) (FreeBSD/6.4-PRERELEASE-20080904 (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.3.5 (lurza.secnetix.de [127.0.0.1]); Fri, 21 Jan 2011 14:50:59 +0100 (CET) Cc: Subject: Re: skype-2.0.0.72,1 && font size X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-emulation@FreeBSD.ORG, Matthias Apitz 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 13:51:01 -0000 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. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "I started using PostgreSQL around a month ago, and the feeling is similar to the switch from Linux to FreeBSD in '96 -- 'wow!'." -- Oddbjorn Steffensen