返回文章列表文章索引阅读全文
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 许可协议。转载请注明出处!

相关文章

给你的Deepin系统换主题~

我现在的桌面: 因为美国封锁然后华为电脑用上Deepin系统的事情,Deepin系统最近名声大噪,其实Deepin本来的界面就很好看,号称打造最适合国人的系统不是盖的。 不过Deepin有一个坏处,就是默认主题的标题栏太大了…… 太占空间。所以我们要换主题折腾一下。 Deepin的桌面是Qt写的,所以首先要换KDE主题,然后再安排一下GTK3的主题,在Deepin系统设置里面换的主题就是GTK的,

2025-10-01 · 系统配置 · 约 1 分钟

讨论

共 0 条

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

加载评论中…