问题

当初次进入 hyprland 时候,wayland diagnose 会提示unset GTK_IM_MODULE 并让你改用wayland input method frontend。

这是因为在 hyprland.conf 文件中你的配置文件写的有问题,加上了 gtk 了。

解决方法

env = INPUT_METHOD,fcitx5 
env = XMODIFIERS,@im=fcitx5 
env = QT_IM_MODULE,fcitx5

改成这个就行,就是把 gtk 给删掉,然后加上 env = INPUT_METHOD,fcitx5,这样报错就没有了。

其实不用管也能正常使用。