yay -S com.qq.weixin.work.deepin-x11
Posts for: #Tech
ubuntu 下 ibus 在 chrome 里,会把选中文字删除的解决
ibus-setup
deselect “Embed preedit text in application window”
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 进行进一步自定义。
Ubuntu 24.04
Ubuntu 24.04 基本上开箱即用。
安装系统时,分区注意选择 LVM encrypt
安装 VSCode:https://code.visualstudio.com/docs/setup/linux
通过图形界面安装中文输入法
- System - Region & Language - Install / Remove Languages,安装中文语言
- 重启
- Keyboard - Input source - Chinese(Intelligent Pinyin)
- 在拼音设置里可以设置:翻页、去掉 Shift 切换语言、候选词词频使用
- Keyboard - Keyboard Shortcuts 设置快捷键
安装常用的浏览器和扩展
基本上就可以开始用了。