wine安装OFFICE_2007.md

作者: csbde 分类: 未分类 发布时间: 2015-09-16 17:19

OS: ARCHLINUX software: office22007 wine:wine-1.7.51 安装前缀:LC_ALL=zh_CN.UTF-8 WINEARCH=win32 WINEPREFIX=/home/simon/.local/share/wineprefixes/office2007pro“

安装过程

$env LC_ALL=zh_CN.UTF-8  WINEARCH=win32  WINEPREFIX=/home/simon/.local/share/wineprefixes/office2007pro” wine /home/simon/Downloads/MicrosoftOffice2007SP2.exe

关联wine打开,并能输入中文

sed -i 's#env WINEPREFIX=/home/simon/.local/share/wineprefixes/office2007pro#env LC_ALL=zh_CN.UTF-8  WINEARCH=win32  WINEPREFIX=/home/simon/.local/share/wineprefixes/office2007pro#g' wine-extension-cdf.desktop wine-extension-chm.desktop wine-extension-csv.desktop wine-extension-doc.desktop wine-extension-docm.desktop wine-extension-docx.desktop wine-extension-dot.desktop wine-extension-dotm.desktop wine-extension-dotx.desktop wine-extension-dps.desktop wine-extension-eif.desktop wine-extension-eip.desktop wine-extension-gif.desktop wine-extension-hlp.desktop wine-extension-hta.desktop wine-extension-htm.desktop wine-extension-ini.desktop wine-extension-jfif.desktop wine-extension-jpe.desktop wine-extension-js.desktop wine-extension-jse.desktop wine-extension-kipx.desktop wine-extension-mht.desktop wine-extension-msp.desktop wine-extension-p7b.desktop wine-extension-p7c.desktop wine-extension-png.desktop wine-extension-pot.desktop wine-extension-potm.desktop wine-extension-potx.desktop wine-extension-ppsm.desktop wine-extension-ppsx.desktop wine-extension-ppt.desktop wine-extension-pptm.desktop wine-extension-pptx.desktop wine-extension-prf.desktop wine-extension-psd.desktop wine-extension-rat.desktop wine-extension-rtf.desktop wine-extension-sct.desktop wine-extension-thmx.desktop wine-extension-txt.desktop wine-extension-url.desktop wine-extension-vbe.desktop wine-extension-vbs.desktop wine-extension-vcf.desktop wine-extension-wab.desktop wine-extension-wizplugin.desktop wine-extension-wizskin.desktop wine-extension-wiztemplate.desktop wine-extension-wks.desktop wine-extension-wps.desktop wine-extension-wri.desktop wine-extension-wsf.desktop wine-extension-wsh.desktop wine-extension-xla.desktop wine-extension-xlsb.desktop wine-extension-xls.desktop wine-extension-xlsm.desktop wine-extension-xlsx.desktop wine-extension-xlt.desktop wine-extension-xltm.desktop wine-extension-xltx.desktop wine-extension-xml.desktop wine-extension-xsl.desktop wine-extension-ziw.desktop

处理powerpoint 不能打开的问题

env LC_ALL=zh_CN.UTF-8  WINEARCH=win32  WINEPREFIX=/home/simon/.local/share/wineprefixes/office2007pro“ winecfg

然后在打开的配置中选择函数库 查找到 reached20,并设置为原装优先内置

创建启动菜单,并整合进菜单中

$cat ~/.local/share/applications/Excel.desktop
[Desktop Entry]
Type=Application
Name=Microsoft Office Excel
Exec=env LC_ALL=zh_CN.UTF-8  WINEARCH='win32'  WINEPREFIX=/home/simon/.local/share/wineprefixes/office2007pro wine C:\\\\Program\\ Files\\\\Microsoft\\ Office\\\\OFFICE12\\\\EXCEL.EXE
Comment=使用 Microsoft Office Word 创建和编辑具有专业外观的文档,如信函、论文、报告和小册子。
Path=/home/simon/.local/share/wineprefixes/office2007pro/dosdevices/c:/Program Files/Microsoft Office/OFFICE12
StartupNotify=true
Icon=876A_EXCEL.0
Categories=Office;
$ cat ~/.local/share/applications/MSWord.desktop
[Desktop Entry]
Name=Microsoft Office Word 2007
Exec=env LC_ALL=zh_CN.UTF-8  WINEARCH='win32'  WINEPREFIX=/home/simon/.local/share/wineprefixes/office2007pro wine C:\\\\Program\\ Files\\\\Microsoft\\ Office\\\\OFFICE12\\\\WINWORD.EXE
Type=Application
StartupNotify=true
Comment=使用 Microsoft Office Word 创建和编辑具有专业外观的文档,如信函、论文、报告和小册子。
Path=/home/simon/.local/share/wineprefixes/office2007pro/dosdevices/c:/Program Files/Microsoft Office/OFFICE12
Icon=E85C_WINWORD.0
Categories=Office;
$ cat ~/.local/share/applications/PowerPoint.desktop
[Desktop Entry]
Type=Application
Name=Microsoft Office PowerPoint
Exec=env LC_ALL=zh_CN.UTF-8  WINEARCH='win32'  WINEPREFIX=/home/simon/.local/share/wineprefixes/office2007pro wine C:\\\\Program\\ Files\\\\Microsoft\\ Office\\\\OFFICE12\\\\POWERPNT.EXE
Comment=使用 Microsoft PowerPoint。
Path=/home/simon/.local/share/wineprefixes/office2007pro/dosdevices/c:/Program Files/Microsoft Office/OFFICE12
StartupNotify=true
Icon=D478_POWERPNT.0
Categories=Office;

至此,已经可以在菜单中打开office,并双击时也能正常打开文档

]]>

如果觉得我的文章对您有用,请随意打赏。您的支持将鼓励我继续创作!

发表评论

电子邮件地址不会被公开。 必填项已用*标注