Emacs has two annoyances on KDE on Arch Linux. One is that when I try to resize it, it doesn’t want to be resized and the other is that the Fcitx input system does not work. I had to find the correct set of environment variables for both of these issues.

For the resize issue, I had to add this to my .emacs,

(setq frame-resize-pixelwise t)

That seems to have fixed the issue and restarting Emacs kicked in the changes.

For the second issue of the Fcitx input system not working, I had to add this to the command-line before executing Emacs,

XMODIFIERS=@im=fcitx.

I added this into the KDE menu entry for Emacs. KDE Start Menu -> Development -> Emacs, right click on this and “Edit Application…”. In the General tab, add this to the “Environmental Variables”.

Happy Emacsing!