骏麒 發表於 2020-11-18 21:33:00

ubuntu 下 Deepin-TIM 折腾笔记

<h3 id="安装-tim">安装 TIM</h3>
<p>wszqkzqk/deepin-wine-ubuntu</p>
<h3 id="解决tim下打不开图片的问题">解决TIM下打不开图片的问题</h3>
<p>安装完 TIM 后先别启动, 做好这一步:</p>
<pre><code class="language-bash">sudo gedit /etc/sysctl.conf
</code></pre>
<p>在文件末尾追加</p>
<pre><code># IPv6 disabled
net.ipv6.conf.all.disable_ipv6 =1
net.ipv6.conf.default.disable_ipv6 =1
net.ipv6.conf.lo.disable_ipv6 =1
</code></pre>
<p>然后终端输入:</p>
<pre><code class="language-bash">sudo sysctl -p
</code></pre>
<p>清空缓存:</p>
<pre><code class="language-bash">sudo rm -rf ~/.deepinwine/Deepin-QQ
</code></pre>
<h3 id="更新-tim">更新 TIM</h3>
<p>下载最新版的 <code>windows-TIM</code>, 然后安装:</p>
<pre><code class="language-bash">WINEPREFIX=~/.deepinwine/Deepin-TIM deepin-wine *.exe
</code></pre>
<h3 id="中文字体">中文字体</h3>
<pre><code>sudo apt install fonts-wqy-microhei fonts-wqy-zenhei
</code></pre>
<p>下载字体: 微软雅黑</p>
<pre><code class="language-bash">cp msyh.ttc ~/.deepinwine/Deepin-WeChat/drive_c/windows/Fonts
</code></pre>
<p>msyh_config.reg:</p>
<pre><code>REGEDIT4

"MS Shell Dlg"="msyh"
"MS Shell Dlg 2"="msyh"
"Arial"="msyh"
"Arial CE,238"="msyh"
"Arial CYR,204"="msyh"
"Arial Greek,161"="msyh"
"Arial TUR,162"="msyh"
"Courier New"="msyh"
"Courier New CE,238"="msyh"
"Courier New CYR,204"="msyh"
"Courier New Greek,161"="msyh"
"Courier New TUR,162"="msyh"
"FixedSys"="msyh"
"Helv"="msyh"
"Helvetica"="msyh"
"MS Sans Serif"="msyh"
"MS Shell Dlg"="msyh"
"MS Shell Dlg 2"="msyh"
"System"="msyh"
"Tahoma"="msyh"
"Times"="msyh"
"Times New Roman CE,238"="msyh"
"Times New Roman CYR,204"="msyh"
"Times New Roman Greek,161"="msyh"
"Times New Roman TUR,162"="msyh"
"Tms Rmn"="msyh"


"Lucida Sans Unicode"="msyh.TTC"
"Microsoft Sans Serif"="msyh.TTC"
"MS Sans Serif"="msyh.TTC"
"Tahoma"="msyh.TTC"
"Tahoma Bold"="msyhbd.TTC"
"msyh"="msyh.TTC"
"Arial"="msyh.TTC"
"Arial Black"="msyh.TTC"
</code></pre>
<pre><code class="language-bash">WINEPREFIX=~/.deepinwine/Deepin-TIM deepin-wine regedit msyh_config.reg
</code></pre><br><br>
来源:https://www.cnblogs.com/eqvpkbz/p/14002286.html
頁: [1]
查看完整版本: ubuntu 下 Deepin-TIM 折腾笔记