Fedora This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
|
05-09-2005, 11:26 PM
|
#91
|
Member
Registered: Feb 2003
Location: Melbourne, Australia
Distribution: Ubuntu 6.10, Slackware 11.0
Posts: 192
Rep:
|
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
|
|
|
05-10-2005, 01:42 AM
|
#92
|
Member
Registered: Jan 2004
Location: Singapore
Distribution: Main Distros: Ubuntu & SUSE, OTHERS: MEPIS, FC, Mandriva, Linspire, Xandros, Knoppix
Posts: 58
Original Poster
Rep:
|
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.
|
|
|
05-10-2005, 01:53 AM
|
#93
|
Member
Registered: Apr 2002
Location: China
Distribution: Suse 10
Posts: 225
Rep:
|
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 ?
|
|
|
05-10-2005, 02:07 PM
|
#94
|
Member
Registered: Feb 2003
Location: Melbourne, Australia
Distribution: Ubuntu 6.10, Slackware 11.0
Posts: 192
Rep:
|
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
|
|
|
05-10-2005, 02:20 PM
|
#95
|
Member
Registered: Feb 2003
Location: Melbourne, Australia
Distribution: Ubuntu 6.10, Slackware 11.0
Posts: 192
Rep:
|
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
|
|
|
07-16-2005, 09:34 PM
|
#96
|
Member
Registered: Apr 2002
Location: China
Distribution: Suse 10
Posts: 225
Rep:
|
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
|
|
|
07-17-2005, 06:35 AM
|
#97
|
Senior Member
Registered: Apr 2003
Posts: 3,695
Rep:
|
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
|
|
|
07-17-2005, 09:58 AM
|
#98
|
Member
Registered: Apr 2002
Location: China
Distribution: Suse 10
Posts: 225
Rep:
|
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.
|
|
|
07-17-2005, 10:40 AM
|
#99
|
Senior Member
Registered: Apr 2003
Posts: 3,695
Rep:
|
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
|
|
|
07-19-2005, 10:58 AM
|
#101
|
Member
Registered: Apr 2002
Location: China
Distribution: Suse 10
Posts: 225
Rep:
|
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.
|
|
|
07-19-2005, 11:06 AM
|
#102
|
Senior Member
Registered: Apr 2003
Posts: 3,695
Rep:
|
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
|
|
|
08-06-2005, 10:27 AM
|
#103
|
Senior Member
Registered: Apr 2003
Posts: 3,695
Rep:
|
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
|
|
|
08-10-2005, 09:47 PM
|
#104
|
Member
Registered: Apr 2002
Location: China
Distribution: Suse 10
Posts: 225
Rep:
|
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
|
|
|
08-11-2005, 12:20 AM
|
#105
|
Senior Member
Registered: Apr 2003
Posts: 3,695
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 12:55 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|