Results 1 to 10 of 60

Thread: HOWTO: Enable Chinese Input

Threaded View

  1. #1
    Join Date
    Dec 2004
    Beans
    9

    HOWTO: Enable Chinese Input

    Chinese Input for Ubuntu Hoary:
    (version française)

    1) install the following packages:
    * scim
    * scim-chinese
    * scim-config-socket
    * scim-frontend-socket
    * scim-gtk2-immodule
    * scim-server-socket
    * scim-tables-zh (option)
    * xfonts-intl-chinese
    * xfonts-intl-chinese-big
    * ttf-arphic-gbsn00lp
    * ttf-arphic-gkai00mp
    * ttf-arphic-bkai00mp
    * ttf-arphic-bsmi00lp

    accept all dependencies.

    2) System -> Preferences -> Sessions

    Startup Programs Tab -> Add Button
    Startup Command: scim -d
    Order: 80

    3) Restart Gnome: CTRL+ALT+SUPPR

    4) Open any software and press CTRL+SPACE to activate chinese input
    ------------------------------------------------------------------------------------------------------

    IF not working you can as an alternative replace step 2) as follow:

    2) alt+F2, gedit

    type these few lines:
    Code:
    scim -d
    export XMODIFIERS=@im=scim
    export GTK_IM_MODULE=scim
    gnome-session
    Save them under your home directory name: .xsession

    Then open a terminal and type:
    Code:
    $chmod +x .xsession
    ------------------------------------------------------------------------------------------------------

    Tips


    Additional Instructions for OpenOffice:
    Tools=>Options=>Language Settings=>Languages: enable Asian languages support and choose the asian default language for document. (chinese simplified for example)
    Tools=>Options=>Text Document=>Basic Fonts (Asian): change all of them for "AR PL Kaitim GB" or your favorite chinese font.

    Clean Font
    Add Firefly's font "AR PL New Sung"

    Open a terminal and type
    Code:
    $wget http://firefly.idv.tw/apt/firefly-font/fireflysung-1.3.0.tar.gz
    $tar zxvf fireflysung-1.3.0.tar.gz
    $sudo cp fireflysung-1.3.0/fireflysung.ttf /usr/share/fonts/truetype/
    $sudo fc-cache -f -v
    Alternative repositories
    Code:
    $wget http://cle.linux.org.tw/fonts/FireFly/fireflysung-1.3.0.tar.gz
    or
    $wget http://apt.nc.hcc.edu.tw/pub/FC_src/fireflysung-1.3.0.tar.gz
    or
    $wget http://www.study-area.org/apt/firefly-font/fireflysung-1.3.0.tar.gz
    More Fonts
    Install msttcorefonts, open a terminal:
    Code:
    $sudo apt-get install msttcorefonts


    现在能写中文

    谢谢pierretzutolin
    Last edited by DuKefeng; April 20th, 2005 at 07:20 AM.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •