Skip to content

Instantly share code, notes, and snippets.

@tjumyk
Last active February 9, 2026 15:58
Show Gist options
  • Select an option

  • Save tjumyk/4f33583010533961952f84cfe353457b to your computer and use it in GitHub Desktop.

Select an option

Save tjumyk/4f33583010533961952f84cfe353457b to your computer and use it in GitHub Desktop.
Ubuntu 24.04 Install Sogou Pinyin
  • Remove ibus
sudo apt purge ibus
sudo apt autoremove
  • Install Sogou Pinyin and dependencies
# Download deb installer from https://shurufa.sogou.com/linux
sudo dpkg -i <sogou_xxx.deb>
sudo apt install -f

# Additional dependencies (refer to: https://shurufa.sogou.com/linux/guide)
sudo apt install libqt5qml5 libqt5quick5 libqt5quickwidgets5 qml-module-qtquick2 libgsettings-qt1 
  • Reboot
  • At the login screen, when you type in the password, an icon shows up at the bottom-right of the screen. Click that icon to select 'Ubuntu on Xorg'. Then login.
  • Right click the keyboard icon at the top-right of the screen, then click 'Configure', click '+', uncheck 'Only show current language', find 'sogoupinyin', click 'OK'.
  • Done. Now you may switch to Sogou Pinyin via 'Ctrl-Space' hotkey.
@Cora-6
Copy link

Cora-6 commented Oct 24, 2024

That works. I think the key is to select 'Ubuntu on Xorg'. Thx a lot.

@ferrirW
Copy link

ferrirW commented Nov 8, 2024

Need purge sougoupinyin and install fcitx if install sogoupinyin failed

@twoai
Copy link

twoai commented Dec 5, 2024

I can't download anything from https://shurufa.sogou.com/linux

It always gave me an eventual "Access to ime-sec.gtimg.com was denied" error. How did you exactly "Download deb installer from https://shurufa.sogou.com/linux"?

@zgxsin
Copy link

zgxsin commented Dec 22, 2024

I can't download anything from https://shurufa.sogou.com/linux

It always gave me an eventual "Access to ime-sec.gtimg.com was denied" error. How did you exactly "Download deb installer from https://shurufa.sogou.com/linux"?

I have the same issue. @tjumyk Thanks for sharing. Could you tell how you donwloaded it?

@yangyang5214
Copy link

for select 'Ubuntu on Xorg'

Can use this.

 # file  /etc/gdm3/custom.conf
 
 WaylandEnable=false

https://askubuntu.com/questions/1410256/how-do-i-use-the-x-window-manager-instead-of-wayland-on-ubuntu-22-04/1413490#1413490

@jimmywang-jw
Copy link

for select 'Ubuntu on Xorg'

Can use this.

 # file  /etc/gdm3/custom.conf
 
 WaylandEnable=false

https://askubuntu.com/questions/1410256/how-do-i-use-the-x-window-manager-instead-of-wayland-on-ubuntu-22-04/1413490#1413490

Solved the issue. Thanks!

@Tumiyad
Copy link

Tumiyad commented Mar 14, 2025

Need purge sougoupinyin and install fcitx if install sogoupinyin failed

Useful! Thanks!

@Furzoom
Copy link

Furzoom commented Apr 20, 2025

That works. Thx!

@Chadrtsystem
Copy link

After restarting my ubuntu freezes, and I restarted it, it stays at black screen

@FrankSpringfield
Copy link

That works. Thx!

@yangtzech
Copy link

yangtzech commented Feb 5, 2026

That works on Ubuntu 22.04. Thx!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment