轻松设置Wine程序的中文显示[Linux安全]
本文“轻松设置Wine程序的中文显示[Linux安全]”是由七道奇为您精心收集,来源于网络转载,文章版权归文章作者所有,本站不对其观点以及内容做任何评价,请读者自行判断,以下是其具体内容:
普通情形下,ubuntu 软件仓库里 wine 的版本对比旧,比方在写这篇文章时,ubuntu 7.10 官方源里的 wine 版本是 0.9.46,而最新的已经是 0.9.49 了,所以有必要利用其他的源来安装最新的 wine.
增添 wine 官方源
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 (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 位*
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 位*
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
安装最新的 wine
sudo apt-get update
sudo apt-get install wine
设置 wine
在安装完成后,先不要运行 wine 来模拟程序,因为 wine 需求举行一些必要的设置,运行
winecfg
点 “Audio” 选项卡,按照下图设置,此中 “Sound Drivers” 处需求按照自己的情形来挑选符合的驱动,可以按旁边的 “Test Sound” 按钮测试能否成功.
Google 搜索或到 windows xp 的 Fonts 目录下,把 simsun.ttc (即宋体)复制到 ~/.wine/drive_c/windows/fonts
把下列内容另存为 fonts.reg,保存到 ~/.wine/ 目录下
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"
导入上一步保存的 fonts.reg
regedit ~/.wine/fonts.reg
好了,中文显示基本上没有问题了,并且可以用 scim 输入法输入中文.
以上是“轻松设置Wine程序的中文显示[Linux安全]”的内容,如果你对以上该文章内容感兴趣,你可以看看七道奇为您推荐以下文章:
本文地址: | 与您的QQ/BBS好友分享! |