折腾过程参考了论坛中spectater的帖子,在此表示感谢!帖子地址:viewtopic.php?f=155&t=194392#
首先配置好Wine,需要自行添加MS中文字体参考帖子,地址:viewtopic.php?f=121&p=1106791
下载单文件版本的QQ2009,解压后将qq2009.exe放到/home/你的用户名/.wine/dosdevices/c:/Program Files/Tencent/文件夹内;
下载地址:http://download.58lan.com:8080//20090521/qq2009.rar
接着用wine regedit导入中文字体注册表文件(Font.reg)内容如下:
代码: 全选
REGEDIT4
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\FontLink]
"FontLinkControl"=dword:00004000
"FontLinkDefaultChar"=dword:00003000
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\FontLink\SystemLink]
"Lucida Sans Unicode"=hex(7):4d,53,47,4f,54,48,49,43,2e,54,54,43,00,4d,53,55,\
49,00,47,6f,74,68,69,63,00,00
"Microsoft Sans Serif"=hex(7):53,69,6d,53,75,6e,2e,54,54,43,00,53,69,6d,53,75,\
6e,00,00
"SimSun"=hex(7):67,75,6c,69,6d,2e,74,74,63,00,67,75,6c,69,6d,00,00
"Tahoma"=hex(7):53,69,6d,53,75,6e,2e,54,54,43,00,53,69,6d,53,75,6e,00,00
代码: 全选
#!/usr/bin/env xdg-open
[Desktop Entry]
GenericName[zh_CN]=腾讯QQ2009
Name=腾讯QQ
Exec=env WINEPREFIX="/home/你的用户名/.wine" wine "C:\Program Files\Tencent\QQ2009.exe"
Type=Application
StartupWMClass=Wine
Path=/home/你的用户名/.wine/dosdevices/c:/Program Files/Tencent/
Icon=/home/你的用户名/.wine/dosdevices/c:/Program Files/Tencent/qq.png
Categories=Wine-Programs;