Acer Aspire One A0751h: Part Six
April 20, 2010
Posted by on
The last in the series of posts about my netbook was back in October of last year, and discussed how to set the font DPI, and thus the basis of the font size, in Ubuntu’s Xorg. At the time, I didn’t have Arch Linux installed on the netbook, so I didn’t realize that the instructions wouldn’t work there. Only now have I gotten back to it. 😆
It seems that since Arch doesn’t use the same startup script system (BSD style instead of the SysV version most GNU/Linux distros use), there isn’t even an /etc/init.d directory, so the file doesn’t exist. So here’s a method that goes straight to the source, and tells the Xserver the exact screen size, from which it determines the font size.
➡ You will need to be root to edit the following mentioned file.
For this machine, which has a 1366×768 native screen resolution, add this line to /etc/X11/xorg.conf.
DisplaySize 294 165
Details on what these numbers mean and how to calculate them can be found in the Arch Linux Wiki in the section linked to. Don’t ask me to explain it without a copy-and-paste job, I dislike math.
The good news is, this should be a distro-agnostic way to determine the font DPI, meaning that it *should* work on Debian, Ubuntu, Fedora, Mandriva, Moblin, and pretty much any other distro. For all I know, it will probably work on ANY operating system that uses Xorg, such as the *BSDs and Solaris. But I can’t test that, so if you use a diferrent distro or operating system, and you test it, let me know if it works or not in the comments below. 🙂