|
楼主 |
发表于 2006-3-27 20:53:40
|
显示全部楼层
[quote:c251638227="macaco"]http://www.scim-im.org/wiki/faq/gtk_gnome/why_firefox_mozilla_acrobat_reader_7_other_gtk_2_based_apps_can_not_be_installed_started
Cause
SCIM gtk IM Module and Firefox/Mozilla/Acrobat Reader 7 or any other Gtk+2 based C++ applications are binary incompatible with each other if they are not compiled with the same branches of gcc/glibc.
Solution
Compile and install firefox/mozilla from source package.
Do not use scim gtk immodule by setting GTK_IM_MODULE=xim globally.
If you do not want to or can not recompile the target application from source, such as acrobat reader 7, and you think the second sulution is also too arbitrary, then their is another workaroud.
Workaround
You can disable scim gtk immodule in some gtk programs by appending GTK_IM_MODULE=xim to the command. Say you want to install a new version of firefox download from mozilla official site:
GTK_IM_MODULE=xim ./firefox-installerOf course it is too inconvenient to append the variable every time you invoke firefox. Then just edit the startup script of firefox/mozilla etc, add one line in the beginning of the file (after the first line if it begins with #!/bin/sh):
export GTK_IM_MODULE=ximYou can use this method to disable scim gtk immodule support in specific applications, rather than all of them.[/quote]
感谢 macaco大虾的指点, 受益非浅 |
|