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

28th August 2009, 07:20 AM
|
|
Registered User
|
|
Join Date: Jun 2007
Posts: 26

|
|
|
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 enabled: yes
Is imsettings enabled: yes
Is GTK+ supported: yes
Is Qt supported: no
DESKTOP_SESSION: gnome
DISABLE_IMSETTINGS:
IMSETTINGS_DISABLE_DESKTOP_CHECK:
DBUS_SESSION_BUS_ADDRESS: unix:abstract=/tmp/dbus-hY6vUejOBk,guid=9971a2fca136ae03e274bc524a97736c
GTK_IM_MODULE:
QT_IM_MODULE: xim
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.ms: Failed to open file '/home/hantsy/.config/metacity/sessions/102c2ce164bf9de0d7125143947332813300000025460037.ms': No such file or directory
** Message: NumLock remembering disabled because hostname is set to "localhost"
Starting Dropbox...
** (nm-applet:2808): WARNING **: Invalid connection: 'NMSettingIP4Config' / 'method' invalid: 2
** (nm-applet:2808): WARNING **: Invalid connection: 'NMSettingIP4Config' / 'method' invalid: 2
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
|

28th August 2009, 02:00 PM
|
 |
Retired Community Manager -- Banned from Texas by popular demand.
|
|
Join Date: Sep 2007
Location: NYC
Posts: 8,142

|
|
|
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
|

28th August 2009, 03:22 PM
|
|
Registered User
|
|
Join Date: Jun 2007
Posts: 26

|
|
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.
|

28th August 2009, 03:31 PM
|
|
Registered User
|
|
Join Date: Jun 2007
Posts: 26

|
|
|
Another problem I found , I can not use IM in QT application in GNOME desktop ( before IM problem occurs).
But before it works well.
|

28th August 2009, 10:25 PM
|
 |
Retired Community Manager -- Banned from Texas by popular demand.
|
|
Join Date: Sep 2007
Location: NYC
Posts: 8,142

|
|
|
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
|

29th August 2009, 04:43 AM
|
|
Registered User
|
|
Join Date: Jun 2007
Posts: 26

|
|
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.
|

29th August 2009, 11:33 AM
|
 |
Retired Community Manager -- Banned from Texas by popular demand.
|
|
Join Date: Sep 2007
Location: NYC
Posts: 8,142

|
|
|
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
|

1st September 2009, 04:08 PM
|
|
Registered User
|
|
Join Date: Jun 2007
Posts: 26

|
|
|
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.
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 11:46 (Monday, 20-05-2013)
|
|
 |
 |
 |
 |
|
|