Configure (Gentoo)

From Fcitx
Revision as of 21:26, 25 January 2016 by Weng Xuetian (talk | contribs) (Text replacement - "<languages />" to "<languages/>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


Setup environment variables

Currently, there is no tools to setup the environment variables. You should set it yourself.

You need to add three lines:

export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export XMODIFIERS=@im=fcitx

If you do not enable the gtk and gtk3 USE flags, the first line should be:

export GTK_IM_MODULE=xim

If you do not enable the qt USE flag, the second line should be:

export QT_IM_MODULE=xim

But where to add these three lines is depend on how you login the system.

Use GDM/KDM/LightDM/Slim (Session Mode)

You should append the three lines to ~/.xprofile (If not exists, create a new one).

Use Slim (~/.xinitrc)/startx

You need to add those lines in your ~/.xinitrc.

Note that if you need im module or kimpanel support, DBus must be initialized correctly. So you need the following line at the head of ~/.xinitrc :

eval `dbus-launch --sh-syntax --exit-with-session`

Next Step

Customize Fcitx

Install input method