How to use minder on windows

Revision as of 16:59, 11 April 2025 by Mwroot (talk | contribs)

《怎么在 Windows 上使用 Minder》

劝退

普通人,直接弃用。Windows 用户想要用这软件,极不容易,非刚需用它就是得不偿失。原开发者对提供 Windows 平台安装包也毫无兴趣。

年轻人,有精力折腾的人,可以考虑。Minder 只对少数 Linux 用户才有用,特别是 ArchLinux 平台 Plasma 桌面环境体验不错。Linux 上一般用包管理器安装就行。

现下 Debian 12 平台使用 Minder 1.14.x 版本有输入法乱跳的 bug,更新至 Minder 1.15.4 以上版本应该能解决。但是,依然有在第一个根节点无法识别输入法的问题,报错如下:

com.github.phase1geo.minder                                                                                                                                                                                                                                                                                                                                                              (com.github.phase1geo.minder:552): Gtk-CRITICAL **: 16:53:36.033: gtk_im_context_set_cursor_location: assertion 'GTK_IS_IM_CONTEXT (context)' failed                                                                                                                                                                                                                                                  (com.github.phase1geo.minder:552): Gtk-CRITICAL **: 16:53:36.045: gtk_im_context_focus_in: assertion 'GTK_IS_IM_CONTEXT (context)' failed

本文的方法是无数次踩坑后做出的折衷选择。你要不信可以挨个踩。越往后我付出的沉没成本越高。我真是服了我自己。以后遇到平台支持不成熟的软件,果断弃用。

所踩的坑如下:

在 WSL2 Debian bookworm 上尝试用 Minder
在 WSL2 Debian trixie 上尝试用 Minder
在 WSL2 Debian sid 上尝试用 Minder
在 WSL2 Debian xfce4 桌面环境中尝试用 Minder
在 WSL2 Debian xfce4 桌面环境中尝试用 Minder
在 WSL2 Debian flatpak 中尝试用 Minder
在 VirtualBox Debian bookworm 中尝试用 Minder
在 VirtualBox EndeavourOS 中尝试用 Minder
在 VirtualBox ArchLinux 中尝试用 Minder
在 VMware Workstation Full ArchLinux 中尝试用 Minder

概述

在 Windows 10 以上使用 Minder 的方法概述:

安装 WSL2 Ubuntu 24.04.1 LTS
安装 Minder,确保 Minder 版本为 1.15.4 以上
在 Ubuntu 24.04.1 LTS 上安装中文输入法,且成功配置
OK 了

详述

在 Windows 10 以上使用 Minder 的方法详述:

# 安装 Ubuntu
UEFI 中开启虚拟化支持
控制面板 - 卸载 - 启用或关闭 Windows 功能中打开“适用于 Linux  Windows 子系统”和“虚拟机平台”

# 安装新的 Linux 分发版前将 WSL 2 设置为默认版本 
wsl --set-default-version 2

# 在 Microsoft Store 里安装 Ubuntu 24.04.1 或以上版本,直接搜出来点“获取”就行

# 安装 Minder
sudo apt install minder accountsservice fonts-wqy-microhei xfonts-wqy -y

# 安装中文输入法
sudo apt install ibus-rime

# ibus-setup 配置 ibus-rime 输入法
# 把以下放入 .bashrc
ibus-daemon -d
export GTK_IM_MODULE=ibus
export XMODIFIERS=@im=ibus
export QT_IM_MODULE=ibus
export $(dbus-launch)