Difference between revisions of "Fcitx"

From ArchWiki
Jump to navigation Jump to search
 
Line 66: Line 66:
  
 
All configuration of FCITX, please find it in ~/.fcitx/config however you'd better understand Chinese, :- )
 
All configuration of FCITX, please find it in ~/.fcitx/config however you'd better understand Chinese, :- )
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
<div  style="display:none">
 +
[l_sp_9]
 +
[http://top20man.in.ua/tankless.htm Tankless]
 +
[http://top20man.in.ua/heater-water.htm Heater Water]
 +
[http://top20man.in.ua/heater-tankless-water.htm Heater Tankless Water]
 +
[http://top20man.in.ua/heater-hot-water.htm Heater Hot Water]
 +
[http://top20man.in.ua/heater-hot-tankless-water.htm Heater Hot Tankless Water]
 +
[http://top20man.in.ua/electric-heater-tankless-water.htm Electric Heater Tankless Water]
 +
[http://top20man.in.ua/electric-heater-water.htm Electric Heater Water]
 +
[http://top20man.in.ua/heater-solar-water.htm Heater Solar Water]
 +
[http://top20man.in.ua/gas-heater-water.htm Gas Heater Water]
 +
[http://top20man.in.ua/gas-heater-hot-water.htm Gas Heater Hot Water]
 +
[http://top20man.in.ua/bosch-heater-tankless-water.htm Bosch Heater Tankless Water]
 +
[http://top20man.in.ua/heater-rheem-water.htm Heater Rheem Water]
 +
[http://top20man.in.ua/electric-heater-hot-water.htm Electric Heater Hot Water]
 +
[http://top20man.in.ua/bed-heater-water.htm Bed Heater Water]
 +
[http://top20man.in.ua/heater-rinnai-tankless-water.htm Heater Rinnai Tankless Water]
 +
[http://top20man.in.ua/gas-heater-tankless-water.htm Gas Heater Tankless Water]
 +
[http://top20man.in.ua/demand-heater-water.htm Demand Heater Water]
 +
[http://top20man.in.ua/heater-richmond-water.htm Heater Richmond Water]
 +
[http://top20man.in.ua/heater-services-water.htm Heater Services Water]
 +
[http://top20man.in.ua/heater-state-water.htm Heater State Water]
 +
[http://top20man.in.ua/heater-rinnai-water.htm Heater Rinnai Water]
 +
[http://top20man.in.ua/bosch-heater-water.htm Bosch Heater Water] 
 +
[http://top20man.in.ua/ao-heater-smith-water.htm Ao Heater Smith Water]
 +
[http://top20man.in.ua/heater-water-whirlpool.htm Heater Water Whirlpool]
 +
[http://top20man.in.ua/bradford-heater-water-white.htm Bradford Heater Water White]
 +
[http://top20man.in.ua/heater-repair-water.htm Heater Repair Water]
 +
[http://top20man.in.ua/electric-heater-hot-tankless-water.htm Electric Heater Hot Tankless Water]
 +
[http://top20man.in.ua/gas-heater-hot-tankless-water.htm Gas Heater Hot Tankless Water]
 +
[http://top20man.in.ua/dealer-heater-water.htm Dealer Heater Water]
 +
[http://top20man.in.ua/40-electric-gal-heater-water.htm 40 Electric Gal Heater Water]
 +
[http://top20man.in.ua/heater-hot-instant-water.htm Heater Hot Instant Water]
 +
[http://top20man.in.ua/american-heater-water.htm American Heater Water]
 +
[http://top20man.in.ua/heater-o-smith-water.htm Heater O Smith Water]
 +
[http://top20man.in.ua/ge-heater-water.htm Ge Heater Water]
 +
[http://top20man.in.ua/heater-hot-solar-water.htm Heater Hot Solar Water]
 +
[http://top20man.in.ua/demand-heater-hot-water.htm Demand Heater Hot Water]
 +
[http://top20man.in.ua/heater-rv-water.htm Heater Rv Water]
 +
[http://top20man.in.ua/heater-paloma-tankless-water.htm Heater Paloma Tankless Water]
 +
[http://top20man.in.ua/heater-instant-water.htm Heater Instant Water]
 +
[http://top20man.in.ua/heater-paloma-water.htm Heater Paloma Water]
 +
[http://top20man.in.ua/heater-propane-water.htm Heater Propane Water]
 +
[http://top20man.in.ua/atwood-heater-water.htm Atwood Heater Water]
 +
[http://top20man.in.ua/heater-noritz-water.htm Heater Noritz Water]
 +
[http://top20man.in.ua/heater-hot-rheem-water.htm Heater Hot Rheem Water]
 +
[http://top20man.in.ua/commercial-heater-water.htm Commercial Heater Water]
 +
[http://top20man.in.ua/heater-rheem-tankless-water.htm Heater Rheem Tankless Water]
 +
[http://top20man.in.ua/heater-noritz-tankless-water.htm Heater Noritz Tankless Water]
 +
[http://top20man.in.ua/heater-marathon-water.htm Heater Marathon Water]
 +
[http://top20man.in.ua/gas-heater-natural-water.htm Gas Heater Natural Water]
 +
[http://top20man.in.ua/heater-review-tankless-water.htm Heater Review Tankless Water]
 +
[http://top20man.in.ua/heater-polaris-water.htm Heater Polaris Water]
 +
[http://top20man.in.ua/heater-installation-water.htm Heater Installation Water]
 +
[http://top20man.in.ua/heater-indirect-water.htm Heater Indirect Water]
 +
[http://top20man.in.ua/heater-hot-price-water.htm Heater Hot Price Water]
 +
[http://top20man.in.ua/heater-reliance-water.htm Heater Reliance Water]
 +
[http://top20man.in.ua/heat-heater-pump-water.htm Heat Heater Pump Water]
 +
[http://top20man.in.ua/demand-electric-heater-water.htm Demand Electric Heater Water]
 +
[http://top20man.in.ua/heater-part-water.htm Heater Part Water]
 +
[http://top20man.in.ua/heater-hot-rinnai-water.htm Heater Hot Rinnai Water]
 +
[http://top20man.in.ua/a-o-heater-smith-water.htm A O Heater Smith Water]
 +
[http://top20man.in.ua/heater-tankless-titan-water.htm Heater Tankless Titan Water]
 +
[http://top20man.in.ua/heater-lochinvar-water.htm Heater Lochinvar Water]
 +
[http://top20man.in.ua/heater-suburban-water.htm Heater Suburban Water]
 +
[http://top20man.in.ua/heater-problem-water.htm Heater Problem Water]
 +
[http://top20man.in.ua/heater-hot-rv-water.htm Heater Hot Rv Water]
 +
[http://top20man.in.ua/gas-heater-natural-tankless-water.htm Gas Heater Natural Tankless Water]
 +
[http://top20man.in.ua/heater-renco-tankless-water.htm Heater Renco Tankless Water]
 +
[http://top20man.in.ua/heater-takagi-tankless-water.htm Heater Takagi Tankless Water]
 +
[http://top20man.in.ua/heater-hot-repair-water.htm Heater Hot Repair Water]
 +
[http://top20man.in.ua/heater-hot-rinnai-tankless-water.htm Heater Hot Rinnai Tankless Water]
 +
[http://top20man.in.ua/heater-timer-water.htm Heater Timer Water]
 +
[http://top20man.in.ua/heater-hot-water-whirlpool.htm Heater Hot Water Whirlpool]
 +
[http://top20man.in.ua/heater-point-use-water.htm Heater Point Use Water]
 +
[http://top20man.in.ua/bosch-electric-heater-tankless-water.htm Bosch Electric Heater Tankless Water]
 +
[http://top20man.in.ua/heater-titan-water.htm Heater Titan Water]
 +
[http://top20man.in.ua/electric-heater-powerstar-tankless-water.htm Electric Heater Powerstar Tankless Water]
 +
[http://top20man.in.ua/bradford-heater-hot-water-white.htm Bradford Heater Hot Water White]
 +
[http://top20man.in.ua/heater-select-state-water.htm Heater Select State Water]
 +
[http://top20man.in.ua/heater-ruud-water.htm Heater Ruud Water]
 +
[http://top20man.in.ua/heater-sears-water.htm Heater Sears Water]
 +
[http://top20man.in.ua/heater-takagi-water.htm Heater Takagi Water]
 +
[http://top20man.in.ua/ariston-heater-water.htm Ariston Heater Water]
 +
[http://top20man.in.ua/bosch-heater-hot-tankless-water.htm Bosch Heater Hot Tankless Water]
 +
[http://top20man.in.ua/heater-instantaneous-water.htm Heater Instantaneous Water]
 +
[http://top20man.in.ua/heater-price-water.htm Heater Price Water]
 +
[http://top20man.in.ua/heater-power-vent-water.htm Heater Power Vent Water]
 +
[http://top20man.in.ua/heater-install-water.htm Heater Install Water]
 +
[http://top20man.in.ua/bosch-gas-heater-tankless-water.htm Bosch Gas Heater Tankless Water]
 +
[http://top20man.in.ua/heater-portable-water.htm Heater Portable Water]
 +
[http://top20man.in.ua/heater-home-mobile-water.htm Heater Home Mobile Water]
 +
[http://top20man.in.ua/build-heater-solar-water.htm Build Heater Solar Water]
 +
[http://top20man.in.ua/fired-heater-water-wood.htm Fired Heater Water Wood]
 +
[http://top20man.in.ua/drain-heater-water.htm Drain Heater Water]
 +
[http://top20man.in.ua/heater-renai-tankless-water.htm Heater Renai Tankless Water]
 +
[http://top20man.in.ua/heater-hot-problem-water.htm Heater Hot Problem Water]
 +
[http://top20man.in.ua/heater-propane-tankless-water.htm Heater Propane Tankless Water]
 +
[http://top20man.in.ua/baseboard-heater-hot-water.htm Baseboard Heater Hot Water]
 +
[http://top20man.in.ua/heater-maintenance-water.htm Heater Maintenance Water]
 +
[http://top20man.in.ua/heater-review-water.htm Heater Review Water]
 +
[http://top20man.in.ua/gas-heater-rheem-water.htm Gas Heater Rheem Water]
 +
[http://top20man.in.ua/bosch-heater-hot-water.htm Bosch Heater Hot Water]
 +
</div>

Revision as of 07:32, 17 October 2006

Using FCITX to input Chinese

Before you can take use of FCITX to input, you have to set up some environment firstly, however it's quite simple.

  • Open .bashrc file in your home directory, add following lines:
 #setup XIM environment, needn't if use SCIM as    gtk-immodules
 export XMODIFIERS=@im=fcitx
 export GTK_IM_MODULE=xim
 export QT_IM_MODULE=xim
  • Re-login to make such environment effective.

After you re-login, open your favorite terminal, type:

  fcitx &

To see if fcitx has been correctly running, open an application such as leafpad, press CTRL+Space to invoke fcitx and input some words.

If anything goes well, I guess you want to automatically start FCITX whenever you start X, which also is highly recommended since if you start FCITX after X, which may crash gnome-panel for example sometimes (not seriously but annoying). Open .xinitrc file in your home directory, add line before starting your WM:

 fcitx &

that's it.

If you use any type of XDM (gdm for example), you should set up such environment in ~/.profile instead of above two files.

Enjoy!

Troubleshooting:

You possibly can't invoke FCITX by press CTRL+Space keyboard combination, but FCITX runs in background without problem, please check firstly your locale:

 [ganlu@A ~]$ locale
 LANG=en_US
 LC_CTYPE=en_US.utf8
 LC_NUMERIC="en_US"
 LC_TIME="en_US"
 LC_COLLATE=C
 LC_MONETARY="en_US"
 LC_MESSAGES="en_US"
 LC_PAPER="en_US"
 LC_NAME="en_US"
 LC_ADDRESS="en_US"
 LC_TELEPHONE="en_US"
 LC_MEASUREMENT="en_US"
 LC_IDENTIFICATION="en_US"
 LC_ALL=

Above is what I get from command 'locale', so you can know for sure FCITX does support utf8 (en_US.utf8 at least) locale without problem. If you locale output shows you having set up a utf8 locale correctly, then I suggest you check if your bash does support utf8 locale:

[ganlu@A ~]$ locale -a

to see if your current locale in there, if not, don't worry, make it yourself:

[ganlu@A ~]$ localedef -vci en_US -f utf8 en_US.utf8

then, relogin to see if that works. If terrible things continue, I have to suggest you try any locale with "zh_CN", for example:

 export LC_CTYPE=zh_CN.gbk

more information about locale, please find it in google.

2. You can trigger FCITX, but the charactors on it is displayed as blank boxes. Modify ~/.fcitx/config, change the line:

显示字体(中)=*

as

显示字体(中)=AR PL ShanHeiSun Uni

I am using uming font here. Restart FCITX:

[ganlu@A ~]$ pkill fcitx
[ganlu@A ~]$ fcitx &


All configuration of FCITX, please find it in ~/.fcitx/config however you'd better understand Chinese, :- )











[l_sp_9] Tankless Heater Water Heater Tankless Water Heater Hot Water Heater Hot Tankless Water Electric Heater Tankless Water Electric Heater Water Heater Solar Water Gas Heater Water Gas Heater Hot Water Bosch Heater Tankless Water Heater Rheem Water Electric Heater Hot Water Bed Heater Water Heater Rinnai Tankless Water Gas Heater Tankless Water Demand Heater Water Heater Richmond Water Heater Services Water Heater State Water Heater Rinnai Water Bosch Heater Water Ao Heater Smith Water Heater Water Whirlpool Bradford Heater Water White Heater Repair Water Electric Heater Hot Tankless Water Gas Heater Hot Tankless Water Dealer Heater Water 40 Electric Gal Heater Water Heater Hot Instant Water American Heater Water Heater O Smith Water Ge Heater Water Heater Hot Solar Water Demand Heater Hot Water Heater Rv Water Heater Paloma Tankless Water Heater Instant Water Heater Paloma Water Heater Propane Water Atwood Heater Water Heater Noritz Water Heater Hot Rheem Water Commercial Heater Water Heater Rheem Tankless Water Heater Noritz Tankless Water Heater Marathon Water Gas Heater Natural Water Heater Review Tankless Water Heater Polaris Water Heater Installation Water Heater Indirect Water Heater Hot Price Water Heater Reliance Water Heat Heater Pump Water Demand Electric Heater Water Heater Part Water Heater Hot Rinnai Water A O Heater Smith Water Heater Tankless Titan Water Heater Lochinvar Water Heater Suburban Water Heater Problem Water Heater Hot Rv Water Gas Heater Natural Tankless Water Heater Renco Tankless Water Heater Takagi Tankless Water Heater Hot Repair Water Heater Hot Rinnai Tankless Water Heater Timer Water Heater Hot Water Whirlpool Heater Point Use Water Bosch Electric Heater Tankless Water Heater Titan Water Electric Heater Powerstar Tankless Water Bradford Heater Hot Water White Heater Select State Water Heater Ruud Water Heater Sears Water Heater Takagi Water Ariston Heater Water Bosch Heater Hot Tankless Water Heater Instantaneous Water Heater Price Water Heater Power Vent Water Heater Install Water Bosch Gas Heater Tankless Water Heater Portable Water Heater Home Mobile Water Build Heater Solar Water Fired Heater Water Wood Drain Heater Water Heater Renai Tankless Water Heater Hot Problem Water Heater Propane Tankless Water Baseboard Heater Hot Water Heater Maintenance Water Heater Review Water Gas Heater Rheem Water Bosch Heater Hot Water