Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
It has been reported that external input method works in other GUI app, but does not work in buffers of the EXWM window manager emacs:
ch11ng/exwm#396
ch11ng/exwm#805
Probably due to the EXWM window manager emacs inherited these environment variables:
The workaround is to communicate with the externel input method with dbus using imbot https://github.com/QiangF/imbot/, this will work no matter what environment variables are.
and to prevent the input method from getting emacs' keys, launch EXWM window manager emacs with:
This will also serve as a solution for QT5 and QT6 apps, as it is reported that exim doesn't support Qt5 ch11ng/exim#6
However there are some issues with simulation keys. The window manager emacs and the input method seems to be competing for the keyboard input. I can not reproduce reliably.
And during searching for the solution, I find https://github.com/sinic/autocharmode , which Toggle EXWM char-mode automatically only in text fields of GTK 3. Since fcitx5 works for all GTK and QT versions, maybe use fcitx5 dbus interface signal to get the automatic toggle in text fields for all GUI apps.
Beta Was this translation helpful? Give feedback.
All reactions