Re: Input method not inherited in sub-shells on ssh?

"Abhay Ghatpande" <[email protected]>
Newsgroups gmane.linux.suse.m17n
Message-ID <[email protected]>
Ok. Solved it. Though I don't know exactly how!

I had copied the file http://www.suse.de/~mfabian/misc/xim as my ~/.xim.
Deleted that.
Now my ~/.xim reads:
export INPUT_METHOD="scim"
export XMODIFIERS="@im=SCIM"
export GTK_IM_MODULE=scim
export QT_IM_SWITCHER=imsw-multi
export QT_IM_MODULE=scim
scim -d
Also placed the same 5 variables in my ~/.bashrc:
INPUT_METHOD="scim"
XMODIFIERS='@im=SCIM'
GTK_IM_MODULE=scim
QT_IM_SWITCHER=imsw-multi
QT_IM_MODULE=scim
export INPUT_METHOD XMODIFIERS GTK_IM_MODULE
export QT_IM_SWITCHER QT_IM_MODULE

Restarted the system, and voila! Everything was back to normal. I don't know
for sure if it is necessary to have all the above variables in both the
~/.xim and ~/.bashrc, but I am guessing that it is.

Now Firefox, OpenOffice, gedit, all work without problems.

Hope that helps someone who might face similar problems.

Abhay

On 6/8/06, Abhay Ghatpande <[email protected]> wrote:
>
> Is this related somehow to this:
> http://www.scim-im.org/wiki/faq/gtk_gnome/why_firefox_mozilla_acrobat_reader_7_other_gtk_2_based_apps_can_not_be_installed_started
>
>
> Do I really need to recompile Firefox from source?
>
> Abhay
>
>
> On 6/8/06, Abhay Ghatpande <[email protected] > wrote:
> >
> > Ok. I did some digging and prefixed XMODIFIERS='@im=SCIM' before running
> > xterm and gedit. Worked like a charm. But it doesn't work with Firefox. Why?
> >
> >
> > Another thing, if XMODIFIERS is exported using .bashrc, even then it
> > doesn't work. The variable is set, but toggling the key doesnt switch the
> > keyboard. The XMODIFIERS=... has to precede the command. Why is this? The
> > .xim file also exports XMODIFIERS. So in what file should I export the
> > XMODIFIERS so that it will be inherited?
> >
> > I am quite sure that this used to work in 10.0. Since upgrading to 10.1,
> > Firefox is unable to accept Japanese input. Even when lauched directly from
> > the panel. (Not from shell).
> >
> > Help!
> >
> > Abhay
> >
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.