Doesn't Not Compute

My log of experiences with GNU/Linux and computers in general.

Acer Aspire One A0751h: Part Six

Acer Aspire One 751hThe 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. :mrgreen:

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. 🙂


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: