[Perfect solution] Ubuntu install wine SourceInsight4.0 Chinese version of the Chinese to solve the garbage problem, save the file fails, the file open failures! ! ! ! !

Disclaimer: This article is a blogger original article, follow the CC 4.0 BY-SA copyright agreement, reproduced, please attach the original source link and this statement.
This link: https://blog.csdn.net/qq_25908839/article/details/83507681

table of Contents:

1. Install wine

2.wine installation SourceInsight4.0

3. solve the Chinese garbled

4. Save the file fail to solve

5. Resolve File Open Failed

 

1. Install wine, I chose stable version. Source Baidu Encyclopedia  https://baike.baidu.com/item/wine/2286934?fr=aladdin

#如果你使用的是64位Ubuntu,则先要开启32位安装环境:

sudo dpkg --add-architecture i386

#然后需要下载一个PGP公钥以识别软件仓库:

wget -nc https://dl.winehq.org/wine-builds/Release.key

#添加公钥并添加软件源:

sudo apt-key add Release.key

sudo apt-add-repository https://dl.winehq.org/wine-builds/ubuntu/

#更新软件列表

sudo apt-get update

#之后就可以选择Wine版本安装了:

#稳定版(Stable branch)安装命令

sudo apt-get install --install-recommends winehq-stable

#开发版(Development branch)安装命令

sudo apt-get install --install-recommends winehq-devel

#发布版(Staging branch)安装命令

sudo apt-get install --install-recommends winehq-stagin

 

2.wine installation SourceInsight4.0

Baidu cloud disk link:  https://pan.baidu.com/s/1htaCm4O  Password: ywi7

Unpack the following files

Execute in this directory

Crack, read readme.txt.txt file, note: displayed in the window Program File (x86) but in fact it's in the path of /home/turf96/.wine/drive_c/Program Files Ubuntu (x86) / Source Insight installation directory 4.0.

.wine home directory folder, type ctrl + h visible

3. solve the Chinese garbled

Note: This is not Reload As Encoding the File menu ... modify the encoding, modify the useless

Solution: Right-click on the Style Properties, select Chinese font on the comment and string, you can show the Chinese

4. Save the file failed to solve the [File is not saved]

这里保存失败的原因是在菜单栏File的Reload As Encoding选择了Chinese 编码GB18030。但是在Ubuntu下这样做是不行的。

解决方法,重新安装。安装SourceInsight后,再次wine sourceinsightsetup.exe就会提示卸载。我这里就不截图了。

 

5.解决文件打开失败。[There were errors opening "Z:\"]

解决方法:在菜单栏找到Preferences,选择Files栏,并按照红框提示修改,修改后,就不会出现打不开的问题

Guess you like

Origin blog.csdn.net/qq_25908839/article/details/83507681