You are not logged in.

#1 2023-08-06 12:52:17

avidseeker
Member
Registered: 2022-09-06
Posts: 68
Website

[Solved] Why input method variables are set in env not in xinitrc?

The ArchWiki page for fcitx instructs settings up input method variables:

GTK_IM_MODULE=fcitx
QT_IM_MODULE=fcitx
XMODIFIERS=@im=fcitx

Why are they put in /etc/environment instead of ~/.xinitrc or a global xinit config?

Does it make a difference?

Xinitrc seems more appropriate, especially since these variables are irrelevant when not using graphical environment.

Last edited by avidseeker (2023-08-06 13:27:28)

Offline

#2 2023-08-06 13:01:11

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,120

Re: [Solved] Why input method variables are set in env not in xinitrc?

You have a trhead on this nonsense already, https://bbs.archlinux.org/viewtopic.php?id=287812 and the wiki you linked says nothing about /etc/environment, it merely links the wiki on environment variables where you get explained where you'd typically put what to have which specific impact.

Generally you put *any* environment variable for *any* purpose into a location so it's picked up by the relevant processes.
Maybe start by actually reading the wiki.

Offline

Board footer

Powered by FluxBB