In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article will explain in detail what to do about the abnormal Ubuntu16.04 starter icon. The editor thinks it is very practical, so I share it with you as a reference. I hope you can get something after reading this article.
In Ubuntu16.04, after locking a program to the initiator, there are occasional problems such as not running properly and incorrectly entering Chinese. Here we take SQLyog as an example to summarize some common problems and solutions.
1. The icon disappears / cannot be started after locking
You can find the configuration file ending with .resume in the ~ / .local / share/applications/ folder. Take SQLyog as an example, the initial configuration file is as follows:
[Desktop Entry] Encoding=UTF-8Version=1.0Type=ApplicationName=SQLyogIcon=sqlyog_exe.pngPath=/home/kevinyang/SQLyog10.2Exec=Z:\\ home\ kevinyang\\ SQLyog10.2\\ SQLyog.exeStartupNotify=falseStartupWMClass=SQLyog.exeOnlyShowIn=Unity;X-UnityGenerated=true
Because SQLyog is started with wine, and the configuration of Exec here records the internal execution mode of wine, on the one hand, the icon locked to the initiator will not display properly, and on the other hand, clicking the icon will not start SQLyog. Change the startup configuration to the following command:
Exec=wine "Z:\ home\\ kevinyang\\ SQLyog10.2\\ SQLyog.exe"
The icon can be displayed normally, and you can click it to start the program normally.
two。 Cannot use Sogou Input
You can try to add these fcitx-related environment variables at startup:
Export XMODIFIERS= "@ im=fcitx" export GTK_IM_MODULE= "fcitx" export QT_IM_MODULE= "fcitx"
Take SQLyog as an example, write a startup script as follows:
#! / bin/shexport XMODIFIERS= "@ im=fcitx" export GTK_IM_MODULE= "fcitx" wine "Z:\\ home\\ kevinyang\\ SQLyog10.2\\ SQLyog.exe"
Use the chmod + x command to give the script execution permissions, and then point the Exec configuration to the script in the .commands file.
Beside the question: the problem that sublime cannot input Chinese is also a question that is often asked. In the past, the solutions in many blogs are more complex, but now there is a god who specializes in a script project to solve this problem. Click to view the sublime-text-imfix project, integrate the compilation of library files and other work in the previous solution, and then directly execute the sublime-text-imfix script. Friends in need can refer to it. Anyway, I have switched to vscode.
This is the end of the article on "what if the Ubuntu16.04 launcher icon is abnormal". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, please share it for more people to see.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.