深度系统20.3中亿图图示任务栏名称显示乱码

说明:

亿图图示安装后在任务栏中图标显示乱码。主要是因为图标文件设置不正确,修改图标文件中对应的中文显示名称即可。

操作:

1. sudo vim /usr/share/applications/edrawmax.desktop

2. 修改内容为

原版:

[Desktop Entry]                                                                           
Categories=Office;  
Comment=EdrawMax                                                                        
Encoding=UTF-8                                                                               
Exec=/opt/EdrawMax-11/EdrawMax                                                                 
Icon=/opt/EdrawMax-11/edrawmax.ico          
MimeType=application/x-eddx
Name=EdrawMax
Name[en_US]=edrawmax 
StartupNotify=false 
Terminal=false 
Type=Application                                                                                                                                                   
X-Deepin-Vendor=EdrawSoft

   修改:

[Desktop Entry]                                                                                                                                                                                                      
Comment=EdrawMax                                                                                                                                                                                                     
Comment[zh_CN]=EdrawMax                                                                                                                                                                                              
Exec=/opt/EdrawMax-11/EdrawMax                                                                                                                                                                                       
Encoding=UTF-8                                                                                                                                                                                                       
MimeType=application/x-eddx                                                                                                                                                                                          
GenericName=EdrawMax                                                                                                                                                                                                 
GenericName[zh_CN]=亿图图示                                                                                                                                                                                          
Name=EdrawMax                                                                                                                                                                                                        
Name[zh_CN]=亿图图示                                                                                                                                                                                                 
StartupNotify=false                                                                                                                                                                                                  
Terminal=false                                                                                                                                                                                                       
Type=Application                                                                                                                                                                                                     
Categories=Office;                                                                                                                                                                                                   
X-DBUS-ServiceName=                                                                                                                                                                                                  
X-DBUS-StartupType=                                                                                                                                                                                                  
X-KDE-SubstituteUID=false                                                                                                                                                                                            
X-KDE-Username=                                                                                                                                                                                                      
Icon=/opt/EdrawMax-11/edrawmax.ico                                                                                                                                                                                   
InitialPreference=3                                                                                                                                                                                                  
StartupWMClass=EdrawMax                                                                                                                                                                                              
X-Deepin-Vendor=EdrawSoft

  参考:

https://www.jianshu.com/p/147b64c2a17e

posted @ 2021-12-24 10:50  盛夏夜  阅读(329)  评论(0编辑  收藏  举报