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-18-04-安装最新版VLC播放器
添加软件源 sudo add-apt-repository ppa:videolan/master-daily sudo apt update Install sudo apt install vlc qtwayland5 运行VLC播放器 安装额外解码器 vlc-plugin-access-extra - multimedia player and streamer (extra access
2025-10-27 · 系统配置 · 约 1 分钟
配置MariaDB数据库服务端远程访问
操作步骤 开启远程访问权限 连接MariaDB数据库,执行以下命令开启远程访问。 grant all privileges on *.* to 'root'@'192.168.248.248' identified by 'password'; flush privileges; 如果需要任意IP地址访问,就把IP地址换成%。 修改配置文件 在网络上能搜索到的资料都只说了第一点,然而亲测之后并没有
2025-10-27 · 系统配置 · 约 1 分钟
修改Linux系统的鼠标滚轮的速度
Linux默认的鼠标滚轮实在太慢了,总是让我有一种Linux很卡的错觉,而且还不像Windows那样可以直接修改所有程序中的鼠标滚轮速度,不过没事,可以用imwheel这个工具来修改~ 安装 Debian系: sudo apt install imwheel Arch: sudo pacman -S imwheel 配置 创建~/.imwheelrc文件 nano ~/.imwheelrc 编辑内
2025-10-27 · 系统配置 · 约 1 分钟
Linux终端输入密码显示星号
Linux默认密码星号?这体验真不错。一行sudoers配置搞定,真就有人非要用脚本整这些。关闭?那不是自讨没趣吗。
2025-10-01 · 系统配置 · 约 1 分钟
讨论
共 0 条加载评论中…