一、安裝
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
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
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