“UbuntuHelp:Gtk1Fonts”的版本间的差异
来自Ubuntu中文
小 (新页面: {{From|https://help.ubuntu.com/community/Gtk1Fonts}} {{Languages|UbuntuHelp:Gtk1Fonts}} To change the gtk1 fonts (i.e. xmms) do the following: Create a file ~/.gtkrc containing the line ...) |
小 |
||
第2行: | 第2行: | ||
{{Languages|UbuntuHelp:Gtk1Fonts}} | {{Languages|UbuntuHelp:Gtk1Fonts}} | ||
To change the gtk1 fonts (i.e. xmms) do the following: | 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: | Create a file ~/.gtkrc containing the line (if it does not already exist), and replace $USER with your username: | ||
− | |||
<pre><nowiki> | <pre><nowiki> | ||
include "/home/$USER/.gtkrc.mine" | include "/home/$USER/.gtkrc.mine" | ||
</nowiki></pre> | </nowiki></pre> | ||
− | |||
Then create the referenced file (~/.gtkrc.mine) with the content: | Then create the referenced file (~/.gtkrc.mine) with the content: | ||
− | |||
<pre><nowiki> | <pre><nowiki> | ||
style "user-font" | style "user-font" | ||
第16行: | 第12行: | ||
fontset="-*-helvetica-medium-r-normal-*-10-*-*-*-*-*-iso8859-1" | fontset="-*-helvetica-medium-r-normal-*-10-*-*-*-*-*-iso8859-1" | ||
} | } | ||
− | |||
widget_class "*" style "user-font" | widget_class "*" style "user-font" | ||
</nowiki></pre> | </nowiki></pre> | ||
− | |||
(Replace the font as you like, you can test fonts of this format with xfontsel run from a terminal) | (Replace the font as you like, you can test fonts of this format with xfontsel run from a terminal) | ||
− | |||
[[category:CategoryDocumentation]] | [[category:CategoryDocumentation]] | ||
[[category:UbuntuHelp]] | [[category:UbuntuHelp]] |
2007年11月30日 (五) 17:30的版本
点击翻译: |
English |
请不要直接编辑翻译本页,本页将定期与来源同步。 |
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)