public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Arthur Tu <arthur.jim.tu@gmail.com>
To: cygwin@cygwin.com
Subject: Re: Input method in cygwin-x ?
Date: Thu, 02 Apr 2015 04:34:00 -0000	[thread overview]
Message-ID: <CAHmJ-oXdDwWENrJg8iMnuUkBEXrrRa5q4_=TJLD--GPBye8jpg@mail.gmail.com> (raw)
In-Reply-To: <55195263.8060200@dronecode.org.uk>

After set
```
export XMODIFIERS="@im=ibus"
```

ibus works with xterm, emacs and chromium!

In fact I wrote
```
export GTK_IM_MODULE=ibus
export XMODIFIERS=@im=ibus
export QT_IM_MODULE=ibus
```
in .bashrc as suggested in some threads, but I forgot I was in zsh
environment...

Now everything works fine. Thank you very much!

ibus-el doesn't work for ibus 1.5+. As far as i recall, emacs24 works
with ibus1.5 without further configuration like ibus-el.


On Mon, Mar 30, 2015 at 9:40 PM, Jon TURNEY <jon.turney@dronecode.org.uk> wrote:
> On 27/03/2015 06:41, Arthur Tu wrote:
>>
>> I did some experiments with ibus.
>>
>> I have a linux machine with ibus installed. When using that machine
>> natively, I can use ibus without any further configuration, except for
>> ibus daemon startup. Applications like gnome-terminal, xfce4-terminal,
>> emacs24, google-chrome and chromium work fine ibus.
>>
>> When I access that machine from another Windows computer with "ssh -Y
>> machine" and start ibus daemon with "ibus-daemon&", the following
>> behavior was obeserved.
>> 1.  ibus worked fine with gnome-terminal, xfce4-terminal and
>> goolge-chrome.
>> 2.  ibus didn't work with xterm, emacs24 and chromium.
>
>
> Thanks for these details.
>
> I did a bit of experimentation with a Ubutunu 14.10 remote host
>
> ibus-daemon -drx
> export XMODIFIERS="@im=ibus"
>
> Gives me working ibus with xterm.
>
> I couldn't get emacs working with ibus even locally, and setting that up
> seems to be a bit obscure.  Are you using ibus.el?
>
> Chromium just works for me.
>
>
>> On Thu, Mar 26, 2015 at 11:38 PM, Jon TURNEY
>> <jon.turney@dronecode.org.uk> wrote:
>>>
>>> On 25/03/2015 06:44, Arthur Tu wrote:
>>>>
>>>>
>>>> Is there a way to use input method in cygwin-x environment?
>>>>
>>>> For example, when I invoke emacs with
>>>> """""""""""""""""
>>>> ssh -X remote-machine
>>>> emacs
>>>> """"""""""""""""""
>>>>
>>>> I can't use either input methods in local windows machine or those in
>>>> remote linux server.
>>>
>>>
>>>
>>> This is something that I want to work, but I'm afraid I have no
>>> experience
>>> using IMEs, so I'm not sure what needs doing, which is why the section
>>> [1]
>>> in the User's Guide is currently empty.  I hope you can help me with
>>> identifying what that needs to say!
>>>
>>> I believe it should possible to start your IME (ibus, scim, etc.) in the
>>> remote sessions and have that work.
>>>
>>> Alternatively, there was some work done a while ago to provide a bridge
>>> between the native Windows IME and the server, which I believe allowed
>>> using
>>> the native Windows IME to input into X windows.  If that is useful, I can
>>> probably bring that up to date.
>>>
>>> [1] http://x.cygwin.com/docs/ug/using-i18n.html#using-i18n-ime
>>> [2] https://www.cygwin.com/ml/cygwin-xfree/2005-01/msg00066.html
>
>
> --
> Jon TURNEY
> Volunteer Cygwin/X X Server maintainer

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

  reply	other threads:[~2015-04-02  4:34 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-25  9:04 Arthur Tu
2015-03-26 15:54 ` Jon TURNEY
2015-03-27  9:30   ` Arthur Tu
2015-03-30 14:10     ` Jon TURNEY
2015-04-02  4:34       ` Arthur Tu [this message]
2015-04-08 17:16         ` Jon TURNEY

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAHmJ-oXdDwWENrJg8iMnuUkBEXrrRa5q4_=TJLD--GPBye8jpg@mail.gmail.com' \
    --to=arthur.jim.tu@gmail.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).