Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 28th August 2009, 07:20 AM
hantsy Offline
Registered User
 
Join Date: Jun 2007
Posts: 26
linuxfedorafirefox
Can not start up scim (Input method) (Problem inputting Chinese)

In the .xsession-error.
I found the following message after gnome desktop started.
PHP Code:

use user-pecific settings>>>>>>>>>>>>
imsettings information
==========================
Is DBus enabledyes
Is imsettings enabled
yes
Is GTK
supportedyes
Is Qt supported
no
DESKTOP_SESSION
gnome
DISABLE_IMSETTINGS

IMSETTINGS_DISABLE_DESKTOP_CHECK
DBUS_SESSION_BUS_ADDRESSunix:abstract=/tmp/dbus-hY6vUejOBk,guid=9971a2fca136ae03e274bc524a97736c
GTK_IM_MODULE

QT_IM_MODULExim
XMODIFIERS
: @im=imsettings
IMSETTINGS_MODULE
SCIM

Started SCIM
GNOME_KEYRING_SOCKET
=/tmp/keyring-AdQgnB/socket
SSH_AUTH_SOCK
=/tmp/keyring-AdQgnB/socket.ssh
Window manager warning
Failed to read saved session file /home/hantsy/.config/metacity/sessions/102c2ce164bf9de0d7125143947332813300000025460037.msFailed to open file '/home/hantsy/.config/metacity/sessions/102c2ce164bf9de0d7125143947332813300000025460037.ms'No such file or directory
** MessageNumLock remembering disabled because hostname is set to "localhost"
Starting Dropbox...
** (
nm-applet:2808): WARNING **: Invalid connection'NMSettingIP4Config' 'method' invalid2

** (nm-applet:2808): WARNING **: Invalid connection'NMSettingIP4Config' 'method' invalid2
Initializing nautilus
-dropbox 0.6.1
Initializing nautilus
-open-terminal extension

(imsettings-start:2793): IMSettings-WARNING **: Failed to invoke a method `GetVersion' on com.redhat.imsettings:
  Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
Mismatch the version of imsettings.
Run imsettings-reload -f may resolves this issue but be aware that will ends up to restart Input Method too

** (nautilus:2786): WARNING **: Unable to add monitor: Not supported
Done!
Gtk-Message: Failed to load module "gnomebreakpad": /home/hantsy/.dropbox-dist/libstdc++.so.6: version 
`GLIBCXX_3.4.11' not found (required by /usr/lib/bug-buddy/libbreakpad.so.0)
Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x240005a (Buddy List)
Window manager warning: meta_window_activate called by a pager with a 0 timestamp; the pager needs to be fixed.
Loading socket Config module ...
Creating backend ...
Loading x11 FrontEnd module ...
Failed to load x11 FrontEnd module. 
I run imsettings-info command and get the following message.
PHP Code:
(process:3303): IMSettings-WARNING **: Failed to invoke a method `GetVersion' on com.redhat.imsettings:
  Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
Mismatch the version of imsettings.
Run imsettings-reload -f may resolves this issue but be aware that will ends up to restart Input Method too 
My kernel info
PHP Code:
Linux localhost.localdomain 2.6.29.6-217.2.16.fc11.i586 #1 SMP Mon Aug 24 17:01:46 EDT 2009 i686 athlon i386 GNU/Linux 
Reply With Quote
  #2  
Old 28th August 2009, 02:00 PM
scottro's Avatar
scottro Offline
Retired Community Manager -- Banned from Texas by popular demand.
 
Join Date: Sep 2007
Location: NYC
Posts: 8,142
linuxopera
For what it's worth, as of F11, Fedora defaults to ibus. (Which would be started with ibus-daemon ---xim

What happens if you just type

scim -d

in terminal?
__________________
--
http://home.roadrunner.com/~computertaijutsu

Do NOT PM forum members with requests for technical support. Ask your questions on the forum.


"I don't know why there is the constant push to break any semblance of compatibility" --anon
Reply With Quote
  #3  
Old 28th August 2009, 03:22 PM
hantsy Offline
Registered User
 
Join Date: Jun 2007
Posts: 26
linuxfedorafirefox
PHP Code:
[hantsy@localhost ~]$ scim -d
Smart Common Input Method 1.4.8

Launching a SCIM process with x11
...
Loading socket Config module ...
Creating backend ...
Loading x11 FrontEnd module ...
Failed to load x11 FrontEnd module.
Failed to launch SCIM.
[
hantsy@localhost ~]$ 
Currently , ibus is buggy and sometimes it does not work correctly especially after system update(with ibus update) .
I'm a Chinese , I have to use IM every day.
Scim is more stable .

Last edited by hantsy; 28th August 2009 at 03:28 PM.
Reply With Quote
  #4  
Old 28th August 2009, 03:31 PM
hantsy Offline
Registered User
 
Join Date: Jun 2007
Posts: 26
linuxfedorafirefox
Another problem I found , I can not use IM in QT application in GNOME desktop ( before IM problem occurs).
But before it works well.
Reply With Quote
  #5  
Old 28th August 2009, 10:25 PM
scottro's Avatar
scottro Offline
Retired Community Manager -- Banned from Texas by popular demand.
 
Join Date: Sep 2007
Location: NYC
Posts: 8,142
linuxkonqueror
Sometimes, *that* one can be fixed with

QT_IM_MODULE="scim"

Looking at scim --help shows the option

scim --no-socket Do not try to start a SCIM FrontEnd daemon

You could try that, but I honestly have no idea--I haven't had it fail to run in years.
__________________
--
http://home.roadrunner.com/~computertaijutsu

Do NOT PM forum members with requests for technical support. Ask your questions on the forum.


"I don't know why there is the constant push to break any semblance of compatibility" --anon
Reply With Quote
  #6  
Old 29th August 2009, 04:43 AM
hantsy Offline
Registered User
 
Join Date: Jun 2007
Posts: 26
linuxfedorafirefox
Thank you for your suggestion.
I found SCIM is started , but IM icon does not display in the notification area.
I can use CTRL+SPACE to start up it in GTK application.

I tried run scribus by the following command.
PHP Code:
QT_IM_MODULE=scim scribus 
SCIM still does not work.

Another question about Fedora, I found scim scripts in /etc/X11/xinit/xinput.d/ the the 'GTK_IM_MODULE' and 'QT_IM_MODULE' value are set, but when system is started, all the variables are cleared.
Reply With Quote
  #7  
Old 29th August 2009, 11:33 AM
scottro's Avatar
scottro Offline
Retired Community Manager -- Banned from Texas by popular demand.
 
Join Date: Sep 2007
Location: NYC
Posts: 8,142
linuxopera
I can only tell you what works for me, but I use it very differently than you do. Firstly, I use it for Japanese, not Chinese, but if one sets the engine (anthy in my case) I don't know how much difference there will be. I suspect that Fedora isn't paying that much attention to scim now, as its gone to ibus, but I honestly don't know.

What I do is create a little script (note that my LC_CTYPE is English, because I want my menus and such in English.)

It reads

XMODIFIERS='@im=SCIM' LC_CTYPE=en_US.UTF-8 GTK_IM_MODULE="scim" QT_IM_MODULE="scim" ${1+"$@"} &

Then, I just call any app where I need Japanese with

lang.sh <application_name>

I don't know if that will work for you, as it seems you want it to be always available. You might try putting in .bash_profile (and if it doesn't do the job there, perhaps in .bashrc)

export XMODIFIERS='@im=SCIM'
LC_CTYPE=<your language settings, for example zh_CN.UTF-8>
export GTK_IM_MODULE="scim"
export QT_IM_MODUL="scim"

I also don't use it with Gnome, so I can't be too much help with that either. I'm going to try changing your thread topic so that perhaps others who use Chinese might stop and look at the thread and perhaps be able to be of more help than I am.

You might also have to run im-switch or whatever it's called. (Again, I don't use it very frequently, so once again, I fear I'm unable to be very helpful.)

Also, the scim failed to start error is something I haven't encountered, and I have no idea of how to do that.

One thing I HAVE encountered in Fedora at times is that the $HOME/.scim/config file will be missing the

/Hotkeys/FrontEnd/Trigger = Control+space

line and I've had to add it, but that doesn't sound as if it's your issue.
__________________
--
http://home.roadrunner.com/~computertaijutsu

Do NOT PM forum members with requests for technical support. Ask your questions on the forum.


"I don't know why there is the constant push to break any semblance of compatibility" --anon
Reply With Quote
  #8  
Old 1st September 2009, 04:08 PM
hantsy Offline
Registered User
 
Join Date: Jun 2007
Posts: 26
linuxfedorafirefox
I read some script code about gdm startup.
I think the magic is in in the /etc/X11/xinit/xinitrc.d/50-xinput.sh.
It cleared up the variables GTK_IM_MODULE and QT_IM_MODULE.
It tried to start up user specific configuration firstly , then tried to load up system scope configuration.

The IM error message I posted before may be a bug of IMSettings.
Reply With Quote
Reply

Tags
chinese, input, inputting, method, problem, scim, start

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
(Scim) Traditional Chinese input using hanyu pinyin? guizhou_donkey Using Fedora 4 6th November 2009 09:15 AM
tomboy input method problem [F9] Dong Li Using Fedora 6 20th May 2008 02:04 AM
input method problem scabbage Using Fedora 32 21st May 2006 04:49 PM
FC4 SCIM Chinese input doesn't work.... jiapei100 EOL (End Of Life) Versions 1 20th September 2005 06:11 PM


Current GMT-time: 11:46 (Monday, 20-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat