Debian 7 64位安装 wine

本文介绍了如何在Ubuntu上安装Wine并调整字体大小及显示效果。首先通过命令行安装Wine及其32位依赖包,然后通过修改注册表和配置文件来改善字体显示。

一、安装

1、

# apt-get install wine

安装完后在终端里运行wine:

# wine

会弹出一个对话框:

This is the wine64-bin helper package, which does not provide wine itself,
but instead exists solely to provide the following information about
enabling multiarch on your system in order to be able to install and run
the 32-bit wine packages.

The following commands should be issued as root or via sudo in order to
enable multiarch (the last command installs 32-bit wine):

  # dpkg --add-architecture i386
  # apt-get update
  # apt-get install wine-bin:i386

Be very careful as spaces matter above.  Note that this package
(wine64-bin) will be removed in the process.  For more information on
the multiarch conversion, see: http://wiki.debian.org/Multiarch/HOWTO

2、按提示继续:

# dpkg --add-architecture i386
# apt-get update
# apt-get install wine:i386

这样会下载约90兆文件。安装完成后:

# wine --version
wine-1.4.1

可以看到wine的版本,这样就安装好了。

二、字体设置

安装好后在wine里打开windows程序发现字体很小,有些中文还是口口。

1、在wine里打开注册表,导入reg文件:

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\FontLink\SystemLink]
"Lucida Sans Unicode"="wqy-microhei.ttc"
"Microsoft Sans Serif"="wqy-microhei.ttc"
"Tahoma"="wqy-microhei.ttc"
"Tahoma Bold"="wqy-microhei.ttc"
"SimSun"="wqy-microhei.ttc"                          

2、在注册表 HKEY_CURRENT_CONFIG\Software\Fonts 中把 LogPixels的值改大一些。

HKEY_CURRENT_CONFIG\Software\Fonts

Read more : http://www.ehow.com/how_6931859_adjust-fonts-wine-ubuntu.html
HKEY_CURRENT_CONFIG\Software\Fonts.

Read more : http://www.ehow.com/how_6931859_adjust-fonts-wine-ubuntu.html

然后打开win.ini文件:

~/.wine/drive_c/windows/win.ini

在文件中加入2行:

[Desktop]
MenuFontSize=18

打完收工!

参考:

http://www.binarytides.com/install-wine-debian-wheezy/

http://www.ehow.com/how_6931859_adjust-fonts-wine-ubuntu.html

转载于:https://www.cnblogs.com/ibgo/p/3984879.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值