Skip to Content
DocsDesktopDesktop BasicsInput Method & Fonts

For users who need non-Latin input methods, proper configuration of input methods, fonts, and screenshot/recording tools is essential for daily use. Ubuntu 26.04 provides good out-of-the-box support in these areas. This article covers the configuration methods in detail.

Input Methods

Ubuntu 26.04 supports two mainstream input method frameworks: IBus (default) and Fcitx5.

Tip

If you prefer simplicity and out-of-the-box functionality, use the system default IBus. If you need a better input experience (lower latency, richer configuration, better application compatibility), Fcitx5 is recommended.

IBus Input Method (System Default)

Ubuntu uses the IBus framework by default, making input method installation straightforward.

Installing Language Support

First, ensure that your language support packages are installed:

sudo apt install language-pack-zh-hans sudo apt install $(check-language-support -l zh)

Installing IBus Input Method Engines

Intelligent Pinyin (Recommended):

sudo apt install ibus-libpinyin

Rime Input Method (highly customizable):

sudo apt install ibus-rime

Enabling the Input Method

  1. Open “Settings > Keyboard”
  2. Under “Input Sources”, click the ”+” button
  3. Select “Chinese (Intelligent Pinyin)” or another installed input method
  4. Use Super + Space to switch between input methods

Fcitx5 Input Method

If you prefer the Fcitx5 framework (faster response, more flexible configuration), follow these steps:

Installing Fcitx5

sudo apt install fcitx5 fcitx5-chinese-addons fcitx5-config-qt fcitx5-frontend-gtk3 fcitx5-frontend-gtk4 fcitx5-frontend-qt5

Setting Fcitx5 as the Default Input Method

im-config -n fcitx5

Then log out and log back in; Fcitx5 will start automatically.

Configuring Fcitx5

Run the Fcitx5 configuration tool:

fcitx5-configtool

In the configuration interface:

  1. Click “Add Input Method”
  2. Search for and add “Pinyin” or “Rime”
  3. Adjust candidate word count, fuzzy pinyin, and other options

Environment Variable Setup

If some applications cannot use Fcitx5, ensure the environment variables are set correctly. Edit ~/.bashrc or create /etc/environment.d/fcitx5.conf:

XMODIFIERS=@im=fcitx GTK_IM_MODULE=fcitx QT_IM_MODULE=fcitx

Font Installation

Ubuntu 26.04 includes Noto CJK fonts by default, but you may need additional fonts for different needs.

Installing Common CJK Fonts

# Google Noto CJK fonts (Sans and Serif) sudo apt install fonts-noto-cjk fonts-noto-cjk-extra # WenQuanYi fonts sudo apt install fonts-wqy-zenhei fonts-wqy-microhei # Source Han Sans/Serif are the CJK weights of Noto; fonts-noto-cjk above already covers them

Installing Common Windows Fonts

If you need to exchange documents with Windows users, install the Microsoft core fonts:

sudo apt install ttf-mscorefonts-installer

You will need to accept the EULA license agreement during installation.

Manually Installing Fonts

Copy .ttf or .otf font files to the following directories:

  • Current user: ~/.local/share/fonts/
  • All users: /usr/local/share/fonts/

Then refresh the font cache:

fc-cache -fv

Adjusting Font Rendering

You can adjust font rendering in GNOME Tweaks:

sudo apt install gnome-tweaks

Open GNOME Tweaks > Fonts to configure:

  • Anti-aliasing mode (subpixel rendering recommended)
  • Hinting level
  • Scaling factor

Screenshots and recording

Capturing the screen, Flameshot annotation and OBS now have their own page:

Summary

Ubuntu 26.04 provides comprehensive input method support. IBus is suitable for users who prefer simplicity, while Fcitx5 offers more flexible configuration options. Combined with good font support and built-in screenshot/recording tools, your daily experience will be very smooth.

FAQ

Should I Choose IBus or Fcitx5?

If you prefer out-of-the-box simplicity, IBus is a good choice as the default input method framework. If you need faster response times, richer customization options, and better third-party input method support, Fcitx5 is recommended.

Can I Use Sogou Input Method?

Sogou Input Method for Linux is based on the Fcitx framework, but its official support for newer Ubuntu versions may lag behind. It is recommended to use Fcitx5’s built-in Pinyin input method first, as its dictionary and intelligent correction capabilities are already excellent. If you specifically need Sogou, download the latest deb package from the Sogou website and install it manually.

What Are the Input Method Switching Shortcuts?

IBus uses Super + Space by default to switch input methods. Fcitx5 uses Ctrl + Space by default, with Left Shift for toggling between Chinese and English. You can customize shortcuts in each framework’s settings tool.

Last updated on