I am using i3wm, and specifically i3-blocks with Qubes. I have installed fcitx5 in one of my VMs for switching to Chinese/Pinyin input for chatting with some people. I’d like to add an i3-block to display and toggle between the input methods. I’ve used qvm-run
extensively with i3-blocks scripts to send input to and get output from various AppVMs, but for some reason fcitx5 does not seem to work well…
For example, when I run the following in my AppVM, I get the proper output:
user@personal:~$ fcitx5-remote
2
However, when I run it from dom0, the incorrect output is passed:
[user@dom0 ~]$ qvm-run -p -u user personal fcitx5-remote
0
What’s going on here? Is there some workaround I can hack together?