Chinese solution of GTK1 Program of Xmms Amule under X.Org

Source: Internet
Author: User
Keywords Resolved 1980 if could
Tags adobe default direct etc file problems processing use

Xorg and XFREE86 locale processing is not the same, if you use gtkrc.utf-8 words, you must specify a certain order in Japan and South Korea and other fonts, otherwise there are problems in Chinese.

In this way, it's easier to use gtkrc.zh_cn.utf-8 directly.

If there is/etc/gtk/gtkrc.zh_cn this file

$sudo Cp/etc/gtk/gtkrc.zh_cn/etc/gtk/gtkrc.zh_cn.utf-8

On it, the XMMS font can be set to:

-adobe-helvetica-medium-r-normal--12-*-*-*-*-*-iso8859-1,-*-*-medium-r-normal--16-*-*-*-*-*-gb2312.1980-0,*-r- *

If it does not exist, directly establish

$sudo Gedit/etc/gtk/gtkrc.zh_cn.utf-8

The contents of the file are:

# $ (gtkconfigdir)/GTKRC.ZH_CN
#
# This file defines the fontsets for Chinese language (en) using
# The Simplified Chinese standard Guobiao as in mainland (CN)
#
# 1999, Pablo Saratxaga <pablo@mandrakesoft.com>
#

Style "GTK-DEFAULT-ZH-CN" {
Fontset = "-adobe-helvetica-medium-r-normal--12-*-*-*-*-*-iso8859-1,\
-*-*-medium-r-normal--16-*-*-*-*-*-gb2312.1980-0,*-r-* "
}
Class "Gtkwidget" style "GTK-DEFAULT-ZH-CN"


The person who has installed the Ttf-arphic-uming package can be modified to display beautiful font number 12th

# $ (gtkconfigdir)/GTKRC.ZH_CN
#
# This file defines the fontsets for Chinese language (en) using
# The Simplified Chinese standard Guobiao as in mainland (CN)
#
# 1999, Pablo Saratxaga <pablo@mandrakesoft.com>
#

Style "GTK-DEFAULT-ZH-CN" {
Fontset = "-adobe-helvetica-medium-r-normal--12-*-*-*-*-*-iso8859-1,-*-uming-*-*-*--12-*-*-*-*-*-gb2312.1980-*,\
-*-*-medium-r-normal--16-*-*-*-*-*-gb2312.1980-0,*-r-* "
}
Class "Gtkwidget" style "GTK-DEFAULT-ZH-CN"

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.