public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Input method in cygwin-x ?
@ 2015-03-25  9:04 Arthur Tu
  2015-03-26 15:54 ` Jon TURNEY
  0 siblings, 1 reply; 6+ messages in thread
From: Arthur Tu @ 2015-03-25  9:04 UTC (permalink / raw)
  To: cygwin

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.

Thanks,
Arthur

--
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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Input method in cygwin-x ?
  2015-03-25  9:04 Input method in cygwin-x ? Arthur Tu
@ 2015-03-26 15:54 ` Jon TURNEY
  2015-03-27  9:30   ` Arthur Tu
  0 siblings, 1 reply; 6+ messages in thread
From: Jon TURNEY @ 2015-03-26 15:54 UTC (permalink / raw)
  To: cygwin; +Cc: arthur.jim.tu

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Input method in cygwin-x ?
  2015-03-26 15:54 ` Jon TURNEY
@ 2015-03-27  9:30   ` Arthur Tu
  2015-03-30 14:10     ` Jon TURNEY
  0 siblings, 1 reply; 6+ messages in thread
From: Arthur Tu @ 2015-03-27  9:30 UTC (permalink / raw)
  To: cygwin

Hi,

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.

I am extremely crazy about different behavior of ibus with
google-chrome and chromium.

I think it is a good idea to bring native Windows IME into cygwin/x.

Thanks,
Arthur


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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Input method in cygwin-x ?
  2015-03-27  9:30   ` Arthur Tu
@ 2015-03-30 14:10     ` Jon TURNEY
  2015-04-02  4:34       ` Arthur Tu
  0 siblings, 1 reply; 6+ messages in thread
From: Jon TURNEY @ 2015-03-30 14:10 UTC (permalink / raw)
  To: cygwin; +Cc: arthur.jim.tu

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Input method in cygwin-x ?
  2015-03-30 14:10     ` Jon TURNEY
@ 2015-04-02  4:34       ` Arthur Tu
  2015-04-08 17:16         ` Jon TURNEY
  0 siblings, 1 reply; 6+ messages in thread
From: Arthur Tu @ 2015-04-02  4:34 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Input method in cygwin-x ?
  2015-04-02  4:34       ` Arthur Tu
@ 2015-04-08 17:16         ` Jon TURNEY
  0 siblings, 0 replies; 6+ messages in thread
From: Jon TURNEY @ 2015-04-08 17:16 UTC (permalink / raw)
  To: cygwin, cygwin; +Cc: arthur.jim.tu

On 02/04/2015 05:34, Arthur Tu wrote:
> After set
> ```
> export XMODIFIERS="@im=ibus"
> ```
> ibus works with xterm, emacs and chromium!
[snip]
> Now everything works fine. Thank you very much!

Thanks for testing.

I've added a few details to [1], hopefully that is correct and helpful now.

[1] http://x.cygwin.com/docs/ug/using-i18n.html#using-i18n-ime

-- 
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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-04-08 17:16 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-25  9:04 Input method in cygwin-x ? 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
2015-04-08 17:16         ` Jon TURNEY

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).