曦远 (DealiAxy)一份私人的文字刊物

StarBlog
返回文章列表折页手记阅读全文
系统配置

Ubuntu-18-04-Fix-Telegram-Chinese-Input-Method

Preface Ubuntu 18.04's new Gnome desktop indeed looks much better. However, it also introduced many bugs that were not present in Unity, such as the inability to type Chinese in Telegram regardless of how the input method is switched. It is likely that all QT-based applications encounter this issue under Gnome3. The solution is to introduce the QT_IM_MODULE variable. The general steps are as follows: Edit ~/.local/share/applications/telegram

曦远 (DealiAxy)约 3 分钟
目录3 个章节

Introduction

With Ubuntu 18.04, the new Gnome desktop indeed looks much better. However, at the same time, many bugs that did not appear in Unity have emerged. For example, in Telegram, no matter how you switch the input method, Chinese input does not work.

It seems that all applications built with QT encounter this issue under Gnome3. The solution is to introduce the QT_IM_MODULE variable. In short...

Steps as follows

  • Edit the file ~/.local/share/applications/telegramdesktop.desktop
  • Modify the Exec line by adding the environment variable env QT_IM_MODULE=ibus. For users who use fcitx, replace ibus with fcitx
  • Restart Telegram to apply the changes

(Referenced from GitHub issues and domestic blogs)

About


For more interesting operations, please follow my WeChat public account: DealiAxy
Every article is featured on my blog: blog.deali.cn

_EOF_

Ubuntu-18-04-Fix-Telegram-Chinese-Input-Method

本文作者:
程序设计实验室
版权声明:
本博客所有文章除特别声明外,均采用 BY-NC-SA 许可协议。转载请注明出处!

相关文章

讨论

共 0 条

良言一句三冬暖,恶语伤人六月寒。

加载评论中…