Difference between revisions of "Configure (Gentoo)"
Jump to navigation
Jump to search
Weng Xuetian (talk | contribs) m (2 revisions imported) |
Weng Xuetian (talk | contribs) m (Text replacement - "<languages1/>" to "<languages/>") |
(One intermediate revision by the same user not shown) | |
(No difference)
|
Latest revision as of 22:52, 2 February 2016
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`