个人工具

UbuntuHelp:Gtk1Fonts

来自Ubuntu中文

Wikibot讨论 | 贡献2009年5月12日 (二) 17:01的版本

(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
跳转至: 导航, 搜索

To change the gtk1 fonts (i.e. xmms) do the following: Create a file ~/.gtkrc containing the line (if it does not already exist), and replace $USER with your username:

  include "/home/$USER/.gtkrc.mine"

Then create the referenced file (~/.gtkrc.mine) with the content:

  style "user-font"
   {
    fontset="-*-helvetica-medium-r-normal-*-10-*-*-*-*-*-iso8859-1"
   }

  widget_class "*" style "user-font"

(Replace the font as you like, you can test fonts of this format with xfontsel run from a terminal)