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
目录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, replaceibuswithfcitx - 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 许可协议。转载请注明出处!
相关文章
Ubuntu-16-04-升级Python版本到3-6
前言 没办法,unity桌面实在是太好用了,Ubuntu18.04上安装了unity桌面毕竟不够完美,所以我昨天就降级到Ubuntu16.04,享受一波原生Unity桌面的快感。 一切都OK,不过Python版本有点低,所以要用万能PPA源升级一下。 操作 安装Python3.6 sudo add-apt-repository ppa:jonathonf/python-3.6 sudo apt-g
2025-10-27 · 系统配置 · 约 1 分钟
Linux终端输入密码显示星号
Linux默认密码星号?这体验真不错。一行sudoers配置搞定,真就有人非要用脚本整这些。关闭?那不是自讨没趣吗。
2025-10-01 · 系统配置 · 约 1 分钟
配置MariaDB数据库服务端远程访问
操作步骤 开启远程访问权限 连接MariaDB数据库,执行以下命令开启远程访问。 grant all privileges on *.* to 'root'@'192.168.248.248' identified by 'password'; flush privileges; 如果需要任意IP地址访问,就把IP地址换成%。 修改配置文件 在网络上能搜索到的资料都只说了第一点,然而亲测之后并没有
2025-10-27 · 系统配置 · 约 1 分钟
给你的Deepin系统换主题~
我现在的桌面: 因为美国封锁然后华为电脑用上Deepin系统的事情,Deepin系统最近名声大噪,其实Deepin本来的界面就很好看,号称打造最适合国人的系统不是盖的。 不过Deepin有一个坏处,就是默认主题的标题栏太大了…… 太占空间。所以我们要换主题折腾一下。 Deepin的桌面是Qt写的,所以首先要换KDE主题,然后再安排一下GTK3的主题,在Deepin系统设置里面换的主题就是GTK的,
2025-10-01 · 系统配置 · 约 1 分钟
讨论
共 0 条加载评论中…