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

manjaro 安装搜狗 输入法

  •  
  •   woshichuanqilz · 2022-01-03 16:20:29 +08:00 · 4551 次点击
    这是一个创建于 815 天前的主题,其中的信息可能已经有所发展或是发生改变。

    完全参考的这个 连接

    https://blog.csdn.net/weixin_39716043/article/details/116880685

    这个 代码 在: .xprofile /xinitrc 里面都加了,

    export GTK_IM_MODULE=fcitx
    
    export QT_IM_MODULE=fcitx
    
    export XMODIFIERS="@im=fcitx"
    

    重启没用, 现在的问题是, 打开 fcitx-config tool 找不到 sogouinput, 请问这个该如何解决, 我看这个 sogou 是去年十二月中旬更新的应该是可以安装的 我用的 manjaro 21.2.1

    14 条回复    2022-01-04 18:30:55 +08:00
    czfy
        1
    czfy  
       2022-01-03 16:21:56 +08:00
    RIME 不是更好吗,Linux 尤甚
    4ever911
        2
    4ever911  
       2022-01-03 16:23:39 +08:00
    exploretheworld
        3
    exploretheworld  
       2022-01-03 16:26:45 +08:00 via Android
    我觉得是你压根就没装 fcitx-sogoupinyin ,这个包在 aur 里面
    xiaowei0823
        4
    xiaowei0823  
       2022-01-03 16:30:31 +08:00
    各 Linux 发行版的桌面环境上的中文输入可以说是我学习 Linux 路上的第一个拦路虎了。
    daimaosix
        5
    daimaosix  
       2022-01-03 17:28:51 +08:00
    yay -S fcitx-im fcitx-configtool fcitx-sogoupinyin

    #修改配置文件
    sudo nano /etc/environment
    #加入
    export GTK_IM_MODULE=fcitx
    export QT_IM_MODULE=fcitx
    export XMODIFIERS="@im=fcitx"

    #重启
    reboot
    daimaosix
        6
    daimaosix  
       2022-01-03 17:29:13 +08:00
    按照上面的重新执行一遍就可以了
    daimaosix
        7
    daimaosix  
       2022-01-03 17:30:53 +08:00
    改.xprofile 是没用的,需要改 /etc/environment
    daimaosix
        8
    daimaosix  
       2022-01-03 17:31:53 +08:00
    用 pacman 安装也是可以,不过推荐使用 yay
    sky96111
        9
    sky96111  
       2022-01-03 20:39:37 +08:00 via Android
    fcitx 是输入法引擎,你还缺少一个 fcitx-sogoupinyin ,没有在官方库里,要用 aur 安装。
    在 wayland 下,系统环境变量最好写到 /etc/environment 里,格式要稍微改一下去掉 export 。
    还有 fcitx 和 fcitx5 是不同软件,前者已经停更维护,但搜狗只能用前者。
    Linux 里更建议用 fcitx5-rime 。
    RangerWolf
        10
    RangerWolf  
       2022-01-04 13:53:22 +08:00
    @sky96111 https://github.com/fcitx/fcitx5-rime 是这个么?
    怎么看介绍是 “RIME(中州韻輸入法引擎) is mainly a Traditional Chinese input method engine.”

    Traditional Chinese ? 繁体中文?
    sky96111
        11
    sky96111  
       2022-01-04 15:06:14 +08:00 via Android
    @RangerWolf 默认繁体中文,在输入界面按 f4 可以切换成简体拼音方案
    spidah
        12
    spidah  
       2022-01-04 16:32:47 +08:00
    借楼问一下有 ubuntu20.04 安装搜狗拼音后切换不到中文输入
    zyanjun
        13
    zyanjun  
       2022-01-04 17:53:01 +08:00   ❤️ 1
    manjaro 可以安装 fcitx5,挺好用的,
    ufoseven
        14
    ufoseven  
       2022-01-04 18:30:55 +08:00
    为什么不安装 fcitx5+sougou 的词库,现在 fcitx5 挺香的
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1190 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 18:25 · PVG 02:25 · LAX 11:25 · JFK 14:25
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.