Where to keep fcitx variables?
by igadoter from LinuxQuestions.org on (#5R8RZ)
There are three variables XMODIFIERS, QT_IM_MODULE, GTK_IM_MODULE which need to be set before desktop starts. fcitx-diagnose says to keep them in .xprofile file. But it does not work for me. I run desktop with startx command. So I am just doing this
Code: 495 export XMODIFIERS=@im=fcitx
496 export QT_IM_MODULE=fcitx
497 export GTK_IM_MODULE=fcitx
498 startxbut sure it would be better to put these exports to some file. .bashrc is not good place as it is executed each time bash instance runs. In virtual consoles for example. Any ideas?
Code: 495 export XMODIFIERS=@im=fcitx
496 export QT_IM_MODULE=fcitx
497 export GTK_IM_MODULE=fcitx
498 startxbut sure it would be better to put these exports to some file. .bashrc is not good place as it is executed each time bash instance runs. In virtual consoles for example. Any ideas?