Ubuntu Font Size Adjustment

现在显示器的分辨率越来越高,屏幕上的字也就相应地越来越小,技术倒是在进步了,可眼睛却是真的越来越辛苦了。直接调低分辨率的话,字就不清楚了、发虚、有毛边。所以,使用默认的最佳分辨率、然后逐一修改系统和应用的字体大小设置是正道。

GTK

打开 系统首选项外观,切换至 字体 标签,将字体调节到合适的大小,比如12。系统默认值是10。

Ubuntu Appearance - Font

GDM

登录界面的字体在 GDM 当前使用的 主题 中控制。比如,若 GDM 使用的是 Human 主题,那么要修改的文件是 /usr/share/gdm/themes/Human/Human.xml,打开该文件,将所有 font 大小相应地调大,比如都加2。

一些应用程序

很多应用程序并非基于 GTK 开发,或者虽然是基于 GTK,但是又不严格遵循 GTK 全局配置。这样的话,就得辛苦一点,独自设置了。

Lotus Notes

在 Notes 客户端的 preferences 中,只能设置使用的字体,却无法设定字体的大小(怪怪的设计 -_-)。可以通过在 notes.ini 文件中加入参数 Display_Font_Adjustment 来调节字体大小,0 ~ 20 调大, -1 ~ -20 调小。对我来说,4最合适。

$ echo “Display_Font_Adjustment=4″ >> notes.ini

Wine

打开 ~/.wine/drive_c/windows/win.ini 文件,在文件末尾加上

[Desktop]
MenuFontSize=16
MessageFontSize=16
StatusFontSize=16
This entry was posted in Linux and tagged , . Bookmark the permalink.

One Response to Ubuntu Font Size Adjustment

  1. richard says:

    [UPDATE] 23 Dec 2008
    发现调节 dpi 值也很好,更简单一些。别忘记 /etc/gdm/gdm.conf 也加了一个 -dpi 参数,使用相同的值。

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">