Chinese display and support FAQ in Linux (2)

Source: Internet
Author: User
Article title: Display Chinese characters in Linux and support FAQs (2 ). Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
V. Chinese support in gftp, xmms, mplayer, and openoffice
Chinese display of xmms playlist in rh8
Here is a simpler method to enable xmms.
Ctrl + p-> fonts: Select Chinese as the check box. Both the upper and lower layers are supported.
Font: fangsongti and songti. add ", fixed" (enclosed in quotation marks) at the end.
This is fine, but this is only a personalized setting, only valid for this user, when other users log on
You need to set it yourself. (I didn't add fixed, as if I could)
  
The other method is provided by smileliu. In fact, the previous step is to install a new font, which is the same as the previous one.
Xmms display English is ISO8859-1, display Chinese is gb2312.1980-0, so as long
/Usr/share/fonts/zh_CN/TrueType/fonts. dir:
Zysong. ttf-misc-ZYSong18030-medium-r-normal -- 0-0-0-0-c-0-gb2312.1980-0
Then exit X and run/etc/rc. d/init. d/xfs restart as the root user. then enter X to start xmms,
Select the "use fontsets" and "Use X font" check boxes in the font column of the options.
Playlist and main windows fonts are set:
-Misc-zysong18030-medium-r-normal-*-120-*-c -*-*
You can.
If you do not have zysong fonts, you can use other fonts as needed. Note that some fonts are not defined.
ISO8859-1, you also need to add its definition like adding the gb2312.1980-0 definition.
  
  
Gftp cannot access the Chinese directory or download Chinese files
This is a problem with gtk2. download the source code and modify it to remove the support for gtk2.
My own (rh7.2 + gcc-3.2) files were uploaded to ftp.lib.pku.edu.cn, including the modified src. rpm.
In addition, gftp can be based on gtk2 or gtk1.2. if gtk1.2 is used, there is no problem in Chinese.
To use gtk1.2, add option -- disable-gtk20 when configure
  
  
How to use mplayer to play Chinese subtitles in. srt format
For mplayer 0.9 you can do this:
1. ln-s/usr/share/simsun. ttf ~ /. Mplayer/subfont. ttf
2. mplayer-subcp cp936 *****. avi
(OR you can add this option ~ /. Mplayer/config: subcp = cp936)
  
By nightcat:
Mplayer-sub subfile-font subfont. ttf-unicode
  
  
Why can't mplayer display Chinese characters?
If the dialog box is displayed, the gtk font is not properly configured. if the dialog box is played
It is impossible to display Chinese characters, because it is actually an image.
  
  
OpenOffice1.0 Chinese display
Discussion on www.linuxforum.net:
There is a font named song in turbo.
The installation interface and program interface of openoffice must use the song name.
Just give the Chinese font a song and kai alias.
The UI font can be tool/option/View
Adjust the display percentage to 110%.
  
I tried to install the truetye font (probably because I didn't use the truetye font)
However, after the installation, copy simsun. ttf to the oppenoffice font directory,
In the menu (T)-> (O), select the penultimate option of the first branch, and then select Interface User on the left,
Select on the right and click the first button. The interface becomes the simsun of pp.
  
  
6. how to implement an English environment (or an English menu) and input or display it in Chinese
In Rh9, how can I set the menu to be entered in Chinese but in English?
In RH9, the language is English, but I want to enter Chinese. how can I modify i18n?
Redhat8.0 English interface + supported Chinese environment
Create ~ /. I18n
LANGUAGE = en_US.UTF-8
LC_CTYPE = zh_CN.GB18030
It should be enough.
  
But my ~ /. I18n is like this.
LANG = zh_CN.GB18030
LANGUAGE = en_US.UTF-8
LC_CTYPE = zh_CN.GB18030
LC_TIME = en_US.UTF-8
Because LANG is not set, it seems that ctrl + space cannot call up the input method directly. it is necessary
Right click and set the Input Method to XIM (I wonder if it can be set automatically ?)
No lc1_time is set. the time in the lower right corner is still displayed in Chinese, and garbled characters are displayed when you view the time on the console.
  
If you use GNOME, this is enough.
If you use KDE, theoretically, you only need to go to the control center to change the interface language to English.
But there is a bug in rh9 KDE, and the solution is rpm-e kde-i18n-Chinese.
  
The principle is probably like this: the gtk2 program is in the 'language' LC _ all''lc _ XXX' LANG 'order.
To determine the language of the menu.
  
  
  

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.