Skip to content

Large "Pinyin" icon in the Input Method selection for Fcitx

When I select the input method using Fcitx5, the "Pinyin" icon is unnaturally large compared to the "keyboard" icon, as seen in the following screenshot:

Screenshot_2021-01-13_17-25-56

From discussion at Large "Pinyin" icon · Issue #202 · fcitx/fcitx5, I believe this icon should be scaled by Xfce, as the Fcitx5 author points out KDE scales it automatically.

My temporary fix to provide a smaller icon manually:

  • Copy the file /usr/share/icons/hicolor/48x48/apps/fcitx-pinyin.png somewhere, say /tmp/fcitx-pinyin.png.
  • Resize it to 16x16.
  • Run xdg-icon-resource install --size 16 /tmp/fcitx-pinyin.png
Edited by Steven Xu