第一部 安装wine
1、这个都不用说了,wiki上的
http://wiki.ubuntu.org.cn/index.php?title=Wine&variant=zh-cn
2、 要是你觉得无聊的话。。
去http://www.winehq.com 去下个1.1.34的编译玩玩
下好了先检查wine的依赖包
代码:
sudo apt-get build-dep wine
安装掉
解压你下的wine
代码:
cd /wine-1.1.34/tools
./wineinstall
./wineinstall
(你也可以
代码:
./configure
make
sudo make install
)
make
sudo make install
等啊等就可以了
我就是这样安装的,给我个机会我不编译安装,我去apt
第二步 安装winetricks
1、打开终端,输入
代码:
wget http://www.kegel.com/wine/winetricks
2、再输入
代码:
sudo apt-get install cabextract
3、再输入
代码:
chmod +x winetricks
4、最后
代码:
./winetricks
5、选择,安装
代码:
msxml3、gdiplus、riched20、riched30、ie6、vcrun6、vcrun2005sp1
6、或者不执行第4、5步,直接
代码:
sh winetricks msxml3 gdiplus riched20 riched30 ie6 vcrun6 vcrun2005
第三步 下载QQ2008、QQ2009
附件有
第四部 安装QQ2008
1、wine QQ2008
2、winecfg
应用程序指向你安装的QQ2008目录中的QQ.exe
选中QQ在函数库里面添加mfc42.dll,msvcp60.dll,riched20.dll,riched32.dll 编辑为原装(我觉得原不原装都没区别)
环境XP以上
3、这里只要注意QQ秀
复制Flash.ocx到 /home/你的用户名/.wine/drive_c/windows/system32/Macromed/Flash下
要是没有Macromed/Flash,自己建
4、注册下
代码:
env WINEPREFIX="/home/你的用户名/.wine" wine regsvr32 "C:/windows/system32/Macromed/Flash/Flash.ocx"
就可以了
5、关于我在QQ上的隐身/我在线上……乱码问题,那个打了中文补丁就OK了
(flash.ocx附件有)
第五部 安装QQ2009
1、解压好了放到/home/你的用户名/.wine/dosdevices/c:/Program Files/Tencent/下
2、在桌面新建个文件把下面代码复制进去,保存就行了
代码:
#!/usr/bin/env xdg-open
[Desktop Entry]
Name=QQ2009
Exec=env WINEPREFIX="/home/你的用户名/.wine" wine "C://Program Files//Tencent//QQ//bin//QQ.exe"
Type=Application
StartupWMClass=Wine
Path=/home/你的用户名/.wine/dosdevices/c:/Program Files/Tencent/QQ
Icon=/usr/share/tencent/qq/qq.png
[Desktop Entry]
Name=QQ2009
Exec=env WINEPREFIX="/home/你的用户名/.wine" wine "C://Program Files//Tencent//QQ//bin//QQ.exe"
Type=Application
StartupWMClass=Wine
Path=/home/你的用户名/.wine/dosdevices/c:/Program Files/Tencent/QQ
Icon=/usr/share/tencent/qq/qq.png
另存为QQ2009.desktop
icon的路径上面的是我安装了Linux for QQ的版本的,没安装的大哥们,就随便做张图,标识,自己知道就行了
要是写好了的,没法改的
代码:
gedit QQ2009.desktop
就能改了
(感谢9楼的大哥提醒)
3、登录QQ2009看看是不是文字是方框,要是的话
就把simsun.ttc复制到./wine/drive_c/windows/fonts下去
4、然后把下面代码复制进一个新文件里
代码:
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
[HKEY_CURRENT_USER/Software/Wine/X11 Driver]
"ClientSideAntiAliasWithCore"="Y"
"ClientSideAntiAliasWithRender"="Y"
"ClientSideWithRender"="Y"
[HKEY_CURRENT_USER/Control Panel/Desktop]
"FontSmoothing"="2"
"FontSmoothingType"=dword:00000002
"FontSmoothingGamma"=dword:00000578
"FontSmoothingOrientation"=dword:00000001
另存为GB18030 ***.reg
[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
[HKEY_CURRENT_USER/Software/Wine/X11 Driver]
"ClientSideAntiAliasWithCore"="Y"
"ClientSideAntiAliasWithRender"="Y"
"ClientSideWithRender"="Y"
[HKEY_CURRENT_USER/Control Panel/Desktop]
"FontSmoothing"="2"
"FontSmoothingType"=dword:00000002
"FontSmoothingGamma"=dword:00000578
"FontSmoothingOrientation"=dword:00000001
5、在终端wine regedit ***.reg 就可以了
-----------------------------------------------------------------------------
QQ2008是精简版的,要正式版的去 http://download.tech.qq.com/soft/17/21/42698/ 下,2009也是精简版