archlinux更新fcitx后无法切换到无输入法状态

2012-11-23 20:43:19 +08:00
 hit9
我的配置

```
[Program]
# Seconds sleep before fcitx really start
DelayStart=0
# Share State Among Window
# Available Value:
# No All PerProgram
ShareStateAmongWindow=No
# Default Input Method State
# Available Value:
# Close Inactive Active
DefaultInputMethodState=Close
# It's the first time Fcitx Start.
# Available Value:
# True False
FirstRun=False
# Use first input method as inactive state
# Available Value:
# True False
FirstAsInactive=False

[Output]
# Use English Punc After a Number
# Available Value:
# True False
HalfPuncAfterNumber=True
# Action after press enter
# Available Value:
# Nothing Clean Commit
EnterAction=Commit
# Disable Paging in Remind Mode
# Available Value:
# True False
RemindModeDisablePaging=True
# Send inputed Text if Switch to English Mode
# Available Value:
# True False
SendTextWhenSwitchEng=False
# Candidate Word Number
CandidateWordNumber=5
# Give the tips of Phrase
# Available Value:
# True False
PhraseTips=True

[Appearance]
# Show Input Window After Trigger Input Mode
# Available Value:
# True False
ShowInputWindowAfterTriggering=True
# Show Point After Index
# Available Value:
# True False
ShowPointAfterIndex=True
# Show Input Speed
# Available Value:
# True False
ShowInputSpeed=False
# Show Version
# Available Value:
# True False
ShowVersion=True
# Do not show input window if there is only preedit string
# Available Value:
# True False
HideInputWindowWhenOnlyPreeditString=False
# Do not show input window if there is one one candidate (Hide when only preedit string must be selected)
# Available Value:
# True False
HideInputWindowWhenOnlyOneCandidate=False

[Hotkey]
# Hot key of Triggering Input Method
TriggerKey=CTRL_SPACE
# Enable Left Ctrl + Left Shift to Switch Between Input Method
# Available Value:
# True False
IMSwitchKey=False
# Hotkey of Switching Chinese and English Mode
# Available Value:
# R_CTRL R_SHIFT L_SHIFT L_CTRL ALT_L_SHIFT ALT_R_SHIFT Disabled
SwitchKey=R_CTRL
# Double click Switch Key to Change Mode
# Available Value:
# True False
DoubleSwitchKey=False
# Interval of Two Key Input
TimeInterval=250
# Hotkey of Switching Virtual Keyboard
VKSwitchKey=CTRL_ALT_B
# Hotkey of Switching Remind Mode
RemindSwitchKey=CTRL_ALT_R
# Hotkey of Switching Full Width Character Mode
FullWidthSwitchKey=SHIFT_SPACE
# Hotkey of Switch Full Width Punc Mode
PuncSwitchKey=ALT_SPACE
# Hotkey of Going Prev Page
PrevPageKey=-
# Hotkey of Going Next Page
NextPageKey==
# Hotkey to Choose Second and Third Candidate Word
SecondThirdCandWordKey=SHIFT
# Hotkey of Saving All Config and Input History
SaveAllKey=CTRL_ALT_S
# Hotkey of Switch Embeded Preedit
SwitchPreedit=CTRL_ALT_P

```

有什么不对的么?谢谢
11413 次点击
所在节点    Linux
29 条回复
thedevil7
2012-11-23 21:06:47 +08:00
通常与配置无关.

我上次出现问题时发现, 启动 fcitx 时带上 verose 选项, 可以通过错误信息发现问题所在.
比如, 我上次的问题是一个指定路径的库文件没有对应的符号链接. 创建之后即可解决问题.

希望能帮到你.
hit9
2012-11-23 21:22:07 +08:00
@thedevil7 遇到的问题就是,更新后,我按下ctrl—space后不能回到无输入法状态
thedevil7
2012-11-23 21:39:24 +08:00
其实无输入法的状态就是英文输入状态,可以在 fcitx 中添加一个英文输入法, 或者, 我用 rime, rime 可以直接 shift 切换为英文状态.
hit9
2012-11-23 21:47:12 +08:00
@thedevil7 i regret for this updating ..

i hate fcitx . but now i am struggling installing ibus .i got error too in ibus..
Crabby
2012-11-23 22:07:44 +08:00
我前些天的時候也遇到過這情況,後來pacman -Syu 好了~ 當時不僅輸入法無法使用,emacs,gedit也無法啟動到圖形模式 提示libXXXX.so.49 之類的錯誤.你不妨也pacman -Syu一把試一下
hit9
2012-11-23 22:10:47 +08:00
@Crabby 不是这个错误倒是。只是无法切回无输入法。。
Crabby
2012-11-23 22:17:23 +08:00
不知道你的情況是不是和我一樣.我使用的是默認的配置文件.我只使用pinyin和英文這兩種.我需要ctrl + shift一直切換到英文.之後再使用ctrl+space在中英文兩者之間換.
hit9
2012-11-23 23:17:02 +08:00
@thedevil7
@Crabby
感谢两位仁兄的帮助。无奈下我还是在/var/cache/pacman/中找到了以前下载的fcitx的老版本tar 。pacman -U安装了,不错挺好。。。还换上了google pinyin的wrapper.谢谢你们
reus
2012-11-23 23:18:39 +08:00
export XMODIFIERS=@im=fcitx
export LANG=zh_CN.UTF-8
这两行都有执行么?
hit9
2012-11-23 23:26:08 +08:00
@reus 我是en_US 都按照做了。现在老老实实的用老版本的4.0.2
hit9
2012-11-23 23:27:39 +08:00
@reus 4.2.0-1 记错了。。
gujiaxi
2012-11-24 00:01:31 +08:00
现在我的gnome下压根儿没法儿输入中文了,不管是ibus还是尝试使用fcitx。。。
reus
2012-11-24 00:23:07 +08:00
@hit9 好像是要用zh cn 的
cabbala
2012-11-24 12:41:15 +08:00
fcitx升级到4.2后已经可以选用自己的input method了,不再用xim

安装方法:(以GNOME为例)

sudo pacman -S fcitx fcitx-gtk2 fcitx-gtk3 fcitx-sunpinyin

add below to .xprofile
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export XMODIFIERS="@im=fcitx"

yaourt -S gnome-shell-extension-kimpanel-git
cabbala
2012-11-24 12:45:49 +08:00
怀疑你的bug就是新版本和xim之间的配合问题。。可以试试用新版本的fctix的input method

kimpanel也是好东西,如下:(而且在gnome-shell的panel上有图标了)
cabbala
2012-11-24 12:46:40 +08:00
忘了加个 fctix-qt 。。否则在qt程序里无法输入
hit9
2012-11-24 13:07:15 +08:00
@reus 可是老板本的可以用en_US阿
hit9
2012-11-24 13:10:14 +08:00
@cabbala 对截图的输入法皮肤很感兴趣。。
cabbala
2012-11-24 13:22:15 +08:00
@hit9 gnome-shell-extension-kimpanel-git

AUR里的,另外en_US没问题。此外建议清楚掉旧fcitx的配置,然后照我上面的步骤升下级,应该没问题
hit9
2012-11-24 14:24:33 +08:00
@cabbala 折腾了一顿没有安上。报告错误说udev与system.md冲突.我把udev卸掉了。后来。。悲剧了。再后来我去cache 中找到了udev包又安上。。

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/53154

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX