Linux/fedora25 installation Sogou pinyin sogou Pinyin

Source: Internet
Author: User

Sogou Pinyin is a FCITX framework based on the development of input method, support all spell, simple spelling, fuzzy sound, cloud input, skin, Sino-British mixed transmission and other functions.

After installing the Fzug software Source: Install Sogou Pinyin
$ sudo DNF install Sogoupinyin

The package has been added fcitx-gtk2, FCITX-GTK3, FCITX-QT4 and FCITX-QT5 modules dependent.
Note: Switching from IBus to FCITX requires a restart /logoff system for imsettings to start the appropriate input method.

Using Sogou Pinyin

If you are using a XDG compatible desktop environment, such as KDE, GNOME, XFCE, LXDE, Cinnamon. Then FCITX and Sogou should start automatically when you install Sogou and log back in. Using Ctrl+space to activate the FCITX, you can enter, Shift temporarily switch in English.

1. Sogou-qimpanel does not start automatically

$ imsettings-info xinput file: /etc/x11/xinit/xinput.d/fcitx.confgtk+ immodule:  fcitxQt immodule: fcitxXMODIFIERS:  @im =fcitxxim server: /usr/bin/fcitx - Dpreferences: /usr/bin/fcitx-configtoolauxiliary:short description: fcitxlong description :icon file: /usr/share/pixmaps/fcitx.pngis system default: trueis user  default: trueis xim server: false$ imsettings-switch fcitx  #  Switch to  FCITX 

If your desktop environment is incompatible with XDG, then  sogou-qimpanel   does not start automatically. Use the Auto-start tool that comes with your desktop environment to add Sogou-qimpanel Startup items.

If your desktop environment does not contain a self-launching tool, or if you are using a startx script to start the graphical interface, ~/.profile add the following command in.

$ vim ~/.profilesource/etc/sysconfig/sogoupinyin

The script is called when the X is started and is /etc/X11/xinit/xinitrc-common used to set the FCITX environment variable and start sogou-qimpanel .

2. How to install Skin

View Help information:

$ Rpm-qi Sogoupinyin Skin saved in ~/.config/sogou-qimpanel/skin/, install as follows: $ sudo setsebool Sogou_enable_homedirs=1 $ sogou-qimp Anel SKIN.SSF
3. How to install the thesaurus

View Help information:

$ rpm-qi sogoupinyin Thesaurus saved in ~/.config/sogoupy/scd/, installed as follows: $ sudo setsebool sogou_enable_homedirs=1 $ sogou-qimpanel Cel L.scel
4. Prohibit Sogou access to the network

View Help information:

$ rpm-qi sogoupinyin Forbidden Sogou access network: $ sudo setsebool-p sogou_access_network=0 # Default: True
5. Small black box problem

XFCE desktop environment, if encounter small black box, need to turn on the compositor function:

Settings, Windows Manger tweaks, compositor
Settings, window manager trimmer, synthesizer

Mate desktop environment, if encounter small black box, need to turn on compositor function:

System, Control Center, Windows--Enable software composit.

LXDE desktop Environment, if you encounter a small black box, you need to modify the window manager.

$ yum Install compiz-lxde ccsm$ vim ~/.config/lxsession/lxde/desktop.conf window_manager=openbox # original parameter Window_manager=co Mpiz-lxde-emerald # Revision changed to
6. GTK/QT program cannot switch input method

If you encounter an input method that cannot be toggled, check that the FCITX environment variable is set correctly.

$ env | grep fcitxgtk_im_module=fcitxqt4_im_module=fcitxqt_im_module=fcitx[email PROTECTED]=FCITX

For a desktop environment that is compatible with XDG, the FCITX environment variable should be configured by Imsettings /etc/X11/xinit/xinputrc .

$ LL/ETC/X11/XINIT/XINPUTRC/ETC/X11/XINIT/XINPUTRC-/ETC/ALTERNATIVES/XINPUTRC
7. Word Box garbled

If you encounter problems with   #79  . It may be that you have enabled the "Lightweight interface (fcitx-ui-light ) ", it will cause  sogou-qimpanel   does not display properly. In the Input method configuration, add-ons, disable the lightweight interface.

PS: The source of the fcitx-cloudpinyin normal use of Google cloud Pinyin, with the cloud Pinyin and other libpinyin input method is also very good, low memory consumption.

Trouble shooting
    • Imsettings: ~/.cache/imsettings/log Troubleshooting errors based on logs

    • FCITX: Run fcitx-diagnose troubleshooting FCITX error

    • Sogou: Run sogou-diag collect diagnostic information

Reference
    • Archwiki-fcitx


Linux/fedora25 installation Sogou pinyin sogou Pinyin

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.