Easy setting of Chinese display for Wine Program

Source: Internet
Author: User
Article Title: easily set the Chinese display of the Wine program. 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.

Generally, the wine version in the ubuntu software repository is old. For example, when writing this article, the wine version in the official ubuntu 7.10 source is 0.9.46, and the latest version is 0.9.49, therefore, it is necessary to use other sources to install the latest wine.

Add wine official sources

Wget-q http://wine.budgetdedicated.com/apt/387EE263.gpg-O-| sudo apt-key add-

For Ubuntu Gutsy (7.10 ):

Sudo wget http://wine.budgetdedicated.com/apt/sources.list.d/gutsy.list-O/etc/apt/sources. list. d/winehq. list

For Ubuntu Feisty (1, 7.04 ):

Sudo wget http://wine.budgetdedicated.com/apt/sources.list.d/feisty.list-O/etc/apt/sources. list. d/winehq. list

For Ubuntu Edgy (6.10): * 64-bit not supported *

Sudo wget http://wine.budgetdedicated.com/apt/sources.list.d/edgy.list-O/etc/apt/sources. list. d/winehq. list

For Ubuntu Dapper (6.06): * 64-bit not supported *

Sudo wget http://wine.budgetdedicated.com/apt/sources.list.d/dapper.list-O/etc/apt/sources. list. d/winehq. list

For Debian Etch (4.0 ):

Sudo wget http://wine.budgetdedicated.com/apt/sources.list.d/etch.list-O/etc/apt/sources. list. d/winehq. list

Install the latest wine
Sudo apt-get update
Sudo apt-get install wine

Set wine

After the installation is complete, do not run wine to simulate the program, because wine requires some necessary settings to run

Winecfg

Click the "Audio" tab and select the appropriate driver according to the settings. You can click the "Test Sound" button next to the driver to Test whether the driver is successful.

Google searches for windows xp's Fonts directory and copies simsun. ttc (that is,) ~ /. Wine/drive_c/windows/fonts

Save the following content as fonts. reg and save it ~ /. Wine/directory


REGEDIT4

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\FontSubstitutes]"Arial"="simsun""Arial CE,238"="simsun""Arial CYR,204"="simsun""Arial Greek,161"="simsun""Arial TUR,162"="simsun""Courier New"="simsun""Courier New CE,238"="simsun""Courier New CYR,204"="simsun""Courier New Greek,161"="simsun""Courier New TUR,162"="simsun""FixedSys"="simsun""Helv"="simsun""Helvetica"="simsun""MS Sans Serif"="simsun""MS Shell Dlg"="simsun""MS Shell Dlg 2"="simsun""System"="simsun""Tahoma"="simsun""Times"="simsun""Times New Roman CE,238"="simsun""Times New Roman CYR,204"="simsun""Times New Roman Greek,161"="simsun""Times New Roman TUR,162"="simsun""Tms Rmn"="simsun"

Import the fonts. reg saved in the previous step.
  
Regedit ~ /. Wine/fonts. reg

Okay, the Chinese display is basically okay, and you can use scim to input Chinese.

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.