archlinux更新fcitx后无法切换到无输入法状态 - V2EX
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Distributions
Ubuntu
Fedora
CentOS
中文资源站
网易开源镜像站
hit9
V2EX    Linux

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

  •  
  •   hit9
    hit9 2012-11-23 20:43:19 +08:00 12108 次点击
    这是一个创建于 4774 天前的主题,其中的信息可能已经有所发展或是发生改变。
    我的配置

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

    ```

    有什么不对的么?谢谢
    29 条回复    1970-01-01 08:00:00 +08:00
    thedevil7
        1
    thedevil7  
       2012-11-23 21:06:47 +08:00
    通常与配置无关.

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

    希望能帮到你.
    hit9
        2
    hit9  
    OP
       2012-11-23 21:22:07 +08:00
    @thedevil7 遇到的问题就是,更新后,我按下ctrlspace后不能回到无输入法状态
    thedevil7
        3
    thedevil7  
       2012-11-23 21:39:24 +08:00
    其实无输入法的状态就是英文输入状态,可以在 fcitx 中添加一个英文输入法, 或者, 我用 rime, rime 可以直接 shift 切换为英文状态.
    hit9
        4
    hit9  
    OP
       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
        5
    Crabby  
       2012-11-23 22:07:44 +08:00
    我前些天的候也遇到情,後pacman -Syu 好了~ 不入法法使用,emacs,gedit也法到形模式 提示libXXXX.so.49 之的.你不妨也pacman -Syu一把一下
    hit9
        6
    hit9  
    OP
       2012-11-23 22:10:47 +08:00
    @Crabby 不是这个错误倒是。只是无法切回无输入法。。
    Crabby
        7
    Crabby  
       2012-11-23 22:17:23 +08:00
    不知道你的情是不是和我一.我使用的是默的配置文件.我只使用pinyin和英文.我需要ctrl + shift一直切到英文.之後再使用ctrl+space在中英文者之.
    hit9
        8
    hit9  
    OP
       2012-11-23 23:17:02 +08:00
    @thedevil7
    @Crabby
    感谢两位仁兄的帮助。无奈下我还是在/var/cache/pacman/中找到了以前下载的fcitx的老版本tar 。pacman -U安装了,不错挺好。。。还换上了google pinyin的wrapper.谢谢你们
    reus
        9
    reus  
       2012-11-23 23:18:39 +08:00
    export XMODIFIERS=@im=fcitx
    export LANG=zh_CN.UTF-8
    这两行都有执行么?
    hit9
        10
    hit9  
    OP
       2012-11-23 23:26:08 +08:00
    @reus 我是en_US 都按照做了。现在老老实实的用老版本的4.0.2
    hit9
        11
    hit9  
    OP
       2012-11-23 23:2739 +08:00   1
    @reus 4.2.0-1 记错了。。
    gujiaxi
        12
    gujiaxi  
       2012-11-24 00:01:31 +08:00
    现在我的gnome下压根儿没法儿输入中文了,不管是ibus还是尝试使用fcitx。。。
    reus
        13
    reus  
       2012-11-24 00:23:07 +08:00
    @hit9 好像是要用zh cn 的
    cabbala
        14
    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
        15
    cabbala  
       2012-11-24 12:45:49 +08:00
    怀疑你的bug就是新版本和xim之间的配合问题。。可以试试用新版本的fctix的input method

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

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

    以后估计你的系统会出现各种问题,而且不能升级。。。还是趁早转到systemd里为佳

    当然最简单的办法是reinstall,反正只有/home不动就没啥麻烦的
    hit9
        22
    hit9  
    OP
       2012-11-24 14:55:29 +08:00
    @cabbala reinstall ...好恐怖。 很久不更新了。 没有别的解决办法么。。
    bigeagle
        23
    bigeagle  
       2012-11-24 14:59:17 +08:00
    楼主 pacman -Syu 一下应该就好了。

    fcitx现在已经没有「关闭」状态,默认输入法是fcitx-keybord_EN(US),也就是英文输入状态,升级的时候库没跟上所以fcitx-keyboard crash掉所以就出现了没有英文的情况。

    pacman -Syu之后,重启fcitx,然后调整一下输入法顺序(fcitx-keyboard恢复后会出现在最后一个输入法位置)
    cabbala
        24
    cabbala  
       2012-11-24 15:00:55 +08:00
    @hit9 按照官网上的各个news升级。。。不过我觉得还是reinstall更现实点,arch要时常看过news后更新,否则就会杯具。。

    不过/home不动,reinstall有啥损失么,pacman一下就好了
    hit9
        25
    hit9  
    OP
       2012-11-24 15:02:32 +08:00
    @bigeagle 谢谢你的回复。 我觉得也是,好久没有更新了。更新包好大。。 更新安全么?比较害怕呢。

    现在用老版本的fcitx还不错。 唉,没法安装gnome pane样式的fcitx皮肤了
    hit9
        26
    hit9  
    OP
       2012-11-24 15:03:37 +08:00
    @cabbala pacman -Syu有风险么?
    bigeagle
        27
    bigeagle  
       2012-11-24 17:38:16 +08:00
    @hit9 汗 看你多久没更新了,Arch最近有一些大动作,去官网看下先吧
    bayuwei2010
        28
    bayuwei2010  
       2012-11-26 00:54:43 +08:00
    输入法: 打开/usr/lib/fcitx/fcitx-keyboard.so 失败 libicuuc.so.49: 无法打开共享对象文件: 没有那个文件或目录
    跟楼主一样的问题.可以看见这个错误.怎么回事?
    lovejoy
        29
    lovejoy  
       2013-01-05 21:41:11 +08:00
    楼主问题解决了吗,遇到同样的问题了,按ctrl space总是中文输入,第一次有banner,第二次没有banner这什么鬼设计
    关于     帮助文档     自助推广系统     博客     API     FAQ     Solana     2734 人在线   最高记录 6679       Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 31ms UTC 07:39 PVG 15:39 LAX 23:39 JFK 02:39
    Do have faith in what you're doing.
    ubao msn snddm index pchome yahoo rakuten mypaper meadowduck bidyahoo youbao zxmzxm asda bnvcg cvbfg dfscv mmhjk xxddc yybgb zznbn ccubao uaitu acv GXCV ET GDG YH FG BCVB FJFH CBRE CBC GDG ET54 WRWR RWER WREW WRWER RWER SDG EW SF DSFSF fbbs ubao fhd dfg ewr dg df ewwr ewwr et ruyut utut dfg fgd gdfgt etg dfgt dfgd ert4 gd fgg wr 235 wer3 we vsdf sdf gdf ert xcv sdf rwer hfd dfg cvb rwf afb dfh jgh bmn lgh rty gfds cxv xcv xcs vdas fdf fgd cv sdf tert sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf shasha9178 shasha9178 shasha9178 shasha9178 shasha9178 liflif2 liflif2 liflif2 liflif2 liflif2 liblib3 liblib3 liblib3 liblib3 liblib3 zhazha444 zhazha444 zhazha444 zhazha444 zhazha444 dende5 dende denden denden2 denden21 fenfen9 fenf619 fen619 fenfe9 fe619 sdf sdf sdf sdf sdf zhazh90 zhazh0 zhaa50 zha90 zh590 zho zhoz zhozh zhozho zhozho2 lislis lls95 lili95 lils5 liss9 sdf0ty987 sdft876 sdft9876 sdf09876 sd0t9876 sdf0ty98 sdf0976 sdf0ty986 sdf0ty96 sdf0t76 sdf0876 df0ty98 sf0t876 sd0ty76 sdy76 sdf76 sdf0t76 sdf0ty9 sdf0ty98 sdf0ty987 sdf0ty98 sdf6676 sdf876 sd876 sd876 sdf6 sdf6 sdf9876 sdf0t sdf06 sdf0ty9776 sdf0ty9776 sdf0ty76 sdf8876 sdf0t sd6 sdf06 s688876 sd688 sdf86