LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 05-09-2005, 11:26 PM   #91
JDW
Member
 
Registered: Feb 2003
Location: Melbourne, Australia
Distribution: Ubuntu 6.10, Slackware 11.0
Posts: 192

Rep: Reputation: 30

hi,

thanks for that...very good instructions! but i've never heard of autopackages - how does that work?

i downloaded all the scim packages that were available before, it's just that I didn't get the Smart Pinyin input method...i'll check again, maybe i've missed something stupid...

cheers,

jdw
 
Old 05-10-2005, 01:42 AM   #92
rykel
Member
 
Registered: Jan 2004
Location: Singapore
Distribution: Main Distros: Ubuntu & SUSE, OTHERS: MEPIS, FC, Mandriva, Linspire, Xandros, Knoppix
Posts: 58

Original Poster
Rep: Reputation: 15
You are welcome!

Are you also Singaporean, btw?

Autopackage.org seems to be down for the moment, but basically, an autopackage is the equivalent of a Windows .EXE file.

eg. Instead of gimp.exe, you have gimp.package. Simply double-click on the gimp.package icon from your desktop and it will install GIMP into your system.

If you have any problems with SCIM, don't hesitate to re-follow the instructions at ubuntuguide.org. If you set it up correctly, SCIM will "appear" in your system tray as and when programs which can use input are started. (I have 2 keyboard icons at top right hand corner on my screen...)

真的可以用了!!!

Last edited by rykel; 05-10-2005 at 01:44 AM.
 
Old 05-10-2005, 01:53 AM   #93
awtoc123
Member
 
Registered: Apr 2002
Location: China
Distribution: Suse 10
Posts: 225

Rep: Reputation: 30
Hi SCIM works 100% correct in FC3 and RHEL4, the only thing you must remember is to totally uninstall iiimf. In my system SCIM works from English desktop on ALL applications even Mozilla GTK2, and it works as good as that of Microsoft XP.

Just one problem SCIM seams to create a problem at boot when X starts it cause the boot sequence to hang just at the start of X, and then I give ctrl + C then it boots normally, and everthing is working correct. Any Idea how to get it to boot normally ?
 
Old 05-10-2005, 02:07 PM   #94
JDW
Member
 
Registered: Feb 2003
Location: Melbourne, Australia
Distribution: Ubuntu 6.10, Slackware 11.0
Posts: 192

Rep: Reputation: 30
Using IIIMF Chinese in English locale

Hi Rykel,

No, not Singaporean, Australian but I used to live in Hong Kong for a few years, hence it's nice for me to use SCIM for simple Cantonese input!

I have Ubuntu Warty installed, I must get off my butt and upgrade to Hoary (bit hard without broadband!), but that being said I don't have any scim-chinese (or scim-pinyin, it's replacement) in the repositories. I tried installing the last available scim-chinese package from source, but it wants a newer version of scim blah blah and it's starting to get a bit messy...fcitx comes in very handy!


jdw
 
Old 05-10-2005, 02:20 PM   #95
JDW
Member
 
Registered: Feb 2003
Location: Melbourne, Australia
Distribution: Ubuntu 6.10, Slackware 11.0
Posts: 192

Rep: Reputation: 30
Using IIIMF Chinese in English locale

Hi Rykel,

No, not Singaporean, Australian but I used to live in Hong Kong for a few years, hence it's nice for me to use SCIM for simple Cantonese input!

I have Ubuntu Warty installed, I must get off my butt and upgrade to Hoary (bit hard without broadband!), but that being said I don't have any scim-chinese (or scim-pinyin, it's replacement) in the repositories. I tried installing the last available scim-chinese package from source, but it wants a newer version of scim blah blah and it's starting to get a bit messy...fcitx comes in very handy!


jdw
 
Old 07-16-2005, 09:34 PM   #96
awtoc123
Member
 
Registered: Apr 2002
Location: China
Distribution: Suse 10
Posts: 225

Rep: Reputation: 30
SCIM

Here it is for those who has problems with SCIM in Redhat RHEL4 or other distros, follow this, and it will work like a dream.

1 ) totally uninstall IIIMF rpm -e `rpm -qa |grep ^iii`
2 ) create symlink ln -s /usr/bin/gtk-query-immodules-2.0-32 /usr/bin/gtk-query-immodules-2.0
4 ) then cd to boot/grub/grub.conf and delete any text after this line "kernel /boot/vmlinuz-2.6.9-11.EL ro root=LABEL=/ " so there is nothing else after this line, then it will boot in none graphical mode, until the login screen which will be like before.
You also need to install scim-pinyin-0.5.0 & tables if you want wubi or cantonese input
5 ) enter this in the very last line of /etc/bashrc
export XMODIFIERS="@im=SCIM"
export GTK_IM_MODULE=scim
export QT_IM_MODULE=scim

Then SCIM works globally

The above kernel version is my kernel, this works on all kernels from 2.4

Then SCIM works perfect, even better than Windows XP, and if you install the tables then you have all kind of input systems - Cantonese - Wubi - and many more.
There is no better Chinese input system than SCIM for Linux out there, it works on English desktop without the need to change the desktop, on my system it works on all applications, if you are using a GTK version of Mozilla you might have to enter this in front of your Mozilla start line "GTK_IM_MODULE=xim /usr/lib/mozilla/mozilla" ( without the " ) this is based on if you have installed Mozilla in / usr/lib/mozilla.
You can put this line infront of all GTK applications.

I hope this works for your all
 
Old 07-17-2005, 06:35 AM   #97
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Rep: Reputation: 56
Re: SCIM

Hi awtoc123,

Fedora Core 3
===========

I have been trying to setup Chinese input, both Simplified and Traditional, on English locale, KDE Desktop/GNOME Desktop without success.

Quote:
1 ) totally uninstall IIIMF rpm -e `rpm -qa |grep ^iii`
# rpm -qa | grep iii
Code:
iiimf-x-12.1-10.FC3
iiimf-le-xcin-0.1.7-9
iiimf-server-12.1-10.FC3
iiimf-libs-12.1-10.FC3
iiimf-csconv-12.1-10.FC3
iiimf-gtk-12.1-10.FC3
iiimf-le-chinput-0.3-11
iiimf-docs-12.1-10.FC3
iiimf-gnome-im-switcher-12.1-10.FC3
I'm prepared to remove all of them

Quote:
2 ) create symlink ln -s /usr/bin/gtk-query-immodules-2.0-32 /usr/bin/gtk-query-immodules-2.0

Sorry, I can't catch why to create a symbolic link to the same directory with only its version number changed? Here is mind;
# ls -al /usr/bin/ | grep gtk
Code:
lrwxrwxrwx   1 root root         13 May 20 11:57 authconfig-gtk -> consolehelper
-rwxr-xr-x   1 root root      30196 Oct 20  2004 consolehelper-gtk
-rwxr-xr-x   1 root root     103840 Mar 28 23:37 gtk-demo
-rwxr-xr-x   1 root root       9760 Mar 28 23:37 gtk-query-immodules-2.0-32
-rwxr-xr-x   1 root root        559 Mar 28 23:37 update-gtk-immodules
Quote:
4 ) then cd to boot/grub/grub.conf and delete any text after this line "kernel /boot/vmlinuz-2.6.9-11.EL ro root=LABEL=/ " so there is nothing else after this line, then it will boot in none graphical mode, until the login screen which will be like before.

# cat /boot/grub/grub.conf
Code:
.......
.....
# NOTICE:  You have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /boot/, eg.
#          root (hd0,0)
#          kernel /vmlinuz-version ro root=/dev/hda2
#          initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=15
splashimage=(hd0,0)/grub/splash.xpm.gz
# hiddenmenu
title Fedora Core (2.6.11-1.35_FC3)
        root (hd0,0)
        kernel /vmlinuz-2.6.11-1.35_FC3 ro root=LABEL=/ rhgb quiet
        initrd /initrd-2.6.11-1.35_FC3.img
title Fedora Core (2.6.11-1.27_FC3)
        root (hd0,0)
        kernel /vmlinuz-2.6.11-1.27_FC3 ro root=LABEL=/ rhgb quiet
        initrd /initrd-2.6.11-1.27_FC3.img
On the line "kernel /vmlinuz-2.6.11-1.35_FC3 ro root=LABEL=/ rhgb quiet", whether only remove "rhgb quiet" leaving the line "initrd /initrd-2.6.11-1.35_FC3.img" below untouched.

Can I leave both of them there?

Quote:
You also need to install scim-pinyin-0.5.0 & tables if you want wubi or cantonese input
Yes I'll add them.

# rpm -qa | grep scim
# rpm -qa | grep SCIM
both without printout

Please advise the packages of "scim" which I need to install.

Quote:
5 ) enter this in the very last line of /etc/bashrc
export XMODIFIERS="@im=SCIM"
export GTK_IM_MODULE=scim
export QT_IM_MODULE=scim
$ locate bashrc
Code:
/usr/share/doc/bash-3.0/startup-files/bashrc
/home/satimis/.bashrc
/home2/satimis/.bashrc
/etc/bashrc
/etc/skel/.bashrc
$ cat /etc/bashrc
Code:
# /etc/bashrc

# System wide functions and aliases
# Environment stuff goes in /etc/profile

# by default, we want this to get set.
# Even for non-interactive, non-login shells.
if [ "`id -gn`" = "`id -un`" -a `id -u` -gt 99 ]; then
        umask 002
else
        umask 022
fi

# are we an interactive shell?
if [ "$PS1" ]; then
    case $TERM in
        xterm*)
                if [ -e /etc/sysconfig/bash-prompt-xterm ]; then
                        PROMPT_COMMAND=/etc/sysconfig/bash-prompt-xterm
                else
                PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME%%.*}:${PWD/#$HOME/~}\007"'
                fi
                ;;
        screen)
                if [ -e /etc/sysconfig/bash-prompt-screen ]; then
                        PROMPT_COMMAND=/etc/sysconfig/bash-prompt-screen
                else
                PROMPT_COMMAND='echo -ne "\033_${USER}@${HOSTNAME%%.*}:${PWD/#$HOME/~}\033\\"'
                fi
                ;;
        *)
                [ -e /etc/sysconfig/bash-prompt-default ] && PROMPT_COMMAND=/etc/sysconfig/bash-prompt-default
            ;;
    esac
    # Turn on checkwinsize
    shopt -s checkwinsize
    [ "$PS1" = "\\s-\\v\\\$ " ] && PS1="[\u@\h \W]\\$ "

    if ! shopt -q login_shell ; then # We're not a login shell
        for i in /etc/profile.d/*.sh; do
            if [ -r "$i" ]; then
                . $i
            fi
        done
        unset i
    fi
fi
# vim:ts=4:sw=4
Whether adding following 3 lines;
export XMODIFIERS="@im=SCIM"
export GTK_IM_MODULE=scim
export QT_IM_MODULE=scim

before "# vim:ts=4:sw=4" and below "fi"
Quote:
if you are using a GTK version of Mozilla you might have to enter this in front of your Mozilla start line "GTK_IM_MODULE=xim /usr/lib/mozilla/mozilla" ( without the " ) this is based on if you have installed Mozilla in / usr/lib/mozilla.
You can put this line infront of all GTK applications.
I'm running Firefox. What shall I do?

Please advice. TIA

B.R.
satimis
 
Old 07-17-2005, 09:58 AM   #98
awtoc123
Member
 
Registered: Apr 2002
Location: China
Distribution: Suse 10
Posts: 225

Rep: Reputation: 30
SCIM

Hi satimis, well lets start with why the symlink, it is because SCIM is only looking for gtk-query-immodules-2.0 and in Redhat RHEL4 and I think Fedora 3 the installed version is gtk-query-immodules-2.0-32 so SCIM can not find gtk-query-immodules-2.0

Next remove the rhgb quiet from the end of this line kernel /vmlinuz-2.6.11-1.35_FC3 ro root=LABEL=/ rhgb quiet so the line reads kernel /vmlinuz-2.6.11-1.35_FC3 ro root=LABEL=/

You only need to do this totally uninstall IIIMF rpm -e `rpm -qa |grep ^iii` no need to remove more.

You need to install
scim-1.2.2-8fc3.i386.rpm
scim-pinyin-0.5.0-2fc3.i386.rpm
scim-tables-0.5.0 ( this is from source )
If you are only using KDE you can install this
skim-1.2.2-5fc3.i386.rpm
scim-qtimm-0.8.9-4fc3.i386.rpm

Then in /etc/bashrec and it has to be there below " # vim:ts=4:sw=4 "

export XMODIFIERS="@im=SCIM"
export GTK_IM_MODULE=scim
export QT_IM_MODULE=scim

Restart and it should work.

With Firefox you don't need to add the line before starting only with Mozilla GTK

After yo have restarted start Firefox put the pointer in URL bar and do a ctrl + space and you should be in business, don't forget to configure SCIM, when you see the icon next to the clock, right click on it and choose the font, also remember to install simsun, which you can just copy from a Windows fonts direct to /usr/share/fonts/default/Type1
I promise you it will work, unless you have tried to install some other input engine, then you need to totally clean those out first.
 
Old 07-17-2005, 10:40 AM   #99
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Rep: Reputation: 56
Re: SCIM

Hi awtoc123,

Tks for your advice.

Quote:
You need to install
scim-1.2.2-8fc3.i386.rpm
scim-pinyin-0.5.0-2fc3.i386.rpm
scim-tables-0.5.0 ( this is from source )
If you are only using KDE you can install this
skim-1.2.2-5fc3.i386.rpm
scim-qtimm-0.8.9-4fc3.i386.rpm
I suppose the following URL being the right website to download the mentioned rpm packages;
http://sourceforge.net/project/showf...roup_id=108454

Quote:
scim-tables-0.5.0 ( this is from source )
Whether you meant its tarball?

Quote:
After yo have restarted start Firefox put the pointer in URL bar and do a ctrl + space and you should be in business,
Whether you meant after booting up the FC3 box and starting Firefox, place the mouse pointer over the URL bar/box of Firefox browser and press [Ctrl] and [Space] simultaneously. Whether I need to do it each time on starting Firefox? OR only do it once? TIA

Quote:
don't forget to configure SCIM, when you see the icon next to the clock, right click on it and choose the font,
OK. I'll find the SCIM icon to configure it.

Quote:
also remember to install simsun, which you can just copy from a Windows fonts direct to /usr/share/fonts/default/Type1
Sorry I haven't had a M$Windows box here. Please advise where can I download the "simsun" fonts

B.R.
satimis
 
Old 07-18-2005, 03:47 AM   #100
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Rep: Reputation: 56
Where to download SimSum ttf font

Hi awtoc123,

On google searching I found following fonts free to download

Freeware Mah Jong fonts
http://www.garethjmsaunders.co.uk/mahjong/fonts.html

http://prdownloads.sourceforge.net/c...6.rpm?download
OR
http://prdownloads.sourceforge.net/c...c.rpm?download

Whether they are the SimSun.ttf fonts which I need.

Please advise. TIA

B.R.
satimis
 
Old 07-19-2005, 10:58 AM   #101
awtoc123
Member
 
Registered: Apr 2002
Location: China
Distribution: Suse 10
Posts: 225

Rep: Reputation: 30
SCIM

Hi satimis, if you give me a e-mail addr I will e-mail you the simsun font, but be aware that it is some 6MB, or parhaps I will put it on
the site and you can download it from there, I will advice you when I have uploaded the fonts, and give you the link to download.
 
Old 07-19-2005, 11:06 AM   #102
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Rep: Reputation: 56
Re: SCIM

Hi awtoc123,

I think it would be more convenient for me to download. I don't know whether I'm allowed to receive an email with 6MB attachment.

Please advise me the URL of the download website when available. TIA

B.R.
satimis
 
Old 08-06-2005, 10:27 AM   #103
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Rep: Reputation: 56
Re: SCIM

HI awtoc123,

I may request my friend to copy the simsun font from his machine. Please advise in which folder and the name of the simsun font. TIA

B.R.
satimis
 
Old 08-10-2005, 09:47 PM   #104
awtoc123
Member
 
Registered: Apr 2002
Location: China
Distribution: Suse 10
Posts: 225

Rep: Reputation: 30
Simsun

Hi and sorry for the late reply, I can not let you download thefonts from my website as it would not be legal, but if you can find the font from another source, you should copy those fonts to /usr/share/fonts/default/Type1
I hope it works for you
 
Old 08-11-2005, 12:20 AM   #105
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Rep: Reputation: 56
Re: Simsun

Hi awtoc123,

Tks for your advice.

What I expect to know is the name of the directory and its full path. From there my friend can copy the font files for me. Please also inform me the name of the font files to be copied.

TIA

satimis
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to check English spell within a Chinese environment wuqso Linux - Software 0 01-06-2005 02:07 AM
Input Chinese in English environment qyzlp Linux - General 1 01-04-2005 08:00 PM
English / Danish Locale settings TroelsSmit Linux - Newbie 2 05-21-2004 02:26 AM
Chinese locale support eaglegst Debian 1 02-08-2004 02:23 AM
Can I have english menu with chinese/english/spanish input? codec Linux - General 9 10-04-2003 07:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 12:31 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration