Posts for: #Arch Linux

arch linux 下在 nautilus 加载 Google Drive

之前用 ubuntu 里的 gnome,在 Online account 里填上 Google 帐号,打开 File 选项,就可以在 Nautilus 里看见挂载上的 Google Drive,这次用 Endeavour OS,填完 Google 帐号,就像什么都没发生一样。

其实是缺了个 gvfs 的 backend,只需要:

yay -S gvfs-google

然后:

gio mount google-drive://<your gmail user>@gmail.com/

就可以了。

gio mount -l

可以看挂载情况。

在 Endeavour OS 安装 fcitx

1. 安装需要的包

sudo pacman -S fcitx5 fcitx5-gtk fcitx5-qt fcitx5-configtool fcitx5-rime

2. 安装 GNOME 扩展用于面板显示

安装 gnome-browser-connector 以在 GNOME 系统托盘中显示 fcitx:

sudo pacman -Sy gnome-browser-connector

然后安装 KimPanel GNOME 扩展:https://extensions.gnome.org/extension/261/kimpanel/

3. 安装雾凇拼音词库

参考:https://github.com/iDvel/rime-ice?tab=readme-ov-file

使用 AUR 助手安装 rime-ice-git 包:

# paru 默认会重新评估 pkgver,有新提交时自动更新
# yay 需要手动启用:yay -Y --devel --save

paru -S rime-ice-git
# yay -S rime-ice-git

推荐使用 patch 方法。编辑输入框架目录中的 default.custom.yaml 文件:

  • iBus:$HOME/.config/ibus/rime/
  • Fcitx5:$HOME/.local/share/fcitx5/rime/

default.custom.yaml:

patch:
  __include: rime_ice_suggestion:/
  __patch:
    key_binder/bindings/+:
      - { when: paging, accept: comma, send: Page_Up }
      - { when: has_menu, accept: period, send: Page_Down }

4. 其他配置

使用 fcitx5-configtool 进行进一步自定义。