Ibus

From Trinity Desktop Project Wiki
Revision as of 22:39, 22 May 2018 by imported>Waves (Pit falls)
Jump to navigation Jump to search

ibus is a multilingual input method. For imputing languages like Chinese.

Configuration

ibus works in trinity, with these three changes

1.applications need this variable in their environment

export XMODIFIERS=@im=ibus

you can add it in ~/.bashrc or in the terminal just before launching the application

2. ibus in xim mode

ibus-daemon --xim -d

3.embed the preedit text, otherwise it appears at the bottom left corner of the window. in ibus applet right click applet > preferences > embed preedit text in application window

Pit falls

  • if QT_IM_MODULE is defined even empty, it blocks ibus. Make sure it's not set anywhere. Remove it from any file, like ~/.xprofile or ~/.bashrc .
  • You need to launch ibus first.
  • If ibus closes while an app uses it, the app will crash.