X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; q=dns; s=default; b=wo cEt0H/j7W+rAnaqVolfv/RrAA2rhLi//HLH24W8SrNKnkH9nJM6fyEjpa9CKZgn5 IvUunt6zI6rZd40RonnNGNZer/r8Rn4yPYZwu/t//vPviJjgYGAk4tV0IcIXZ8QJ VHC58X3vqMZN8iHyvXia72ed5q1312NfpSyoBhtfE= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; s=default; bh=VzUhLsRX vulDg+AP+XymNUG6nnY=; b=Jxk3ZqBcyqhoBCc2A+bdcQdG7LJbtKfbe1q3+5OG tFCImjISBjiwI7k+0l5Z2+Lz1YtTMXGMe0F2HfdK5RrDWLl1btAykCrkgUmOuXxg 2XwQHaVYnWM2+Oi8KrDtbGWKuLP25DlGYHSRUZRm3DxQhUF4L2p4OTqfDR6LOvb3 FME= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,WEIRD_QUOTING autolearn=ham version=3.3.2 X-HELO: mail-ob0-f170.google.com MIME-Version: 1.0 X-Received: by 10.60.92.71 with SMTP id ck7mr10341093oeb.14.1427949250981; Wed, 01 Apr 2015 21:34:10 -0700 (PDT) In-Reply-To: <55195263.8060200@dronecode.org.uk> References: <551427DA DOT 3040100 AT dronecode DOT org DOT uk> <55195263 DOT 8060200 AT dronecode DOT org DOT uk> Date: Thu, 2 Apr 2015 12:34:10 +0800 Message-ID: Subject: Re: Input method in cygwin-x ? From: Arthur Tu To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes 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 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 >> 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