Article^ Parent
Wine 笔记
Date: | 2018-07-19 00:00:00 |
Description: | Wine 使用笔记。 |
Keywords: | Wine, Windows, Linux |
Category: | engineering_technology/computer/software/os/linux |
Tag: | wine, linux |
Link: | https://www.diewuxi.com/blog/article/94.html |
Changelog
* 2018-07-19
* Done
install at amd64
- Add i386 architecture
Install packages
wine wine64 wine32 libwine libwine:i386
note:
At begining, I do not install wine32 and libwine:i386, the folder at home directory is .wine and .wine64. And I can't start run exe files, it says "Bad EXE format".
Then I according the debian wiki, installed wine32 and libwine:i386, .wine32 directory appears. But I still can't run exe files, it says some what ".wine32". So I remove .wine, .wine64, .wine32, but I found that winecfg cannot run, it says:
cat: /home/fjc/.wine/system.reg: 没有那个文件或目录
/usr/bin/winecfg: 32: exec: winecfg.exe: not found
I search the web, hope to recover the .wine directory, but I did not see these results. I tried dpkg-reconfigure wine, wine32, wine64, but still, .wine directory still not exists. I tried aptitude reinstall wine, wine32, wine64, libwine, libwine:i386, .wine directory still not exists.
End, I use wine run a exe file, cloudmusic installer, surprisely, the install progress appears, and .wine directory was also recreated. But one problem, the chinese font in gui is displayed incorrectly, it show as vertical bars.
Fonts
Generally, the problem should not exists, wine can use fonts in /usr/share/fonts
, I think.
But I did not install my microsoft font in there, I install in ~/.fonts
.
According, the wine user guide(https://wiki.winehq.org/Wine_User%27s_Guide#Other_Things_to_Configure
):
Font configuration, once a nasty problem, is now much simpler. If you have a collection of TrueType fonts in Windows it's simply a matter of copying the .ttf files into c:\windows\fonts.
I copy microsoft fonts to the directory, then, it is OK now.
Last modified: 2018-07-19
Comments [0]
There is no comments now.