Mailinglist Archive: opensuse (4398 mails)

< Previous Next >
Re: [SLE] Changing fonts dpi
  • From: Keith Powell <keith@xxxxxxxxxxxxxxxxxxxxxxx>
  • Date: Thu, 1 Sep 2005 09:39:31 +0100
  • Message-id: <200509010939.31203.keith@xxxxxxxxxxxxxxxxxxxxxxx>
On Thursday 01 Sep 2005 1:01 am, Adam Vazquez Kb2Jpd wrote:
> Does anyone know how to do this on the GNOME side?
>
> Adam
>

Adam,

I got this answer from another list, and have not tried it with SUSE. So I
don't know if it works!

1) Make a copy of /etc/X11/xorg.conf file, just in case of problems.

2) Load the xorg.cong file into a text editor and find the "Monitor" section.

3) Add the following lines before EndSection:

# DisplaySize 270 203 #1024x768 96dpi
# DisplaySize 338 254 #1280x960 96dpi
# DisplaySize 338 270 #1280x1024 96dpi
# DisplaySize 370 277 #1400x1050 96dpi
# DisplaySize 423 370 #1600x1400 96dpi

4) Uncomment the line corresponding to your resolution.

To get other values, use the formula:

displaysize=<pixelsize>/96*25.4

5) Reboot or restart X, after which verify the dpi setting is correct by
running the following in a terminal.

xdpyinfo | grep dimensions
xdpyinfo | grep resolution

If the resolution is not 96x96, slightly adjust the DisplaySize values until
correct.

6) Configure Gnome to run at 96 dots per inch in System > Preferences > Font
>Details

As I said, I haven't tried this in SUSE, but I hope it works.

Cheers

Keith


< Previous Next >
List Navigation
References