Having a problem setting environment variables in Fedora23
I set up Japanese input in Gnome but it doesn't work. The environment variables for QT_IM_MODULE and GTK_IM_MODULE are set wrong. Apparently QT_IM_MODULE gets set to xim, GTK_IM_MODULE to gtk-im-context-simple
But I have set them now in the following file to ibus:
- ~/.xinitrc
- ~/.profile
- ~/.xprofile
- ~/.gnomerc
- ~/.xim
- ~/.xsession
- ~/.xinputrc
Still something gets sourced after those files. I am trying it with gnome and i3. Both times logging in through gdm. I just tried it with startx and oh wonder they get set and ibus works perfectly. So what gets sourced so late that it overwrites all my local stuff above? And where could I put the settings that gets sourced last when using gdm?
Setting up Japanese input in Fedora feels like I get send back in time 10-15 years and I am a bit desperate… :/
ibus works when I set the language to Japanese in Gnome Control Center (changes LANG and GDM_LANG). That is a workaround but I'd prefer to use en_US.utf8 for LANG instead of ja_JP.UTF-8