endeavouros吧 关注:42贴子:341
  • 3回复贴,共1

[23/1/15]关于EOS(或Arch的发行版同用的)的中文输入法安装

只看楼主收藏回复

内容来自:https://forum.endeavouros.com/t/topic/38918


IP属地:江苏1楼2023-05-14 23:22回复
    来自EOS团队 Manuel:
    对不起,我对中文一窍不通,但我会尽力。
    要找到可用的软件包:
    pacman -Ss pinyin input
    然后你就可以选择你想要的那个,用以下命令安装它
    sudo pacman -Syu “包的名称”


    IP属地:江苏2楼2023-05-14 23:24
    回复
      来自其他用户:
      rch based distro only, not for debian or ubuntu based distro
      繁體 ::::::::::
      sudo pacman -S ibus ibus-chewing
      click menu - - - > 設定值 - - - > ibus (run ibus)
      Ibus 設定 - - > 輸入法 - - > click 中文新酷音 - - > choose 加入 - - > choose 中文 - - > chosse 中文新酷音 - - > 加入 (must do)
      若 輸入法 中只有中文新酷音, 無 英文 - 英語 (美式) 輸入法, 須添加 ‘英文 - 英語 (美式)’ 輸入法
      add the three lines to ~/.xprofile (if not exists, build one, if not works after rebooting, add to ~/.bashrc or ~/.bash_profile)
      export GTK_IM_MODULE=ibus
      export QT_IM_MODULE=ibus
      export XMODIFIERS=“@im=ibus”
      To launch Iibus on user login, create an autostart entry with the following command:
      設定值 - - > 工作階段與啟動 - - > 應用程式自動啟動 - - > 新增
      名稱 = init-ibus (or name it yourself)
      指令 = /usr/bin/ibus-daemon -drxR
      click 是 (O)
      $ reboot
      简体 ::::::::::
      sudo pacman -S ibus ibus-pinyin (if ibus-pinyin not found, yay -S ibus ibus-pinyin)
      click menu - - - > 设定值 - - - > ibus (run ibus)
      Ibus 设定 - - > 输入法 - - > click 中文拼音 - - > choose 加入 - - > choose 中文 - - > chosse 中文拼音 - - > 加入 (must do)
      若 输入法 中只有中文新酷音, 无 英文 - 英语 (美式) 输入法, 须添加 ‘英文 - 英语 (美式)’ 输入法
      add the three lines to ~/.xprofile (if not exists, build one, if not works after rebooting, add to ~/.bashrc or ~/.bash_profile)
      export GTK_IM_MODULE=ibus
      export QT_IM_MODULE=ibus
      export XMODIFIERS=“@im=ibus”
      To launch Iibus on user login, create an autostart entry with the following command:
      设定值 - - > 工作阶段与启动 - - > 应用程式自动启动 - - > 新增
      名称 = init-ibus (or name it yourself)
      指令 = /usr/bin/ibus-daemon -drxR
      click 是 (O)
      $ reboot
      //
      我 google 了一下, 確實可以 , 你可以試試用這個
      Arch Linux可以安装安装fcitx5 实现输入中文,具体步骤如下
      sudo pacman -S fcitx5-im
      sudo pacman -S fcitx5-chinese-addons fcitx5-rime
      其中
      fcitx5-chinese-addons 包含了大量中文输入方式:拼音、双拼、五笔拼音、自然码、仓颉、冰蟾全息、二笔等fcitx5-rime 对经典的 Rime IME 输入法的包装,内置了繁体中文和简体中文的支持。
      然后在环境变量配置文件/etc/environment中添加如下内容
      /etc/environment
      GTK_IM_MODULE=fcitx
      QT_IM_MODULE=fcitx
      XMODIFIERS=@im=fcitx
      SDL_IM_MODULE=fcitx
      然后配置自动启动,提供以下3种方法,第一个不行,试第2个,然后第3个
      如果,支持XDG桌面环境,例如KDE,GNOME, Xfce,默认重启后即可在~/.config/autostart目录下添加fcitx-autostart.desktop文件,可以从目录etc/xdg/autostart中复制对于i3-wm,可以在配置文件~/.config/i3/config中添加如下代码fcitx5
      exec_always --no-startup-id fcitx5
      ps.
      我曾試過簡體拼音輸入, 但未成功, 所以還不知拼音如何輸入
      ///
      https://wiki.archlinux.org/title/Input_method


      IP属地:江苏3楼2023-05-14 23:26
      回复
        arch 把小企鹅fcitx搞好然后安装fcitx-sogoupinyin就行了配置一下快捷键


        IP属地:江苏来自Android客户端5楼2023-07-31 20:48
        回复