manjaro配置fcitx5输入法

1. 安装 yay -S fcitx5 fcitx5-rime fcitx5-input-support fcitx5-chinese-addons fcitx5-qt fcitx5-gtk fcitx5-configtool rime-double-pinyin rime-double-pinyin 是双拼输入法,我使用小鹤双拼。 开机自启: cp /usr/share/applications/org.fcitx.Fcitx5.desktop ~/.config/autostart/ 配置 fcitx5的配置目录在:mkdir ~/.local/share/fcitx5/rime/ 在这个目录下创建default.custom.yaml: patch: schema_list: - schema: double_pinyin_flypy 使用小鹤双拼输入方案。 若想对某个输入方案进行自定义,例如小鹤双拼,其原配置文件为:~/.local/share/fcitx5/rime/double_pinyin_flypy.schema.yaml.则需要在~/.local/share/fcitx5/rime/下创建double_pinyin_flypy.custom.yaml,然后在其中进行自定义。 例如: # encoding: utf-8 patch: "switches/@0/reset": 1 switches: - name: ascii_mode reset: 1 states: [ 中文, 西文 ] # 默认英语 - name: full_shape reset: 0 # 默认半角 states: [ 半角, 全角 ] - name: zh_simp # 注意這裏(※1) reset: 1 # 默认简体 states: [ 漢字, 汉字 ] switches/@next: name: emoji_suggestion reset: 1 # 默认开启emoji states: [ "🈚︎", "🈶" ] 'engine/filters/@before 0': simplifier@emoji_suggestion emoji_suggestion: opencc_config: emoji....

August 21, 2023 · 1 min · 李昌

在manjaro台式机上使用罗技蓝牙鼠标

0. 软硬环境 系统:manjaro(内核6.1.44) 鼠标:mx anywhere 2s 无蓝牙 1. 通过优联连接鼠标与主机 这里需要下载solaar包来进行连接。 yay -S solaar Solaar 是许多罗技键盘、鼠标和触控板的 Linux 管理器,可无线连接到 USB Unifying、Bolt、Lightspeed 或 Nano 接收器; 通过 USB 线直接连接; 或通过蓝牙连接。 Solar 不能与其他公司的外围设备配合使用。 安装完成之后,打开solaar,将有如下ui界面出现,按步骤连接鼠标即可。 2. 设置鼠标按键 我的鼠标mx anywhere 2s上有一些按键,如果只用solaar连接到电脑,这些按键可能并不能发挥它的作用,因此我们需要将这些按键和快捷键进行绑定。 这里使用logiops 安装: yay -S logiops 配置: sudo vim /etc/logid.cfg 在logid.cfg中添加如下内容: devices: ({ name: "Wireless Mobile Mouse MX Anywhere 2"; // A lower threshold number makes the wheel switch to free-spin mode // quicker when scrolling fast....

August 21, 2023 · 2 min · 李昌