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 许可协议。转载请注明出处!
相关文章
给你的Deepin系统换主题~
我现在的桌面: 因为美国封锁然后华为电脑用上Deepin系统的事情,Deepin系统最近名声大噪,其实Deepin本来的界面就很好看,号称打造最适合国人的系统不是盖的。 不过Deepin有一个坏处,就是默认主题的标题栏太大了…… 太占空间。所以我们要换主题折腾一下。 Deepin的桌面是Qt写的,所以首先要换KDE主题,然后再安排一下GTK3的主题,在Deepin系统设置里面换的主题就是GTK的,
2025-10-01 · 系统配置 · 约 1 分钟
修改Linux系统的鼠标滚轮的速度
Linux默认的鼠标滚轮实在太慢了,总是让我有一种Linux很卡的错觉,而且还不像Windows那样可以直接修改所有程序中的鼠标滚轮速度,不过没事,可以用imwheel这个工具来修改~ 安装 Debian系: sudo apt install imwheel Arch: sudo pacman -S imwheel 配置 创建~/.imwheelrc文件 nano ~/.imwheelrc 编辑内
2025-10-27 · 系统配置 · 约 1 分钟
别再手动复制SSH公钥了,Linux服务器一键从GitHub快速导入公钥
输入GitHub用户名就自动导入SSH公钥?Ubuntu这懒人功能挺省事。原理不就是爬取`https://github.com/用户名.keys`吗?手动用`curl`也能实现,装`ssh-import-id`更高效,但谁稀罕这些花里胡哨的。
2026-03-11 · 系统配置 · 约 1 分钟
Ubuntu-18-04-修改登录界面背景图
前言 Ubuntu 18.04用了一段时间了,在Gnome桌面的加持下,兔子 18.04 的颜值还不错,加上自己搭配了几套GTK主题,简直美滋滋,唯一美中不足的就是,Ubuntu的登录管理器换成GDM之后,登录界面背景没办法修改了,这怎么行呢,于是经过一番折腾,有了本文。 首先,准备一张图片 图片的尺寸呢,根据你的屏幕分辨率确定咯。 然后把图片放到/usr/share/backgrounds/目录
2025-10-27 · 系统配置 · 约 1 分钟
讨论
共 0 条加载评论中…