Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have installed Ubuntu on my new 13.3 inch 1280x800 MacBook Pro. It works great, but the fonts are kinda differently sized from the Mac programs, and I am wondering if I need to change the DPI. Looking at the Apple site doesn't tell me the DPI that this computer is.

share|improve this question

closed as too localized by jrg Feb 27 '12 at 23:05

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

1  
This question appears to be abandoned, if you are experiencing a similar issue please ask a new question with details pertaining to your problem. If you feel this question is not abandoned, please flag the question explaining that. :) –  Ringtail Feb 27 '12 at 23:00
add comment

3 Answers 3

Well, it doesn't tell you definitively, but we can outsmart them!

You have 800 (vertical, but I'm sure they're using square pixels, so horizontal should be the same) pixels, and the "depth" of a 13" MBP is 8.94 inches. I'm going to be sloppy and chop an inch off of that for the bezel, which gives us ~800/7.94=100 DPI. But we know an inch is too much, so if we instead say half an inch, we get ~800/8.44=95 DPI.

Truth is probably somewhere in between. But, conveniently, 96 DPI is a common density, particularly for laptop LCDs in the 13" range.

So, there's your probable answer: 96 DPI.

That said, Ubuntu may or may not be properly detecting that DPI already. It might just plain be defaulting to bigger fonts than OS X (in my experience it does tend to do so).

share|improve this answer
add comment

The actual pixel density of the MacBook screen is 113 dpi, but OS X seems to default to 72 regardless of the actual screen dimensions.

So 113 will give you accurate font sizes compared to print (but won't fit very much text on the screen), while 72 will make the font sizes more like OS X.

share|improve this answer
add comment

I found this website, which does exactly what you are looking for

Give Horizontal and vertical screen resolutions and screen size(in Inches) as the input and the site displays the required DPI for the system. See below.

enter image description here

What more if you want a python script to do it, here you go.

BTW the answer to your specific query is DPI=113

share|improve this answer
add comment