Talk:Fcitx

From ArchWiki
Jump to navigation Jump to search

Reference to fcitx5?

It is mentioned in the "Related Articles" section, but maybe this should be made a bit more obvious. Xandaros (talk) 07:20, 1 June 2021 (UTC)

~/.pam_environment on deprecation path?

Section Fcitx#Set_environment_variables_for_IM_modules recommends using ~/.pam_environment for supporting both X11 and Wayland. I saw at Environment_variables#Per_user that .pam_environment will be deprecated.

Perhaps this should be changed to use the Systemd/User#Environment_variables, i.e.

~/.config/environment.d/profile.conf
GTK_IM_MODULE=fcitx
QT_IM_MODULE=fcitx
XMODIFIERS=@im=fcitx

-- Xaque (talk) 02:40, 7 November 2021 (UTC)

Yep, that does need to be replaced. Unfortunately the migration path isn't the most straightforward; as Environment_variables#Graphical_environment points out, that ~/.config/environment.d/ method might not work for all DEs. I personally migrated the setting of these variables to ~/.bash_profile, setting them for login shells. No changes to ~/.bashrc are necessary as interactive shells inherit the environment setup by the login.
For the purposes of this article, I think those details should be abstracted away by just referring to Environment_variables#Per_user. CodingKoopa (talk) 03:01, 7 November 2021 (UTC)
I see-- I have only started using Wayland more recently, so I am reading more into the way per user env variables are changing from the traditional way of things. It seems at least for now there's not an obvious universal way to do it going forward, so linking to Systemd/User#Environment_variables may be the move. I am using GDM, so the Systemd way works for me. Xaque (talk) 23:43, 7 November 2021 (UTC)