Difference between revisions of "FAQ"

From Fcitx
Jump to navigation Jump to search
m
Line 43: Line 43:
 
<!--T:22-->
 
<!--T:22-->
 
If you are using Ubuntu and upgrade to 12.04 recently, some user notice that gtk.immodules related files doesn't generate correctly during upgrade. Try uninstall {{package ubuntu|fcitx-frontend-gtk2}}, {{package ubuntu|fcitx-frontend-gtk3}} and re-install them to trigger the file generate. Then recheck the input method menu to see whether it have "Fcitx" in the menu or not.
 
If you are using Ubuntu and upgrade to 12.04 recently, some user notice that gtk.immodules related files doesn't generate correctly during upgrade. Try uninstall {{package ubuntu|fcitx-frontend-gtk2}}, {{package ubuntu|fcitx-frontend-gtk3}} and re-install them to trigger the file generate. Then recheck the input method menu to see whether it have "Fcitx" in the menu or not.
 +
 +
There are also some very rare case, that you're using a embedded linux or mini-linux distro, in which you must use XIM, the X server might missing some locale file. The file is usually needed to be under /usr/share/X11/locale/.
 +
 +
And When you must use XIM, please make sure, your locale *must NOT* be C or POSIX and need to be a valid locale (no matter which language), and need to be generated if you are using glibc (locale-gen). When you are using im module, there is no such limitation.
  
 
=== Problem in Firefox and Google Docs === <!--T:13-->
 
=== Problem in Firefox and Google Docs === <!--T:13-->

Revision as of 13:23, 8 May 2012

Other languages:
English • ‎中文(简体)‎

When you want to complain about input method cannot work correctly, please read this first.

Hall of Shame for Linux IME Support

FAQ

When use Ctrl + Space, Fcitx cannot be triggered on

1. Check the application you want to type.

  • Is it only one app have problem?
    • The most possible reason for this is Ctrl+Space occupied by some hotkey, please change to another trigger key and try again.
  • Is it all Gtk App have problem?
    • Please open a traditional Gtk App (traditional means, it cannot be Firefox, Libreoffice, which only use Gtk as a UI style). Gedit is a good choice. Right click at the input box, there will be a menu named "Input Method", please make sure there is "Fcitx" in it and being choosed.
    • If there is "Fcitx", but it still not works. Please try to restart Fcitx, if it will works at this time, please check your DBus settings, or make Fcitx start later. You can read Configure (Other) if you're using a custom startup script.
    • If there is Fcitx but not being choosed by default, and please select it and you can immediately try again in this app. If not works, please read the entry above. For permanent fix (To use Fcitx by default), please read Configure part in Beginner's Guide.
  • Is it all Qt App have problem?
    • Run qtconfig (might have different name on your distribution), and go to the third tab, make sure fcitx is in the "Default Input Method" combo-box. If not, please check your install.
  • Above solution can be also applied if you want use XIM, but still we highly recommend you to use im module.

If you are using Ubuntu and upgrade to 12.04 recently, some user notice that gtk.immodules related files doesn't generate correctly during upgrade. Try uninstall fcitx-frontend-gtk2, fcitx-frontend-gtk3 and re-install them to trigger the file generate. Then recheck the input method menu to see whether it have "Fcitx" in the menu or not.

There are also some very rare case, that you're using a embedded linux or mini-linux distro, in which you must use XIM, the X server might missing some locale file. The file is usually needed to be under /usr/share/X11/locale/.

And When you must use XIM, please make sure, your locale *must NOT* be C or POSIX and need to be a valid locale (no matter which language), and need to be generated if you are using glibc (locale-gen). When you are using im module, there is no such limitation.

Problem in Firefox and Google Docs

You might want to toggle preedit off temporarily, which is Ctrl+Alt+P.

Cannot use Fcitx in flash

Please read Hall of Shame for Linux IME Support, and use im module.

Configure user interface, font, vertical list

Use Configuration tool, Addon Configuration -> Classic UI.

Classic UI is not transparent

  • Restart Fcitx first, if it's ok then, it might be a bug in your Window manager. Gnome-Shell, xcompmgr is known to have this bug. You can try to set the delay start to walkaround this problem.
  • If restart Fcitx doesn't solve this problem, you should check whether your window manager supports composite or it's enabled or not.

Kwin

Enable desktop effects.

Metacity before GNOME3

gconftool-2 -s --type bool /apps/metacity/general/compositing_manager true

Xfce

Xfwm support composite, but need to be enabled by hand.

Compiz

0.9 series compiz can disable composite. You can use ccsm to configure it.

Other window manager

You can use xcompmgr, cairo-compmgr as composite manager for them.

Cursor Following problem

There is a common misunderstanding that it's input method's fault that input window could not follow the cursor, which is simply wrong. This is how cursor following works: Application send the position to Input method, then input method move the input window. So if application do not send the position, the position would be wrong. This behavior is controlled by application, but not input method. So if you meet any problem, please ask application to fix it, don't ask input method to do anything. Actually, input method could do nothing with this.

Although there is some walkaround for specific problem, bug is still in application, not in input method.

  • Opera, enable on the spot for XIM.
  • Firefox, enable preedit.