V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Distributions
Ubuntu
Fedora
CentOS
中文资源站
网易开源镜像站
teli
V2EX  ›  Linux

fedora 切换输入法后,窗口失去焦点,怎么搞?

  •  
  •   teli · 2023-03-24 20:31:44 +08:00 · 1315 次点击
    这是一个创建于 390 天前的主题,其中的信息可能已经有所发展或是发生改变。

    OS: Fedora Linux 37 (Workstation Edition) x86_64

    Kernel: 6.2.7-200.fc37.x86_64

    ibus 1.5.27

    每次切换中英输入法后,窗口失去焦点,需要在窗口上点一下,重新捕获焦点。

    不过另一台相同系统的电脑没这问题。

    第 1 条附言  ·  2023-03-27 22:15:40 +08:00
    GNOME 43.3
    第 2 条附言  ·  2023-03-27 22:15:56 +08:00
    系统语言为英文
    11 条回复    2023-04-07 20:43:17 +08:00
    makelove
        1
    makelove  
       2023-03-24 20:44:56 +08:00
    换 fcitx ,印象中 ibus 挺渣的
    booleturing
        2
    booleturing  
       2023-03-24 20:58:19 +08:00
    Fedora 38 修复了这个 bug
    teli
        3
    teli  
    OP
       2023-03-25 10:35:23 +08:00
    @makelove
    ibus 用了好多年
    最近几次尝试换成 fcitx 和 rime ,都没成功
    yanqiyu
        4
    yanqiyu  
       2023-03-25 19:59:32 +08:00
    @teli 换成 fcitx 遇到了什么问题?
    建议直接用 fcitx5 ,安装过程就
    sudo dnf install fcitx5 fcitx5-autostart fcitx5-chinese-addons fcitx5-configtool fcitx5-gtk fcitx5-qt
    然后注销重新登陆理应直接就能用了
    teli
        5
    teli  
    OP
       2023-03-26 15:22:08 +08:00
    @yanqiyu 这条命令下去,重启,fcitx 没来,ibus 消失了。卸载了那一堆,重启,才找回 ibus
    teli
        6
    teli  
    OP
       2023-03-26 15:22:47 +08:00
    @yanqiyu 还需要配置什么吗?
    yanqiyu
        7
    yanqiyu  
       2023-03-26 16:36:19 +08:00
    @teli 可能要去 fcitx5-config-qt 启用拼音输入法,但是如果你系统语言是中文应该可以跳过这一步...
    还是不行的话可以发一下 fcitx5-diagnose| fpaste 产生的链接
    teli
        8
    teli  
    OP
       2023-03-27 22:13:33 +08:00
    尝试了 fcitx5-diagnose 后,改了几个环境变量,将输入法从 ibus 改为 fcitx5 。但中文依然没出来
    teli
        9
    teli  
    OP
       2023-03-27 22:16:51 +08:00
    @booleturing 37 有什么好解决办法?
    刚刚想到个歪办法,切换中文用 shift ,就没那问题
    booleturing
        10
    booleturing  
       2023-03-28 00:57:41 +08:00
    @teli 我的 Fedora 升级到 38 就没这个 bug 了
    teli
        11
    teli  
    OP
       2023-04-07 20:43:17 +08:00
    @booleturing 啊哈,fedora 37 今天更新后,修复了这个问题
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5353 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 09:00 · PVG 17:00 · LAX 02:00 · JFK 05:00
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.