wineqq下载地址 https://phpcj.org/wineqq/
百度网盘地址:https://pan.baidu.com/s/1o8CotQU 提取码:f2sn
步骤一、安装wine(详见:https://www.winehq.org/download)
// ubuntu/ubuntukylin/mint(需要加ppa源,再安装)
sudo add-apt-repository ppa:wine/wine-builds;sudo apt-get update;sudo apt-get install winehq-stable
安装WineHQ包
1 2 3 4 5 6 |
sudo dpkg --add-architecture i386 wget -nc https://dl.winehq.org/wine-builds/Release.key sudo apt-key add Release.key sudo apt-add-repository https://dl.winehq.org/wine-builds/ubuntu/ sudo apt-get update sudo apt-get install --install-recommends winehq-stable |
步骤二、将压缩包解压到用户主目录(解压出来的是2个隐藏目录和本说明文件)
~ $tar xvf wineQQ8.9.6_22404.tar.xz -C ~/
完成上面两步,点击系统菜单,应该就有了Wine QQ的菜单项。
解决文字乱码发虚
1、到windows系统下C:\Windows\Fonts目录拷贝 simsun.ttc/micross.ttf/simhei.ttf 文件。复制到~/.wine/drive_c/windows/Fonts(必须)
2、修改 ~/.wine/system.reg (涛哥实践,以下非必须)
装好字体后,还要修改一下 Wine 的注册表设置,指定与字体相关的设置:
搜索: LogPixels
找到的行应该是:[System\CurrentControlSet\Hardware Profiles\Current\Software\Fonts]
将其中的:”LogPixels”=dword:00000060 改为:”LogPixels”=dword:00000070
搜索: FontSubstitutes
找到的行应该是:[Software\Microsoft\Windows NT\CurrentVersion\FontSubstitutes]
将其中的:
“MS Shell Dlg”=”Tahoma”
“MS Shell Dlg 2″=”Tahoma”
改为:
“MS Shell Dlg”=”SimSun”
“MS Shell Dlg 2″=”SimSun”
3、修改 ~/.wine/drive_c/windows/win.ini
gedit ~/.wine/drive_c/windows/win.ini
在文件末尾加入:
[Desktop]
menufontsize=13
messagefontsize=13
statusfontsize=13
IconTitleSize=13
4、最关键的一步,把下面的代码保存为zh.reg,在。wine下,然后终端执行regedit zh.reg
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”
转载请注明:PHP笔记 » Ubuntu17.10中安装wineQQ 及解决文字乱码发虚