You are not logged in.

#1 2005-04-02 10:20:55

ganlu
Member
From: ChongQing, China
Registered: 2004-01-04
Posts: 360

[NEW] FCITX for Chinese input

A cool input method for Chinese:

# Contributer: Gan Lu <rhythm.gan@gmail.com>
pkgname=fcitx
pkgver=3.1.1
pkgrel=1
pkgdesc=("A collection of Chinese Input Method based on XIM")
depends=('x-server')
url="http://www.fcitx.org/"
license=GPL
source=(http://www.fcitx.org/download//$pkgname-$pkgver.tar.bz2)

build() {
        cd $startdir/src/$pkgname-$pkgver
        ./configure --prefix=/usr --enable-xft
        make || return 1
        make DESTDIR=$startdir/pkg install
}


md5sums=('cd871c585dc260ebf48e2bdb5cbe596c')

Other input method for Chinese such SCIM, please search it yourself in the forum.

Forget to remind, if you can't use space+ctrl to invoke fcitx or can't use it to input chinese, please modify your .bashrc file like this:

#setup XIM environment
xport XMODIFIERS=@im=fcitx
export GTK_IM_MODULE=xim
export QT_IM_MODULE=xim

and add 'fcitx &' in your .xinitrc to automatically load it when startx (before the line 'exec gnome-session' alike),
or add that in profile if you use gdm alike.

Offline

#2 2005-04-02 21:58:30

neri
Forum Fellow
From: Victoria, Canada
Registered: 2003-05-04
Posts: 553

Re: [NEW] FCITX for Chinese input

ganlu wrote:

Forget to remind, if you can't use space+ctrl to invoke fcitx or can't use it to input chinese, please modify your .bashrc file like this:

#setup XIM environment
xport XMODIFIERS=@im=fcitx
export GTK_IM_MODULE=xim
export QT_IM_MODULE=xim

and add 'fcitx &' in your .xinitrc to automatically load it when startx (before the line 'exec gnome-session' alike),
or add that in profile if you use gdm alike.

What do you people who need this methods about scripts in profile.d. Does
it make sense to include the files there via a package, or should this be left
to the individual user?

-neri

Offline

#3 2005-04-06 02:17:31

ganlu
Member
From: ChongQing, China
Registered: 2004-01-04
Posts: 360

Re: [NEW] FCITX for Chinese input

Because it will probably confilct with other input method based on XIM, so I think it's better let user do it themselves.

Offline

Board footer

Powered by FluxBB