Skip to content

Instantly share code, notes, and snippets.

@mightbxg
Last active March 12, 2024 02:25
Show Gist options
  • Save mightbxg/730e6c7eae470a68576aa0036616a190 to your computer and use it in GitHub Desktop.
Save mightbxg/730e6c7eae470a68576aa0036616a190 to your computer and use it in GitHub Desktop.
Kubuntu 安装搜狗拼音

ref:

  1. Install fcitx sudo apt install fcitx
  2. Download sogoupinyin package from https://pinyin.sogou.com/linux/?r=pinyin
  3. Install sogoupinyin package. There might be some depends problem such as libopencc2, fcitx-libs etc. Install them with sudo apt install -f.
  4. Create .xprofile in the HOME dir, contents:
    GTK_IM_MODULE=fcitx
    QT_IM_MODULE=fcitx
    XMODIFIERS=@im=fcitx
    
  5. Reboot
  6. Right click on the keyboard icon in the right of the task bar, select "Configure Current Input Method". In the "Input Method Configuration" dialog, add Sogou Pinyin to Input Method list.
  7. Done. You can switch input method with Ctrl-Space.
  • You may need to mannually install libgsettings-qt1 too.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment