Skip to content
Gary Chan edited this page Mar 27, 2020 · 12 revisions

Welcome to the winetricks-zh wiki!

2018.7.14

  • 安装最新版Wine:https://wiki.winehq.org/Ubuntu
  • 创建~/.wineWine容器,将字体(链接:https://pan.baidu.com/s/1SDFUVaoKAnC8qzCNbg3Ipg 密码:3q26) 直接复制到~/.wine/drive_c/windows/Fonts,如需更多请参考
  • 安装当前版本winetrick-zh,并解压依赖包(链接:https://pan.baidu.com/s/1VUgWnqw-hsq2kcZVnmJU3w 密码:nim2)~/.cache/winetricks/
    • 安装指南
    • winetricks-zh <=== winetricks <=== Wine
      • Wine系统库容器:~/.wine
      • winetricks/winetricks-zh应用容器:~/.local/share/wineprefixes
  • 汉化Wine: 修改Ubuntu系统LC_ALL(不更换字体,只更新LC_ALL即可汉化)
    1. 查看语言
    $ locale
    2. 修改语言设置
    # 比 sudo update-locale LC_ALL=zh_CN.UTF-8 直接
    $ sudo vim /etc/default/locale
    #  File generated by update-locale
    LANG="en_US.UTF-8"
    LC_NUMERIC="zh_CN.UTF-8"
    LC_TIME="zh_CN.UTF-8"
    LC_MONETARY="zh_CN.UTF-8"
    LC_PAPER="zh_CN.UTF-8"
    LC_NAME="zh_CN.UTF-8"
    LC_ADDRESS="zh_CN.UTF-8"
    LC_TELEPHONE="zh_CN.UTF-8"
    LC_MEASUREMENT="zh_CN.UTF-8"
    LC_IDENTIFICATION="zh_CN.UTF-8"
    LC_ALL="zh_CN.UTF-8"
    3. 需要注销才能生效
    
    4. Recommend(需要重启才能生效)
    $ vim ~/.local/share/applications/wine/Programs/WeChat/WeChat.desktop
    [Desktop Entry]
    Name=WeChat
    Exec=env LC_ALL=zh_CN.UTF-8 WINEPREFIX="/home/garychan/.wine" wine C:\\\\windows\\\\command\\\\start.exe /Unix /home/garychan/.wine/dosdevices/c:/ProgramData/Microsoft/Windows/Start\\ Menu/Programs/WeChat/WeChat.lnk
    Type=Application
    StartupNotify=true
    Path=/home/garychan/.wine/dosdevices/c:/Program Files (x86)/Tencent/WeChat
    Icon=06F2_WeChat.0
    StartupWMClass=wechat.exe
  • 安装Wiki支持的App
    • Wechat
    • Foxit Reader
    • Fast Stone Capture
    • Source Insight 3
    • 百度云盘
Clone this wiki locally