<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://fcitx-im.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=MyTest2</id>
	<title>Fcitx - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://fcitx-im.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=MyTest2"/>
	<link rel="alternate" type="text/html" href="https://fcitx-im.org/wiki/Special:Contributions/MyTest2"/>
	<updated>2026-05-03T10:21:51Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://fcitx-im.org/index.php?title=Hall_of_Shame_for_Linux_IME_Support&amp;diff=2366</id>
		<title>Hall of Shame for Linux IME Support</title>
		<link rel="alternate" type="text/html" href="https://fcitx-im.org/index.php?title=Hall_of_Shame_for_Linux_IME_Support&amp;diff=2366"/>
		<updated>2020-07-29T19:12:46Z</updated>

		<summary type="html">&lt;p&gt;MyTest2: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;languages/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
== Hall of Shame for Linux IME Support ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! style=&amp;quot;width: 10%;&amp;quot;| Name&lt;br /&gt;
! style=&amp;quot;width: 10%;&amp;quot;| Version&lt;br /&gt;
! style=&amp;quot;width: 30%;&amp;quot;| Upstream bug report&lt;br /&gt;
! style=&amp;quot;width: 30%;&amp;quot;| Description&lt;br /&gt;
! style=&amp;quot;width: 20%;&amp;quot;| Workaround&lt;br /&gt;
|-&lt;br /&gt;
|Firefox || At least since 3.6 || https://bugzilla.mozilla.org/show_bug.cgi?id=641445 || Cannot input in flash within plugincontainer by XIM || Use im module, or set dom.ipc.plugins.enabled.libflashplayer.so to false in about:config&lt;br /&gt;
|-&lt;br /&gt;
|Firefox || Seems since 10 || https://bugzilla.mozilla.org/show_bug.cgi?id=787943 https://bugs.freedesktop.org/show_bug.cgi?id=39367 || Menu sometimes cannot popup correctly with XIM || Use im module&lt;br /&gt;
|-&lt;br /&gt;
|Firefox || At least 8 || https://bugzilla.mozilla.org/show_bug.cgi?id=699022 || Caret position not get reported when there is no preedit. || &lt;br /&gt;
|-&lt;br /&gt;
|Firefox || At least since 50 ||  https://bugzilla.mozilla.org/show_bug.cgi?id=1182596 || Firefox reset input method when it is not needed. ||&lt;br /&gt;
|-&lt;br /&gt;
|Chromium || Fixed in 45 || http://code.google.com/p/chromium/issues/detail?id=113805 || chromium put preedit text in primary clipboard || &lt;br /&gt;
|-&lt;br /&gt;
|Chromium ||  || http://code.google.com/p/chromium/issues/detail?id=142823 ||  	Some preedit text might be typed in to input box || Use im module&lt;br /&gt;
|-&lt;br /&gt;
|GTK3 || 3.0 - 3.1.5 || https://bugzilla.gnome.org/show_bug.cgi?id=645993 || XIM works badly. || Use im module&lt;br /&gt;
|-&lt;br /&gt;
|Opera || 10.0 - 10.50 ||  || Cannot input with IM || &lt;br /&gt;
|-&lt;br /&gt;
|Opera || 10.50 - newest ||  || OverTheSpot support in XIM is bad, Cursor Position never updated. On the spot mode position update is also far from perfect. || Enable On The Spot for [[Special:myLanguage/XIM|XIM]] ||&lt;br /&gt;
|-&lt;br /&gt;
|Opera || 10.62 - newest ||  || OnTheSpot in address field commit string will cause opera crash. || &lt;br /&gt;
|-&lt;br /&gt;
|Pidgin || At least 2.6 - now ||  || Status Window will process key event though im module has filtered the key. || Use Key snooper&lt;br /&gt;
|-&lt;br /&gt;
|Pidgin || - 3.0 (not released yet) || https://developer.pidgin.im/ticket/15159 || The first key press when input area is not focused is not sent to input method. ||&lt;br /&gt;
|-&lt;br /&gt;
| KRunner || Since 4.0 ||  || The alternative mode (Not the default one) cannot support input method. || Use the default input box based mode&lt;br /&gt;
|-&lt;br /&gt;
| QtWebkit || All ||  || Cannot input in flash with XIM || Use im module&lt;br /&gt;
|-&lt;br /&gt;
| WebkitGtk || Fixed || https://bugs.webkit.org/show_bug.cgi?id=84981 || Cursor position doesn’t get update. || &lt;br /&gt;
|-&lt;br /&gt;
| Unity || Fixed after 11.10, with a dirty walkaround. || https://bugs.launchpad.net/ubuntu/+source/unity/+bug/663776 || Search field doesn’t support IM. || Use im module&lt;br /&gt;
|-&lt;br /&gt;
| Java || All ||  || Cursor position not update || &lt;br /&gt;
|-&lt;br /&gt;
| Emacs || All || http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-02/msg00761.html (Not sure there is older report or not) || English locale (not sure for others) can not use input method. || Use CJK locale. This is because emacs set too many font for an XIM option which make certain XIM call fails. Using CJK locale is just a side effect and make it match less fonts.&lt;br /&gt;
|-&lt;br /&gt;
| Sublime Text || At least since 2.2181 || http://www.sublimetext.com/forum/viewtopic.php?f=3&amp;amp;t=7006 || Cannot input with IM, or cannot use Ctrl+Space || Try use different trigger key. And use this as hack: http://www.sublimetext.com/forum/viewtopic.php?f=3&amp;amp;t=7006&amp;amp;sid=50cfea9b8fb28114867fc217f47daf8a&amp;amp;start=10#p41343&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;/div&gt;</summary>
		<author><name>MyTest2</name></author>
	</entry>
	<entry>
		<id>https://fcitx-im.org/index.php?title=FAQ/zh-hans&amp;diff=2365</id>
		<title>FAQ/zh-hans</title>
		<link rel="alternate" type="text/html" href="https://fcitx-im.org/index.php?title=FAQ/zh-hans&amp;diff=2365"/>
		<updated>2020-07-29T18:16:18Z</updated>

		<summary type="html">&lt;p&gt;MyTest2: Created page with &amp;quot;=== 是否是一个使用自身 Qt 库的 Qt 程序？=== 程序自带 Qt 库通常使用他们自己的插件目录，与系统的 Qt 不同。通常，Qt 和系统的 Qt 版...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;languages/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
当你抱怨输入法无法正常工作前，请先阅读这个页面。&lt;br /&gt;
&lt;br /&gt;
从 4.2.7 开始，Fcitx 提供了一个 fcitx-diagnose 的命令，它可以检测一些常见的问题并且给出一些建议。&lt;br /&gt;
&lt;br /&gt;
[[Special:MyLanguage/Hall of Shame for Linux IME Support|Linux 输入法支持耻辱堂]]&lt;br /&gt;
&lt;br /&gt;
== 使用 Ctrl + Space 时无法激活 Fcitx ==&lt;br /&gt;
&lt;br /&gt;
检查你所输入的程序。&lt;br /&gt;
&lt;br /&gt;
=== 这是唯一一个有问题的程序吗？ ===&lt;br /&gt;
** 最可能的原因是某个快捷键占用了 Ctrl Space，请修改另一个快捷键并重试。这常见于编辑器中，因为很多集成开发环境默认使用 Ctrl+Space 作为补全的快捷键。&lt;br /&gt;
&lt;br /&gt;
=== 所有 Gtk 程序都有问题？ === &lt;br /&gt;
* 请打开一个传统意义上的Gtk程序（所谓传统，就是它不应该是Firefox，Libreoffice这种仅仅是是使用Gtk样式作为界面的程序）。Gedit是一个不错的选择。右键点击输入框，将会弹出一个“输入法”菜单，请确认“Fcitx”被选中。&lt;br /&gt;
&lt;br /&gt;
* 如果菜单中确实有Fcitx，但是还是无法正常工作，请先尝试重新启动Fcitx，如果这次就可以工作了，那么请检查你的DBus设置，或者延长Fcitx的启动时间。如果你使用自定义的启动脚本，你可以参考[[Special:MyLanguage/Configure (Other)|配置 (其他)]]&lt;br /&gt;
&lt;br /&gt;
* 如果Fcitx没有默认选中，那么请先尝试选中它，并且立刻试试可否输入。如果不行，请参见上面一条。为了永久性的修复这个问题（默认选中 Fcitx ），请阅读[[Special:MyLanguage/Install and Configure|安装和配置]]中的配置部分。&lt;br /&gt;
&lt;br /&gt;
* 如果没有 Fcitx这项，那么请首先检查你的安装，你所需要的包名包含了fcitx和gtk。如果你是[[Special:MyLanguage/Compile from source|从源码编译的Fcitx]]，请确认你启用了GTK2，GTK3的输入法模块选项。如果你确认这点的话，请阅读[[Special:MyLanguage/Input method related environment variables|输入法相关的环境变量]]中的如何更新Gtk的缓存文件。&lt;br /&gt;
&lt;br /&gt;
* 如果你正在使用 Ubuntu，并且刚刚升级到 12.04，或者发生了什么不好的事情 (由于打包者的疏忽，或者有问题的包管理器无法按照正确顺序更新包，例如 pacman) 你可能会注意到 gtk.immodules 相关的文件并未在升级时正确生成。试试卸载{{package ubuntu|fcitx-frontend-gtk2}}, {{package ubuntu|fcitx-frontend-gtk3}} 或者你发行版对应的包，然后重新安装这两个包来触发文件的生成。然后重新检查输入法菜单里面是否有“Fcitx”。&lt;br /&gt;
&lt;br /&gt;
=== 所有Qt程序都有问题？ ===&lt;br /&gt;
* 运行qtconfig (名称可能根据你的发行版有所不同，他可能是 qtconfig-qt4 )，选择第三个标签，确认fcitx是在默认输入法组合框中。如果没有，请检查你的安装。&lt;br /&gt;
* 以上解决方案也可以类似解决XIM的问题，但我们强烈建议你使用输入法模块。参见 [[Special:MyLanguage/Input method related environment variables|输入法相关环境变量]]。&lt;br /&gt;
&lt;br /&gt;
=== 出问题是 Java，Xterm, wine 或者其他的非 Gtk/Qt 程序吗？ ===&lt;br /&gt;
在一些少见的情况，你可能在使用嵌入式Linux或者小型Linux发行版，而你必须使用XIM，X server可能缺少一些 locale 文件，这些文件通常需要被放在 /usr/share/X11/locale/ 下。&lt;br /&gt;
&lt;br /&gt;
并且当你必须使用 XIM 的时候，请确认你的 locale &#039;&#039;&#039;不能&#039;&#039;&#039;被设置为 C 或者 POSIX，并且需要被设置为一个可用的 locale （语言无所谓），并且如果你使用的是 glibc，你需要生成对应的locale的文件(locale-gen)。当你使用 im module 的时候，并无这个限制。&lt;br /&gt;
&lt;br /&gt;
=== 是否是一个使用自身 Qt 库的 Qt 程序？===&lt;br /&gt;
程序自带 Qt 库通常使用他们自己的插件目录，与系统的 Qt 不同。通常，Qt 和系统的 Qt 版本也不一样，这也将导致你直接复制 fcitx-qt 的文件过去也不能使用。但是你总是通过设置以下环境变量检查是否有加载复制的插件。&lt;br /&gt;
&lt;br /&gt;
 QT_DEBUG_PLUGINS=1 QT_LOGGING_RULES=&amp;quot;*.debug=true&amp;quot;&lt;br /&gt;
&lt;br /&gt;
And try to resolve all incompatible errors. Usually, ubuntu&#039;s fcitx-frontend-qt5 and libfcitxqt5-1 are good source for fcitx-qt5 build against specific qt version. For example, DraftSight 2017S0 [https://groups.google.com/forum/#!topic/fcitx/9e4TI39_4sk] may work with xenial&#039;s fcitx-qt5.&lt;br /&gt;
&lt;br /&gt;
=== Emacs ===&lt;br /&gt;
试试&lt;br /&gt;
&lt;br /&gt;
 LC_CTYPE=zh_CN.UTF-8 emacs&lt;br /&gt;
&lt;br /&gt;
别忘记检查你的 locale -a 确实包含了locale，参见 [[Special:MyLanguage/Input method related environment variables|输入法相关环境变量]]。&lt;br /&gt;
&lt;br /&gt;
Emacs 使用 `-*-*-*-r-normal--&amp;lt;字体大小&amp;gt;-*-*-*-*-*-*-*&#039; 作为基础字体 (于 src/xfns.c)，如果你没有匹配的字体，和输入法相关的代码将不会运行。安装某些字体包可能有帮助（在 Archlinux 上，xorg-fonts-misc 可能是正确的那个包，但你也可以试试别的 xorg-fonts-* 包。）。 &lt;br /&gt;
&lt;br /&gt;
== Firefox 中的 Google Docs 有问题 ==&lt;br /&gt;
&lt;br /&gt;
你也许想暂时关掉预编辑文本，默认快捷键为Ctrl+Alt+P。&lt;br /&gt;
&lt;br /&gt;
== 无法在 Flash 中使用 Fcitx ==&lt;br /&gt;
&lt;br /&gt;
请阅读 [[Special:MyLanguage/Hall of Shame for Linux IME Support|Linux输入法支持耻辱堂]]，并使用输入法模块。&lt;br /&gt;
&lt;br /&gt;
== 更新至新于 4.2.4 的版本之后，无法输入英文 ==&lt;br /&gt;
&lt;br /&gt;
请确认你将“[[Special:myLanguage/Keyboard|键盘]]”加入了输入法列表。你可以使用[[Special:myLanguage/Integrate with Desktop#Configuration tool|配置工具]]来修改和查看。&lt;br /&gt;
&lt;br /&gt;
并且你可能希望将“键盘”移至第一项。&lt;br /&gt;
&lt;br /&gt;
== 非预期的键盘布局变化 ==&lt;br /&gt;
&lt;br /&gt;
用[[Special:myLanguage/Integrate with Desktop#Configuration tool|配置工具]]来为特定的输入法绑定特定的键盘布局。&lt;br /&gt;
&lt;br /&gt;
== xmodmap 的设置被覆盖 ==&lt;br /&gt;
&lt;br /&gt;
Fcitx 现在可以控制键盘布局，并且在键盘布局切换时，xmodmap的设置将被覆盖。因此 fcitx-xkb 提供了一个选项来指定xmodmap脚本的位置，并且可以让fcitx来在键盘布局变化时加载这个配置。直接禁用 fcitx-xkb 也是一种选择，或者如果您的需求很简单，例如只是想交换 Caps Lock 和 Esc 的位置，部分选项可以由xkb选项来提供，您可以通过您桌面的键盘配置工具来设置这些选项 (Gnome 和 KDE 都支持这类配置)。&lt;br /&gt;
&lt;br /&gt;
选项具体的细节解释如下，xmodmap是一个非常底层的工具，并不了解键盘布局的设置，对X11来说，键盘布局是建立在一组预设文件上，当预设文件加载时，所有通过xmodmap加载的配置都将被覆盖，这并不是只针对fcitx而言如此，所有进行键盘布局设置的工具都是如此。Xkb 选项是一组可以按照预定义设置来修改键盘布局的选项，涵盖了绝大多数一般人想用xmodmap进行的设置，例如死键的位置，交换 Caps Lock 和 Esc 等等。除非您有特殊需求，推荐使用 xkb 布局和 xkb 选项。&lt;br /&gt;
&lt;br /&gt;
自 4.2.7 起，如果 ~/.Xmodmap 存在，Fcitx 将会尝试自动加载。&lt;br /&gt;
&lt;br /&gt;
== 配置用户界面，字体，纵向列表 ==&lt;br /&gt;
&lt;br /&gt;
使用[[Special:myLanguage/Integrate with Desktop#Configuration tool|配置工具]]，附加组件配置 -&amp;gt; 经典界面。&lt;br /&gt;
&lt;br /&gt;
如果您使用的 [[Special:myLanguage/Configtool|Gtk 配置工具]] 新于 0.4.5，或者 [[Special:myLanguage/Kcm|Kcm]] 新于 0.4.1，您可以直接在顶层标签配置界面。&lt;br /&gt;
&lt;br /&gt;
== GNOME 3.6 可能的问题 ==&lt;br /&gt;
&lt;br /&gt;
[[Note for GNOME Later than 3.6]]&lt;br /&gt;
&lt;br /&gt;
== [[Special:MyLanguage/ClassicUI|经典界面]]不透明 ==&lt;br /&gt;
&lt;br /&gt;
* 这个问题已经通过用不同的方式检测混成管理器而不在 4.2.6 之后的版本中存在了。 请先重启 Fcitx，如果这时没问题了，那么可能是你的窗口管理器的Bug。Gnome-Shell，xcompmgr 已知存在这样的Bug。你可以尝试延迟启动来绕过这个问题。&lt;br /&gt;
* 如果重启Fcitx没有解决这个问题，请检查你的窗口管理器是否支持混成，以及是否启用了混成。&lt;br /&gt;
=== Kwin ===&lt;br /&gt;
&lt;br /&gt;
启用桌面特效。&lt;br /&gt;
&lt;br /&gt;
=== Metacity before GNOME3 ===&lt;br /&gt;
&lt;br /&gt;
gconftool-2 -s --type bool /apps/metacity/general/compositing_manager true&lt;br /&gt;
=== Xfce ===&lt;br /&gt;
&lt;br /&gt;
支持混成，但需要手动启用。&lt;br /&gt;
=== Compiz ===&lt;br /&gt;
&lt;br /&gt;
0.9 系列可以禁用混成，你可以用ccsm来配置。&lt;br /&gt;
=== 其他窗口管理器 ===&lt;br /&gt;
&lt;br /&gt;
你可以用 xcompmgr， cairo-compmgr 来作为混成管理器。&lt;br /&gt;
&lt;br /&gt;
== Minecraft ==&lt;br /&gt;
&lt;br /&gt;
原版 Minecraft 在 Linux 下不支持输入，更糟的是，XIM 还和它的按键事件处理冲突，一个绕过的办法是，故意设置一个错误的环境变量然后启动它。你可以使用下面的脚本：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;#!/bin/sh&lt;br /&gt;
# set a wrong one&lt;br /&gt;
export XMODIFIERS=&amp;quot;@im=null&amp;quot;&lt;br /&gt;
# start minecraft, this might change depends on you&#039;re mod, but simply its what you ARE using to start minecraft.&lt;br /&gt;
java -Xmx1024M -Xms512M -cp minecraft.jar net.minecraft.LauncherFrame&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
这个方法也可以不想在一些 XIM 的程序下面用 fcitx 的时候使用。&lt;br /&gt;
&lt;br /&gt;
有一个名为 [http://forum.minecraftuser.jp/viewtopic.php?t=6279 NihongoMOD] 的 mod 可以在 Linux 下支持输入，1.2.2 和 minecraft 1.5.2 测试和 Fcitx 不需要 hack 就可以输入。&lt;br /&gt;
&lt;br /&gt;
== 在一般用户的 X 下 运行 Root 权限的程序 ==&lt;br /&gt;
以 Root 运行的程序在一般用户的 X 会话下总是有问题的（一般意义上，并不只针对 fcitx），这是因为 dbus 是一个仅限用户会话的进程。唯一在root程序中的办法使用 fcitx 的办法是通过 XIM，需要启动程序前设置 GTK_IM_MODULE=xim 和 QT_IM_MODULE=xim。&lt;br /&gt;
&lt;br /&gt;
= 光标跟随问题 =&lt;br /&gt;
一个常见的误解是由于输入法的问题导致无法光标跟随，但这是错的。光标跟随的原理是：程序将光标位置发送给输入法，输入法移动输入框。因此如果程序不发送位置的话，位置就会是错误的。这个行为是由程序控制的，而不是输入法。因此当你遇见任何问题的时候，请要求程序来修复这个问题，不要要求输入法做任何事。实际上，输入法做不了任何额外的事情。&lt;br /&gt;
&lt;br /&gt;
尽管可能存在一些能够绕过特定问题的办法，但是bug还是在程序而不是输入法中。&lt;br /&gt;
&lt;br /&gt;
* Opera，在 [[Special:MyLanguage/XIM|XIM]] 中启用 on the spot 。&lt;br /&gt;
* Firefox，启用预编辑文本。&lt;br /&gt;
&lt;br /&gt;
[[Category:How-to]]&lt;/div&gt;</summary>
		<author><name>MyTest2</name></author>
	</entry>
	<entry>
		<id>https://fcitx-im.org/index.php?title=Translations:FAQ/74/zh-hans&amp;diff=2364</id>
		<title>Translations:FAQ/74/zh-hans</title>
		<link rel="alternate" type="text/html" href="https://fcitx-im.org/index.php?title=Translations:FAQ/74/zh-hans&amp;diff=2364"/>
		<updated>2020-07-29T18:16:18Z</updated>

		<summary type="html">&lt;p&gt;MyTest2: Created page with &amp;quot;=== 是否是一个使用自身 Qt 库的 Qt 程序？=== 程序自带 Qt 库通常使用他们自己的插件目录，与系统的 Qt 不同。通常，Qt 和系统的 Qt 版...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== 是否是一个使用自身 Qt 库的 Qt 程序？===&lt;br /&gt;
程序自带 Qt 库通常使用他们自己的插件目录，与系统的 Qt 不同。通常，Qt 和系统的 Qt 版本也不一样，这也将导致你直接复制 fcitx-qt 的文件过去也不能使用。但是你总是通过设置以下环境变量检查是否有加载复制的插件。&lt;/div&gt;</summary>
		<author><name>MyTest2</name></author>
	</entry>
	<entry>
		<id>https://fcitx-im.org/index.php?title=Translations:FAQ/75/zh-hans&amp;diff=2363</id>
		<title>Translations:FAQ/75/zh-hans</title>
		<link rel="alternate" type="text/html" href="https://fcitx-im.org/index.php?title=Translations:FAQ/75/zh-hans&amp;diff=2363"/>
		<updated>2020-07-29T18:14:12Z</updated>

		<summary type="html">&lt;p&gt;MyTest2: Created page with &amp;quot;QT_DEBUG_PLUGINS=1 QT_LOGGING_RULES=&amp;quot;*.debug=true&amp;quot;&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;QT_DEBUG_PLUGINS=1 QT_LOGGING_RULES=&amp;quot;*.debug=true&amp;quot;&lt;/div&gt;</summary>
		<author><name>MyTest2</name></author>
	</entry>
	<entry>
		<id>https://fcitx-im.org/index.php?title=FAQ/zh-hans&amp;diff=2362</id>
		<title>FAQ/zh-hans</title>
		<link rel="alternate" type="text/html" href="https://fcitx-im.org/index.php?title=FAQ/zh-hans&amp;diff=2362"/>
		<updated>2020-07-29T18:14:05Z</updated>

		<summary type="html">&lt;p&gt;MyTest2: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;languages/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
当你抱怨输入法无法正常工作前，请先阅读这个页面。&lt;br /&gt;
&lt;br /&gt;
从 4.2.7 开始，Fcitx 提供了一个 fcitx-diagnose 的命令，它可以检测一些常见的问题并且给出一些建议。&lt;br /&gt;
&lt;br /&gt;
[[Special:MyLanguage/Hall of Shame for Linux IME Support|Linux 输入法支持耻辱堂]]&lt;br /&gt;
&lt;br /&gt;
== 使用 Ctrl + Space 时无法激活 Fcitx ==&lt;br /&gt;
&lt;br /&gt;
检查你所输入的程序。&lt;br /&gt;
&lt;br /&gt;
=== 这是唯一一个有问题的程序吗？ ===&lt;br /&gt;
** 最可能的原因是某个快捷键占用了 Ctrl Space，请修改另一个快捷键并重试。这常见于编辑器中，因为很多集成开发环境默认使用 Ctrl+Space 作为补全的快捷键。&lt;br /&gt;
&lt;br /&gt;
=== 所有 Gtk 程序都有问题？ === &lt;br /&gt;
* 请打开一个传统意义上的Gtk程序（所谓传统，就是它不应该是Firefox，Libreoffice这种仅仅是是使用Gtk样式作为界面的程序）。Gedit是一个不错的选择。右键点击输入框，将会弹出一个“输入法”菜单，请确认“Fcitx”被选中。&lt;br /&gt;
&lt;br /&gt;
* 如果菜单中确实有Fcitx，但是还是无法正常工作，请先尝试重新启动Fcitx，如果这次就可以工作了，那么请检查你的DBus设置，或者延长Fcitx的启动时间。如果你使用自定义的启动脚本，你可以参考[[Special:MyLanguage/Configure (Other)|配置 (其他)]]&lt;br /&gt;
&lt;br /&gt;
* 如果Fcitx没有默认选中，那么请先尝试选中它，并且立刻试试可否输入。如果不行，请参见上面一条。为了永久性的修复这个问题（默认选中 Fcitx ），请阅读[[Special:MyLanguage/Install and Configure|安装和配置]]中的配置部分。&lt;br /&gt;
&lt;br /&gt;
* 如果没有 Fcitx这项，那么请首先检查你的安装，你所需要的包名包含了fcitx和gtk。如果你是[[Special:MyLanguage/Compile from source|从源码编译的Fcitx]]，请确认你启用了GTK2，GTK3的输入法模块选项。如果你确认这点的话，请阅读[[Special:MyLanguage/Input method related environment variables|输入法相关的环境变量]]中的如何更新Gtk的缓存文件。&lt;br /&gt;
&lt;br /&gt;
* 如果你正在使用 Ubuntu，并且刚刚升级到 12.04，或者发生了什么不好的事情 (由于打包者的疏忽，或者有问题的包管理器无法按照正确顺序更新包，例如 pacman) 你可能会注意到 gtk.immodules 相关的文件并未在升级时正确生成。试试卸载{{package ubuntu|fcitx-frontend-gtk2}}, {{package ubuntu|fcitx-frontend-gtk3}} 或者你发行版对应的包，然后重新安装这两个包来触发文件的生成。然后重新检查输入法菜单里面是否有“Fcitx”。&lt;br /&gt;
&lt;br /&gt;
=== 所有Qt程序都有问题？ ===&lt;br /&gt;
* 运行qtconfig (名称可能根据你的发行版有所不同，他可能是 qtconfig-qt4 )，选择第三个标签，确认fcitx是在默认输入法组合框中。如果没有，请检查你的安装。&lt;br /&gt;
* 以上解决方案也可以类似解决XIM的问题，但我们强烈建议你使用输入法模块。参见 [[Special:MyLanguage/Input method related environment variables|输入法相关环境变量]]。&lt;br /&gt;
&lt;br /&gt;
=== 出问题是 Java，Xterm, wine 或者其他的非 Gtk/Qt 程序吗？ ===&lt;br /&gt;
在一些少见的情况，你可能在使用嵌入式Linux或者小型Linux发行版，而你必须使用XIM，X server可能缺少一些 locale 文件，这些文件通常需要被放在 /usr/share/X11/locale/ 下。&lt;br /&gt;
&lt;br /&gt;
并且当你必须使用 XIM 的时候，请确认你的 locale &#039;&#039;&#039;不能&#039;&#039;&#039;被设置为 C 或者 POSIX，并且需要被设置为一个可用的 locale （语言无所谓），并且如果你使用的是 glibc，你需要生成对应的locale的文件(locale-gen)。当你使用 im module 的时候，并无这个限制。&lt;br /&gt;
&lt;br /&gt;
=== Is it a Qt application that bundles its own Qt library? ===&lt;br /&gt;
Bundled Qt library usually uses theirs own plugin directory, which is different from system&#039;s Qt. And commonly, they are also using Qt different on system Qt, which will also make it incompatible if you simply copy the system fcitx-qt files. But anyway, you can start to check whether it loads your copied files with following environment variable.&lt;br /&gt;
&lt;br /&gt;
 QT_DEBUG_PLUGINS=1 QT_LOGGING_RULES=&amp;quot;*.debug=true&amp;quot;&lt;br /&gt;
&lt;br /&gt;
And try to resolve all incompatible errors. Usually, ubuntu&#039;s fcitx-frontend-qt5 and libfcitxqt5-1 are good source for fcitx-qt5 build against specific qt version. For example, DraftSight 2017S0 [https://groups.google.com/forum/#!topic/fcitx/9e4TI39_4sk] may work with xenial&#039;s fcitx-qt5.&lt;br /&gt;
&lt;br /&gt;
=== Emacs ===&lt;br /&gt;
试试&lt;br /&gt;
&lt;br /&gt;
 LC_CTYPE=zh_CN.UTF-8 emacs&lt;br /&gt;
&lt;br /&gt;
别忘记检查你的 locale -a 确实包含了locale，参见 [[Special:MyLanguage/Input method related environment variables|输入法相关环境变量]]。&lt;br /&gt;
&lt;br /&gt;
Emacs 使用 `-*-*-*-r-normal--&amp;lt;字体大小&amp;gt;-*-*-*-*-*-*-*&#039; 作为基础字体 (于 src/xfns.c)，如果你没有匹配的字体，和输入法相关的代码将不会运行。安装某些字体包可能有帮助（在 Archlinux 上，xorg-fonts-misc 可能是正确的那个包，但你也可以试试别的 xorg-fonts-* 包。）。 &lt;br /&gt;
&lt;br /&gt;
== Firefox 中的 Google Docs 有问题 ==&lt;br /&gt;
&lt;br /&gt;
你也许想暂时关掉预编辑文本，默认快捷键为Ctrl+Alt+P。&lt;br /&gt;
&lt;br /&gt;
== 无法在 Flash 中使用 Fcitx ==&lt;br /&gt;
&lt;br /&gt;
请阅读 [[Special:MyLanguage/Hall of Shame for Linux IME Support|Linux输入法支持耻辱堂]]，并使用输入法模块。&lt;br /&gt;
&lt;br /&gt;
== 更新至新于 4.2.4 的版本之后，无法输入英文 ==&lt;br /&gt;
&lt;br /&gt;
请确认你将“[[Special:myLanguage/Keyboard|键盘]]”加入了输入法列表。你可以使用[[Special:myLanguage/Integrate with Desktop#Configuration tool|配置工具]]来修改和查看。&lt;br /&gt;
&lt;br /&gt;
并且你可能希望将“键盘”移至第一项。&lt;br /&gt;
&lt;br /&gt;
== 非预期的键盘布局变化 ==&lt;br /&gt;
&lt;br /&gt;
用[[Special:myLanguage/Integrate with Desktop#Configuration tool|配置工具]]来为特定的输入法绑定特定的键盘布局。&lt;br /&gt;
&lt;br /&gt;
== xmodmap 的设置被覆盖 ==&lt;br /&gt;
&lt;br /&gt;
Fcitx 现在可以控制键盘布局，并且在键盘布局切换时，xmodmap的设置将被覆盖。因此 fcitx-xkb 提供了一个选项来指定xmodmap脚本的位置，并且可以让fcitx来在键盘布局变化时加载这个配置。直接禁用 fcitx-xkb 也是一种选择，或者如果您的需求很简单，例如只是想交换 Caps Lock 和 Esc 的位置，部分选项可以由xkb选项来提供，您可以通过您桌面的键盘配置工具来设置这些选项 (Gnome 和 KDE 都支持这类配置)。&lt;br /&gt;
&lt;br /&gt;
选项具体的细节解释如下，xmodmap是一个非常底层的工具，并不了解键盘布局的设置，对X11来说，键盘布局是建立在一组预设文件上，当预设文件加载时，所有通过xmodmap加载的配置都将被覆盖，这并不是只针对fcitx而言如此，所有进行键盘布局设置的工具都是如此。Xkb 选项是一组可以按照预定义设置来修改键盘布局的选项，涵盖了绝大多数一般人想用xmodmap进行的设置，例如死键的位置，交换 Caps Lock 和 Esc 等等。除非您有特殊需求，推荐使用 xkb 布局和 xkb 选项。&lt;br /&gt;
&lt;br /&gt;
自 4.2.7 起，如果 ~/.Xmodmap 存在，Fcitx 将会尝试自动加载。&lt;br /&gt;
&lt;br /&gt;
== 配置用户界面，字体，纵向列表 ==&lt;br /&gt;
&lt;br /&gt;
使用[[Special:myLanguage/Integrate with Desktop#Configuration tool|配置工具]]，附加组件配置 -&amp;gt; 经典界面。&lt;br /&gt;
&lt;br /&gt;
如果您使用的 [[Special:myLanguage/Configtool|Gtk 配置工具]] 新于 0.4.5，或者 [[Special:myLanguage/Kcm|Kcm]] 新于 0.4.1，您可以直接在顶层标签配置界面。&lt;br /&gt;
&lt;br /&gt;
== GNOME 3.6 可能的问题 ==&lt;br /&gt;
&lt;br /&gt;
[[Note for GNOME Later than 3.6]]&lt;br /&gt;
&lt;br /&gt;
== [[Special:MyLanguage/ClassicUI|经典界面]]不透明 ==&lt;br /&gt;
&lt;br /&gt;
* 这个问题已经通过用不同的方式检测混成管理器而不在 4.2.6 之后的版本中存在了。 请先重启 Fcitx，如果这时没问题了，那么可能是你的窗口管理器的Bug。Gnome-Shell，xcompmgr 已知存在这样的Bug。你可以尝试延迟启动来绕过这个问题。&lt;br /&gt;
* 如果重启Fcitx没有解决这个问题，请检查你的窗口管理器是否支持混成，以及是否启用了混成。&lt;br /&gt;
=== Kwin ===&lt;br /&gt;
&lt;br /&gt;
启用桌面特效。&lt;br /&gt;
&lt;br /&gt;
=== Metacity before GNOME3 ===&lt;br /&gt;
&lt;br /&gt;
gconftool-2 -s --type bool /apps/metacity/general/compositing_manager true&lt;br /&gt;
=== Xfce ===&lt;br /&gt;
&lt;br /&gt;
支持混成，但需要手动启用。&lt;br /&gt;
=== Compiz ===&lt;br /&gt;
&lt;br /&gt;
0.9 系列可以禁用混成，你可以用ccsm来配置。&lt;br /&gt;
=== 其他窗口管理器 ===&lt;br /&gt;
&lt;br /&gt;
你可以用 xcompmgr， cairo-compmgr 来作为混成管理器。&lt;br /&gt;
&lt;br /&gt;
== Minecraft ==&lt;br /&gt;
&lt;br /&gt;
原版 Minecraft 在 Linux 下不支持输入，更糟的是，XIM 还和它的按键事件处理冲突，一个绕过的办法是，故意设置一个错误的环境变量然后启动它。你可以使用下面的脚本：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;#!/bin/sh&lt;br /&gt;
# set a wrong one&lt;br /&gt;
export XMODIFIERS=&amp;quot;@im=null&amp;quot;&lt;br /&gt;
# start minecraft, this might change depends on you&#039;re mod, but simply its what you ARE using to start minecraft.&lt;br /&gt;
java -Xmx1024M -Xms512M -cp minecraft.jar net.minecraft.LauncherFrame&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
这个方法也可以不想在一些 XIM 的程序下面用 fcitx 的时候使用。&lt;br /&gt;
&lt;br /&gt;
有一个名为 [http://forum.minecraftuser.jp/viewtopic.php?t=6279 NihongoMOD] 的 mod 可以在 Linux 下支持输入，1.2.2 和 minecraft 1.5.2 测试和 Fcitx 不需要 hack 就可以输入。&lt;br /&gt;
&lt;br /&gt;
== 在一般用户的 X 下 运行 Root 权限的程序 ==&lt;br /&gt;
以 Root 运行的程序在一般用户的 X 会话下总是有问题的（一般意义上，并不只针对 fcitx），这是因为 dbus 是一个仅限用户会话的进程。唯一在root程序中的办法使用 fcitx 的办法是通过 XIM，需要启动程序前设置 GTK_IM_MODULE=xim 和 QT_IM_MODULE=xim。&lt;br /&gt;
&lt;br /&gt;
= 光标跟随问题 =&lt;br /&gt;
一个常见的误解是由于输入法的问题导致无法光标跟随，但这是错的。光标跟随的原理是：程序将光标位置发送给输入法，输入法移动输入框。因此如果程序不发送位置的话，位置就会是错误的。这个行为是由程序控制的，而不是输入法。因此当你遇见任何问题的时候，请要求程序来修复这个问题，不要要求输入法做任何事。实际上，输入法做不了任何额外的事情。&lt;br /&gt;
&lt;br /&gt;
尽管可能存在一些能够绕过特定问题的办法，但是bug还是在程序而不是输入法中。&lt;br /&gt;
&lt;br /&gt;
* Opera，在 [[Special:MyLanguage/XIM|XIM]] 中启用 on the spot 。&lt;br /&gt;
* Firefox，启用预编辑文本。&lt;br /&gt;
&lt;br /&gt;
[[Category:How-to]]&lt;/div&gt;</summary>
		<author><name>MyTest2</name></author>
	</entry>
	<entry>
		<id>https://fcitx-im.org/index.php?title=Translations:FAQ/70/zh-hans&amp;diff=2361</id>
		<title>Translations:FAQ/70/zh-hans</title>
		<link rel="alternate" type="text/html" href="https://fcitx-im.org/index.php?title=Translations:FAQ/70/zh-hans&amp;diff=2361"/>
		<updated>2020-07-29T18:14:05Z</updated>

		<summary type="html">&lt;p&gt;MyTest2: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Emacs 使用 `-*-*-*-r-normal--&amp;lt;字体大小&amp;gt;-*-*-*-*-*-*-*&#039; 作为基础字体 (于 src/xfns.c)，如果你没有匹配的字体，和输入法相关的代码将不会运行。安装某些字体包可能有帮助（在 Archlinux 上，xorg-fonts-misc 可能是正确的那个包，但你也可以试试别的 xorg-fonts-* 包。）。&lt;/div&gt;</summary>
		<author><name>MyTest2</name></author>
	</entry>
	<entry>
		<id>https://fcitx-im.org/index.php?title=FAQ&amp;diff=2358</id>
		<title>FAQ</title>
		<link rel="alternate" type="text/html" href="https://fcitx-im.org/index.php?title=FAQ&amp;diff=2358"/>
		<updated>2020-07-29T18:11:52Z</updated>

		<summary type="html">&lt;p&gt;MyTest2: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;languages/&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:1--&amp;gt;&lt;br /&gt;
When you want to complain about input method cannot work correctly, please read this first.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:72--&amp;gt;&lt;br /&gt;
Since 4.2.7, fcitx provides a command called fcitx-diagnose, it will try to detect some common problem and give some advice.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:2--&amp;gt;&lt;br /&gt;
[[Special:MyLanguage/Hall of Shame for Linux IME Support|Hall of Shame for Linux IME Support]]&lt;br /&gt;
&lt;br /&gt;
== When use Ctrl + Space, Fcitx cannot be triggered on == &amp;lt;!--T:3--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:37--&amp;gt;&lt;br /&gt;
Check the application you want to type.&lt;br /&gt;
&lt;br /&gt;
=== Only one specific app has problem? === &amp;lt;!--T:61--&amp;gt;&lt;br /&gt;
* The most possible reason for this is Ctrl+Space occupied by some hotkey, please change to another trigger key and try again. This usually happens in some editor, since many ide use Ctrl+Space as default key binding for Completion.&lt;br /&gt;
&lt;br /&gt;
=== All Gtk Apps have problem? === &amp;lt;!--T:62--&amp;gt;&lt;br /&gt;
* Please open a traditional Gtk App (traditional Gtk App means, it cannot be Firefox, Libreoffice, which only use Gtk as a UI style). Gedit is a good choice. Right click at the input box, there will be a menu named &amp;quot;Input Method&amp;quot;, please make sure there is &amp;quot;Fcitx&amp;quot; in it and being choosed.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:63--&amp;gt;&lt;br /&gt;
* If there is &amp;quot;Fcitx&amp;quot;, but it still not works. Please try to restart Fcitx, if it will works at this time, please check your DBus settings, or make Fcitx start later. You can read [[Special:MyLanguage/Configure (Other)|Configure (Other)]] if you&#039;re using a custom startup script.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:64--&amp;gt;&lt;br /&gt;
* If there is Fcitx but not being choosed by default, and please select it and you can immediately try again in this app. If not works, please read the entry above. For permanent fix (To use Fcitx by default), please read Configure part in [[Special:MyLanguage/Install And Configure|Install And Configure]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:65--&amp;gt;&lt;br /&gt;
* If there is no Fcitx, you should check your install first. Usually, the package name contains fcitx and gtk. If you [[Special:MyLanguage/Compile from source|compile fcitx from source]], please make sure you have enable GTK{2,3}_IM_MODULE option. If you&#039;re sure about this, please read [[Special:MyLanguage/Input method related environment variables|Input method related environment variables]] for how to update some cached file for gtk.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:38--&amp;gt;&lt;br /&gt;
* If you are using Ubuntu and upgrade to 12.04 recently, or something werid happens to your system (Due to packager careless, or buggy package manager which can not do upgrade in correct order, for example, [https://bugs.archlinux.org/task/32764 pacman]), you might notice that gtk.immodules related files doesn&#039;t generate correctly during upgrade. Try uninstall {{package ubuntu|fcitx-frontend-gtk2}}, {{package ubuntu|fcitx-frontend-gtk3}} or coressponding package on your system and re-install them to trigger the file generate. Then recheck the input method menu to see whether it have &amp;quot;Fcitx&amp;quot; in the menu or not.&lt;br /&gt;
&lt;br /&gt;
=== All Qt Apps have problem? === &amp;lt;!--T:66--&amp;gt;&lt;br /&gt;
* Run qtconfig (might have different name on your distribution, it might be qtconfig-qt4), and go to the third tab, make sure fcitx is in the &amp;quot;Default Input Method&amp;quot; combo-box. If not, please check your install.&lt;br /&gt;
* Above solution can also applies if you want use XIM, but still we highly recommend you to use im module. See Also [[Special:MyLanguage/Input method related environment variables|Input method related environment variables]].&lt;br /&gt;
&lt;br /&gt;
=== Is it Java, Xterm, wine, or some other non-Gtk/Qt Application? === &amp;lt;!--T:39--&amp;gt;&lt;br /&gt;
There are also some very rare case, that you&#039;re using a embedded linux or mini-linux distro, in which you must use XIM, the X server might missing some locale file. The file is usually needed to be under /usr/share/X11/locale/.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:40--&amp;gt;&lt;br /&gt;
And When you must use XIM, please make sure, your locale &#039;&#039;&#039;must NOT&#039;&#039;&#039; be C or POSIX and need to be a valid locale (no matter which language), and need to be generated if you are using glibc (locale-gen). When you are using im module, there is no such limitation.&lt;br /&gt;
&lt;br /&gt;
=== Is it a Qt application that bundles its own Qt library? === &amp;lt;!--T:74--&amp;gt;&lt;br /&gt;
Bundled Qt library usually uses theirs own plugin directory, which is different from system&#039;s Qt. And commonly, they are also using Qt different on system Qt, which will also make it incompatible if you simply copy the system fcitx-qt files. But anyway, you can start to check whether it loads your copied files with following environment variable.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;!--T:75--&amp;gt;&lt;br /&gt;
QT_DEBUG_PLUGINS=1 QT_LOGGING_RULES=&amp;quot;*.debug=true&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:76--&amp;gt;&lt;br /&gt;
And try to resolve all incompatible errors. Usually, ubuntu&#039;s fcitx-frontend-qt5 and libfcitxqt5-1 are good source for fcitx-qt5 build against specific qt version. For example, DraftSight 2017S0 [https://groups.google.com/forum/#!topic/fcitx/9e4TI39_4sk] may work with xenial&#039;s fcitx-qt5.&lt;br /&gt;
&lt;br /&gt;
=== Emacs === &amp;lt;!--T:67--&amp;gt;&lt;br /&gt;
Try&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;!--T:68--&amp;gt;&lt;br /&gt;
LC_CTYPE=zh_CN.UTF-8 emacs&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:69--&amp;gt;&lt;br /&gt;
Don&#039;t forget to check your locale -a contains that. See also [[Special:MyLanguage/Input method related environment variables|Input method related environment variables]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:70--&amp;gt;&lt;br /&gt;
Emacs will use `-*-*-*-r-normal--&amp;lt;some font size&amp;gt;-*-*-*-*-*-*-*&#039; as basefont(in src/xfns.c), if you do not have one matched, the code for input method won&#039;t run. Install some font package may help (On Archlinux, xorg-fonts-misc might be the right package but you can also try other xorg-fonts-* package.). &lt;br /&gt;
&lt;br /&gt;
== Problem in Firefox and Google Docs == &amp;lt;!--T:4--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:41--&amp;gt;&lt;br /&gt;
You might want to toggle preedit off temporarily, which is Ctrl+Alt+P.&lt;br /&gt;
&lt;br /&gt;
== Cannot use Fcitx in flash == &amp;lt;!--T:5--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:42--&amp;gt;&lt;br /&gt;
Please read [[Special:MyLanguage/Hall of Shame for Linux IME Support|Hall of Shame for Linux IME Support]], and use im module.&lt;br /&gt;
&lt;br /&gt;
== Cannot type English after updating to fcitx newer than 4.2.4 == &amp;lt;!--T:6--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:43--&amp;gt;&lt;br /&gt;
Make sure you have add &amp;quot;[[Special:myLanguage/Keyboard|Keyboard]]&amp;quot; to the input method list. You can use [[Special:myLanguage/Integrate with Desktop#Configuration tool|Configuration tool]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:44--&amp;gt;&lt;br /&gt;
And you may want to move &amp;quot;Keyboard&amp;quot; to the first one.&lt;br /&gt;
&lt;br /&gt;
== Unexpected keyboard layout change == &amp;lt;!--T:7--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:45--&amp;gt;&lt;br /&gt;
Use [[Special:myLanguage/Integrate with Desktop#Configuration tool|Configuration tool]], to bind specific keyboard layout to the specific input method.&lt;br /&gt;
&lt;br /&gt;
== xmodmap settings being overwritten == &amp;lt;!--T:8--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:46--&amp;gt;&lt;br /&gt;
Fcitx now control keyboard layout and when switch layout, xmodmap setting will be overwritten. So fcitx-xkb provides an option to specify the xmodmap script and let fcitx loads it for you whenever keyboard layout changes. Or disable fcitx-xkb addon is also a solution for you, or if your requirement is simply, for example, switching Caps Lock and Esc, which is provided by xkb option, you can just set it with your desktop keyboard configuration tool (Gnome and KDE all support such configuration).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:47--&amp;gt;&lt;br /&gt;
For more detailed explanation, xmodmap is a very low level tool, that doesn&#039;t aware keyboard layout. For X11, keyboard layout is built on a set of profile, when such profile is loaded, anything you changed with xmodmap will be overwritten, this isn&#039;t specific to fcitx, but all tool that support keyboard layout configuration. Xkb option is a set of profile that can do some pre-defined change over keyboard layout, including many thing that people usually do with xmodmap, for example, defining where dead key is, switching Caps Lock and Esc, and so on. Unless you have special requirements, xkb layout and xkb option is recommended.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:71--&amp;gt;&lt;br /&gt;
Since 4.2.7, Fcitx will try to load ~/.Xmodmap if it exists.&lt;br /&gt;
&lt;br /&gt;
== Configure user interface, font, vertical list == &amp;lt;!--T:9--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:48--&amp;gt;&lt;br /&gt;
Use [[Special:myLanguage/Integrate with Desktop#Configuration tool|Configuration tool]], Addon Configuration -&amp;gt; Classic UI.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:49--&amp;gt;&lt;br /&gt;
If you are using [[Special:myLanguage/Configtool|fcitx-configtool]] newer than 0.4.5 or [[Special:myLanguage/Kcm|kcm-fcitx]] newer 0.4.1, you can directly configure those from the first level tab.&lt;br /&gt;
&lt;br /&gt;
== Possible issue for GNOME 3.6 == &amp;lt;!--T:10--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:50--&amp;gt;&lt;br /&gt;
[[Note for GNOME Later than 3.6]]&lt;br /&gt;
&lt;br /&gt;
== [[Special:MyLanguage/ClassicUI|Classic UI]] is not transparent == &amp;lt;!--T:11--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* This problem might NOT exist any more since 4.2.6 with a different approach for detect composite manager.&lt;br /&gt;
* Restart Fcitx first, if it&#039;s ok then, it might be a bug in your Window manager. Gnome-Shell, xcompmgr is known to have this bug. You can try to set the delay start to walkaround this problem.&lt;br /&gt;
* If restart Fcitx doesn&#039;t solve this problem, you should check whether your window manager supports composite or it&#039;s enabled or not.&lt;br /&gt;
=== Kwin === &amp;lt;!--T:51--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Enable desktop effects.&lt;br /&gt;
=== Metacity before GNOME3 === &amp;lt;!--T:52--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
gconftool-2 -s --type bool /apps/metacity/general/compositing_manager true&lt;br /&gt;
=== Xfce === &amp;lt;!--T:53--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Xfwm support composite, but need to be enabled by hand.&lt;br /&gt;
=== Compiz === &amp;lt;!--T:54--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
0.9 series compiz can disable composite. You can use ccsm to configure it.&lt;br /&gt;
=== Other window manager === &amp;lt;!--T:55--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:56--&amp;gt;&lt;br /&gt;
You can use xcompmgr, cairo-compmgr as composite manager for them.&lt;br /&gt;
&lt;br /&gt;
== Minecraft == &amp;lt;!--T:12--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:34--&amp;gt;&lt;br /&gt;
Original Minecraft under linux doesn&#039;t support input method, what make it worse is, XIM will conflict with its key event processing, one way to work around is, set a wrong environment variable on purpose for minecraft, then start up it. You can use following script to do that&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:35--&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;#!/bin/sh&lt;br /&gt;
# set a wrong one&lt;br /&gt;
export XMODIFIERS=&amp;quot;@im=null&amp;quot;&lt;br /&gt;
# start minecraft, this might change depends on you&#039;re mod, but simply its what you ARE using to start minecraft.&lt;br /&gt;
java -Xmx1024M -Xms512M -cp minecraft.jar net.minecraft.LauncherFrame&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:58--&amp;gt;&lt;br /&gt;
This way can be also used, if you don&#039;t want fcitx to work on some application which is using XIM.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:73--&amp;gt;&lt;br /&gt;
There is a mod can be used to support input under Linux, called [http://forum.minecraftuser.jp/viewtopic.php?t=6279 NihongoMOD], 1.2.2 with minecraft 1.5.2 can work with Fcitx without upper hack.&lt;br /&gt;
&lt;br /&gt;
== Root application under normal user X == &amp;lt;!--T:57--&amp;gt;&lt;br /&gt;
Root application under X normal user session is always broken (in general, not specific to fcitx), due to the fact that dbus is a user session only process. The only way to type in root application with normal fcitx is to use XIM, set GTK_IM_MODULE=xim and QT_IM_MODULE=xim before you start your application.&lt;br /&gt;
&lt;br /&gt;
== Cursor Following problem == &amp;lt;!--T:13--&amp;gt;&lt;br /&gt;
There is a common misunderstanding that it&#039;s input method&#039;s fault that input window could not follow the cursor, which is simply wrong. This is how cursor following works: Application send the position to Input method, then input method move the input window. So if application do not send the position, the position would be wrong. This behavior is controlled by application, but not input method. So if you meet any problem, please ask application to fix it, don&#039;t ask input method to do anything. Actually, input method could do nothing with this.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:59--&amp;gt;&lt;br /&gt;
Although there is some walkaround for specific problem, bug is still in application, not in input method.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:60--&amp;gt;&lt;br /&gt;
* Opera, enable on the spot for [[Special:MyLanguage/XIM|XIM]].&lt;br /&gt;
* Firefox, enable preedit.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:14--&amp;gt;&lt;br /&gt;
[[Category:How-to]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;/div&gt;</summary>
		<author><name>MyTest2</name></author>
	</entry>
	<entry>
		<id>https://fcitx-im.org/index.php?title=Translations:Configure_(Other)/28/zh-hans&amp;diff=2357</id>
		<title>Translations:Configure (Other)/28/zh-hans</title>
		<link rel="alternate" type="text/html" href="https://fcitx-im.org/index.php?title=Translations:Configure_(Other)/28/zh-hans&amp;diff=2357"/>
		<updated>2020-07-22T16:34:09Z</updated>

		<summary type="html">&lt;p&gt;MyTest2: Created page with &amp;quot;dbus-launch --sh-syntax --exit-with-session &amp;gt; /dev/null&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;dbus-launch --sh-syntax --exit-with-session &amp;gt; /dev/null&lt;/div&gt;</summary>
		<author><name>MyTest2</name></author>
	</entry>
	<entry>
		<id>https://fcitx-im.org/index.php?title=Configure_(Other)/zh-hans&amp;diff=2356</id>
		<title>Configure (Other)/zh-hans</title>
		<link rel="alternate" type="text/html" href="https://fcitx-im.org/index.php?title=Configure_(Other)/zh-hans&amp;diff=2356"/>
		<updated>2020-07-22T16:33:55Z</updated>

		<summary type="html">&lt;p&gt;MyTest2: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;languages/&amp;gt;&lt;br /&gt;
== 配置环境变量 ==&lt;br /&gt;
除了Ubuntu、Debian、Fedora、OpenSUSE外的其他发行版没有可以配置fcitx所需环境变量的工具。&lt;br /&gt;
&lt;br /&gt;
{{warning|注意! 设置环境变量对一般用户来说是很难理解的，并可能会和发行版内置的工具冲突。}}&lt;br /&gt;
&lt;br /&gt;
如果要尽量简单的说明怎样设置的话，如果你在使用一个图形化的界面来进行用户名的输入并登录，你需要添加&lt;br /&gt;
&lt;br /&gt;
 GTK_IM_MODULE=fcitx&lt;br /&gt;
 QT_IM_MODULE=fcitx&lt;br /&gt;
 XMODIFIERS=@im=fcitx&lt;br /&gt;
&lt;br /&gt;
到你的 ~/.xprofile (X11)，~/.bash_profile (bash shell)，或者 ~/.profile (在一些情况下如果 bash_profile 存在它将不会被读取)。这是一个隐藏文件，因为文件名由“点”开头。您可以用任意编辑器打开编辑它，例如gedit，kwrite，vim，emacs。&lt;br /&gt;
&lt;br /&gt;
并且确认，当你打开任意gtk程序的时候，在一个输入框点击鼠标右键，在输入法菜单中有一个fcitx的项目，例如&lt;br /&gt;
&lt;br /&gt;
[[File:GtkInputMethodMenu.png]]&lt;br /&gt;
&lt;br /&gt;
并且确认当你打开任意qt程序时，右键点击任意输入框，将有一项fcitx在输入法菜单中，例如&lt;br /&gt;
&lt;br /&gt;
[[File:QtInputMethod.png]]&lt;br /&gt;
&lt;br /&gt;
如果你还未注销并重新登录，那么这项并不需要被选中，但你重新登录之后请确认这项被默认选中。&lt;br /&gt;
&lt;br /&gt;
=== 进阶 ===&lt;br /&gt;
如果你能完成以上步骤，你不需要在意下面的内容。&lt;br /&gt;
&lt;br /&gt;
fcitx能使用XIM或者其自带的DBus模块与输入程序通信。为了在GTK2/3和Qt程序中提供更好的体验，fcitx从4.1开始包含GTK和Qt的原生输入法模块。强烈推荐使用原生的输入法模块来代替XIM，因为这样能避免无法解决的问题。&lt;br /&gt;
&lt;br /&gt;
有很多设置环境变量的地方。这取决于您如何启动您的图形化显示服务器。&lt;br /&gt;
&lt;br /&gt;
需要以下内容。&lt;br /&gt;
&lt;br /&gt;
 export GTK_IM_MODULE=fcitx # or xim&lt;br /&gt;
 export QT_IM_MODULE=fcitx # or xim&lt;br /&gt;
 export XMODIFIERS=@im=fcitx&lt;br /&gt;
&lt;br /&gt;
=== 使用GDM/KDM/LightDM /Slim (会话模式)===&lt;br /&gt;
~/.pam_environment 是最好的选择因为它可以同时作用于 X 和 Wayland (如果不存在则新建一个)。有些人也许会喜欢 ~/.profile (无论你什么时候登录都工作)，或者/etc/profile (全局配置文件)。&lt;br /&gt;
&lt;br /&gt;
=== 使用Slim(~/.xinitrc)/startx ===&lt;br /&gt;
在这种情况下，您启动时会使用 ~/.xinitrc ，您也需要将上面那些内容放入~/.xinitrc。由于您需要使用DBus(输入法模块和kimpanel需要)，您也许想要添加下面的：&lt;br /&gt;
&lt;br /&gt;
 eval `dbus-launch --sh-syntax --exit-with-session`&lt;br /&gt;
&lt;br /&gt;
要先确保DBus正确初始化了。&lt;br /&gt;
&lt;br /&gt;
使用较新的 slim 时，你也许需要加入：&lt;br /&gt;
&lt;br /&gt;
 dbus-launch --sh-syntax --exit-with-session &amp;gt; /dev/null&lt;br /&gt;
&lt;br /&gt;
=== 其他环境 ===&lt;br /&gt;
也许您在用vncserver或者其他什么的，您需要找出您的启动脚本，比如 vncserver用的是~/.vnc/xstartup。用~/.xinitrc一样的配置来配置它。&lt;br /&gt;
&lt;br /&gt;
== 自动启动 ==&lt;br /&gt;
对于 ~/.xinitrc，您可以将fcitx写入您的 ~/.xinitrc。fcitx会自动作为后台进程运行，所以不需要用fcitx &amp;amp; 来启动。&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
如果您在用[http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html XDG]兼容桌面，比如Gnome，KDE，LXDE，Xfce，您可以运行&lt;br /&gt;
&lt;br /&gt;
 cp /usr/share/applications/fcitx.desktop ~/.config/autostart/fcitx.desktop&lt;br /&gt;
&lt;br /&gt;
来使fcitx自动启动。您也可以用您桌面环境提供的工具来自动启动fcitx。&lt;br /&gt;
&lt;br /&gt;
== 参见 ==&lt;br /&gt;
[[Special:myLanguage/Input method related environment variables|输入法相关环境变量]]&lt;br /&gt;
&lt;br /&gt;
[[Category:How-to]]&lt;/div&gt;</summary>
		<author><name>MyTest2</name></author>
	</entry>
	<entry>
		<id>https://fcitx-im.org/index.php?title=Translations:Configure_(Other)/20/zh-hans&amp;diff=2355</id>
		<title>Translations:Configure (Other)/20/zh-hans</title>
		<link rel="alternate" type="text/html" href="https://fcitx-im.org/index.php?title=Translations:Configure_(Other)/20/zh-hans&amp;diff=2355"/>
		<updated>2020-07-22T16:33:55Z</updated>

		<summary type="html">&lt;p&gt;MyTest2: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;到你的 ~/.xprofile (X11)，~/.bash_profile (bash shell)，或者 ~/.profile (在一些情况下如果 bash_profile 存在它将不会被读取)。这是一个隐藏文件，因为文件名由“点”开头。您可以用任意编辑器打开编辑它，例如gedit，kwrite，vim，emacs。&lt;/div&gt;</summary>
		<author><name>MyTest2</name></author>
	</entry>
	<entry>
		<id>https://fcitx-im.org/index.php?title=Configure_(Other)&amp;diff=2351</id>
		<title>Configure (Other)</title>
		<link rel="alternate" type="text/html" href="https://fcitx-im.org/index.php?title=Configure_(Other)&amp;diff=2351"/>
		<updated>2020-07-22T16:31:54Z</updated>

		<summary type="html">&lt;p&gt;MyTest2: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;languages/&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
== Setup environment variables == &amp;lt;!--T:1--&amp;gt;&lt;br /&gt;
In spite of Ubuntu, Debian, Fedora, OpenSUSE, other distribution don&#039;t have utils to help to setup required environment variable.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:17--&amp;gt;&lt;br /&gt;
{{warning|Notice! Setting environment variable is hard for normal user to understand what are they for, and may conflicts with normal settings with distribution built-in tool.}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:18--&amp;gt;&lt;br /&gt;
To explain it as easy as possible how this works. That is, if you are using a graphical GUI to type user name, or to login, you will need to add&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:19--&amp;gt;&lt;br /&gt;
 GTK_IM_MODULE=fcitx&lt;br /&gt;
 QT_IM_MODULE=fcitx&lt;br /&gt;
 XMODIFIERS=@im=fcitx&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:20--&amp;gt;&lt;br /&gt;
to ~/.xprofile (X11), ~/.bash_profile (bash shell), or ~/.profile (under certain case it won&#039;t be read if .bash_profile presents). It will be a hidden file, since the file name starts with dot. You may use any editor, like gedit, kwrite, vim, emacs to edit it.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:21--&amp;gt;&lt;br /&gt;
And make sure, if you open any gtk application, and right click on an input field, there is an item for fcitx in Input Method Menu, like&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:22--&amp;gt;&lt;br /&gt;
[[File:GtkInputMethodMenu.png]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:23--&amp;gt;&lt;br /&gt;
And make sure if you open any qt application, and right click on an input field, there is also an item named in input method menu, like&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:24--&amp;gt;&lt;br /&gt;
[[File:QtInputMethod.png]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:25--&amp;gt;&lt;br /&gt;
It doesn&#039;t have to be selected if you haven&#039;t logout and re-login to make your setting effects, but you need to make sure they are selected after you change the setting and re-login.&lt;br /&gt;
&lt;br /&gt;
=== Advance === &amp;lt;!--T:26--&amp;gt;&lt;br /&gt;
If you can complete the step above, you don&#039;t need to bother following description.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:2--&amp;gt;&lt;br /&gt;
Fcitx can use XIM or Fcitx&#039;s own DBus protocol to communicate with input program. Since 4.1, Fcitx provides GTK2/3 and Qt4 input method module, in order to provides better experience in those application, it&#039;s highly recommended to use im module instead of XIM, in order to avoid unresolvable problem.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:3--&amp;gt;&lt;br /&gt;
There are several places to setup environment variable. It depends on how you start up your Display Server.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:4--&amp;gt;&lt;br /&gt;
Requires following lines.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:5--&amp;gt;&lt;br /&gt;
 export GTK_IM_MODULE=fcitx # or xim&lt;br /&gt;
 export QT_IM_MODULE=fcitx # or xim&lt;br /&gt;
 export XMODIFIERS=@im=fcitx&lt;br /&gt;
&lt;br /&gt;
=== Use GDM/KDM/LightDM/Slim (Session Mode) === &amp;lt;!--T:6--&amp;gt;&lt;br /&gt;
~/.pam_enivironment is the best choice because it works for both X and Wayland (If not exists, create a new one).&lt;br /&gt;
&lt;br /&gt;
=== Use Slim (~/.xinitrc)/startx === &amp;lt;!--T:7--&amp;gt;&lt;br /&gt;
In that case, you are using ~/.xinitrc to startup, you also need those lines in your ~/.xinitrc. And depends on you use DBus (im module and kimpanel need it), you might want to add&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;!--T:8--&amp;gt;&lt;br /&gt;
eval `dbus-launch --sh-syntax --exit-with-session`&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:9--&amp;gt;&lt;br /&gt;
At the head, to make sure DBus correctly initialized.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:27--&amp;gt;&lt;br /&gt;
With newer slim, you may need this instead:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;!--T:28--&amp;gt;&lt;br /&gt;
dbus-launch --sh-syntax --exit-with-session &amp;gt; /dev/null&lt;br /&gt;
&lt;br /&gt;
=== Other environment === &amp;lt;!--T:10--&amp;gt;&lt;br /&gt;
Maybe you are using vncserver, or something else, you need to figure out your start script, for example, vncserver use ~/.vnc/xstartup. Treat it similar with ~/.xinitrc.&lt;br /&gt;
&lt;br /&gt;
== Autostart == &amp;lt;!--T:11--&amp;gt;&lt;br /&gt;
For ~/.xinitrc, you can put fcitx to your ~/.xinitrc. Fcitx will run as daemon by default, so no need to use fcitx &amp;amp; to start it.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:12--&amp;gt;&lt;br /&gt;
If you running a [http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html XDG] compatible desktop, for example, Gnome, KDE, LXDE, Xfce, you can run&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;!--T:13--&amp;gt;&lt;br /&gt;
cp /usr/share/applications/fcitx.desktop ~/.config/autostart/fcitx.desktop&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:14--&amp;gt;&lt;br /&gt;
To add fcitx to your autostart. You can also use tool provided by your desktop to do the same thing.&lt;br /&gt;
&lt;br /&gt;
== See also == &amp;lt;!--T:15--&amp;gt;&lt;br /&gt;
[[Special:myLanguage/Input method related environment variables|Input method related environment variables]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:16--&amp;gt;&lt;br /&gt;
[[Category:How-to]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;/div&gt;</summary>
		<author><name>MyTest2</name></author>
	</entry>
</feed>