Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

The solution that QQ can not input Chinese in Ubuntu system

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly introduces the Ubuntu system QQ can not enter Chinese solution, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let the editor with you to understand.

After installing wine, installing QQ, and solving the login problem (what if Ubuntu cannot enter an account through wine installation QQ?), but it is found that when chatting, Chinese cannot be entered, because Ubuntu generally uses fcitx input, and QQ uses the system default ibus, so you need to configure the input mode through script.

1. In the home directory, create a folder named wine,PS: this is not mandatory, but there is a directory for later modification and maintenance.

2. In the wine directory, right-click on the blank area, open the terminal, type: gedit qq.sh, or right-click to create a blank file named qq.sh, which needs to be modified later.

3. Copy the following paragraph into the file

#! / bin/shenv locale=zh_CNexport XIM= "fcitx" export XMODIFIERS= "@ im=fcitx" export GTK_IM_MODULE= "fcitx" export QT_IM_MODULE= "fcitx" wine/ home/du/.wine/drive_c/Program\ Files\ (x86\) / Tencent/QQ/Bin/QQ.exe

4. Change the last line to your own QQ path, because .wine is hidden and cannot be seen directly. You can press Ctrl+H to show the hidden folder.

5. After the modification is completed, we can test whether the script can be used normally. Enter sh qq.sh at the terminal. If you are prompted not to find the file, open the terminal in the wine directory again, or you can drag the file directly into the terminal after sh, and the path will be automatically added.

6. If you start the program normally, the script is completed. If not, check the path back.

7. Here, there may be a problem. Does it have to be so troublesome to start the program in the future? If you need to double-click on the desktop like win to open it, you can add a shortcut.

Thank you for reading this article carefully. I hope the article "the solution of QQ can not input Chinese in Ubuntu system" shared by the editor will be helpful to everyone. At the same time, I also hope that you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!

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.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report