FedoraThis forum is for the discussion of the Fedora Project.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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...
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...)
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 ?
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!
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!
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.
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
# /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
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.
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 "
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.
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
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
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.
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
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.