View previous topic :: View next topic |
Author |
Message |
helio Apprentice
Joined: 08 Apr 2006 Posts: 237
|
Posted: Fri Feb 06, 2015 6:18 am Post subject: How to set XMODIFIERS for non-interactive shell? [Solved] |
|
|
I have tried to set
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export XMODIFIERS="@im=fcitx"
in .xprofile, .xsession, .xinitrc, and .bash_profile files, but when I type "env|grep MOD" I still get
IMSETTINGS_MODULE=X compose table
QT_IM_MODULE=xim
XMODIFIERS=@im=imsettings
GTK_IM_MODULE=xim
So the question is, where are the above environment variables set by the system? How do I change them?
Last edited by helio on Sat Feb 07, 2015 4:25 am; edited 1 time in total |
|
Back to top |
|
|
khayyam Watchman
Joined: 07 Jun 2012 Posts: 6227 Location: Room 101
|
Posted: Fri Feb 06, 2015 12:40 pm Post subject: |
|
|
helio ...
I don't see why setting the variable via .xinitrc doesn't pass this on to the session, perhaps xim starts prior, and/or your using a login manager (so nothing from your "login shell" is setup), anyhow, does this answer your questions?
best ... khay |
|
Back to top |
|
|
helio Apprentice
Joined: 08 Apr 2006 Posts: 237
|
Posted: Fri Feb 06, 2015 9:01 pm Post subject: |
|
|
khayyam wrote: | helio ...
I don't see why setting the variable via .xinitrc doesn't pass this on to the session, perhaps xim starts prior, and/or your using a login manager (so nothing from your "login shell" is setup), anyhow, does this answer your questions?
best ... khay |
Yes, Khay, I use kdm as the login manager. But which file scripts set up the login shell? |
|
Back to top |
|
|
khayyam Watchman
Joined: 07 Jun 2012 Posts: 6227 Location: Room 101
|
Posted: Fri Feb 06, 2015 9:38 pm Post subject: |
|
|
helio wrote: | khayyam wrote: | I don't see why setting the variable via .xinitrc doesn't pass this on to the session, perhaps xim starts prior, and/or your using a login manager (so nothing from your "login shell" is setup), anyhow, does this answer your questions? |
Yes, Khay, I use kdm as the login manager. But which file scripts set up the login shell? |
helio ... if you use a DM then you don't get a "login shell", because the DE replaces that altogether. There are probably mechanisms the DM uses for setting the env but its not those of 'login' (or rather, the 'shell' provided subsequent to login). Not having ever used a DM I can't tell you what does what, but from the link above it looked to me like this was a gtk+/qt thing, and so configured via the UI, or provided tools, rather than via a config file (but I may be wrong). Sorry I couldn't be of more help.
best ... khay |
|
Back to top |
|
|
helio Apprentice
Joined: 08 Apr 2006 Posts: 237
|
Posted: Sat Feb 07, 2015 4:25 am Post subject: |
|
|
Thanks Khay.
It turned out the "imsettings" package was installed and blocking fcitx. After removing it, fcitx works as it should now with kdm. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|