From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: Typing on GuixSD in languages other than English Date: Mon, 04 Apr 2016 22:10:32 +0200 Message-ID: <87k2kdyw1z.fsf@elephly.net> References: <87k2kf65n6.fsf@gmail.com> <87lh4vbj6h.fsf@member.fsf.org> <874mbjl41d.fsf@gmail.com> <87r3emrzg7.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57676) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1anApl-0000em-Vw for help-guix@gnu.org; Mon, 04 Apr 2016 16:10:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1anAph-0006PV-03 for help-guix@gnu.org; Mon, 04 Apr 2016 16:10:49 -0400 Received: from sender163-mail.zoho.com ([74.201.84.163]:24070) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1anApg-0006OC-NS for help-guix@gnu.org; Mon, 04 Apr 2016 16:10:44 -0400 In-reply-to: <87r3emrzg7.fsf@gmail.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org To: Chris Marusich Cc: help-guix@gnu.org Chris Marusich writes: > How can I verify that ibus is working on its own? I've tried installing > ibus by itself into my profile. When I do this, I can run ibus-setup, > and I see a "Japanese" language input option. This is true even when > anthy and ibus-anthy are not installed, which surprised me. I had > expected to find no Japanese language input options at all in ibus-setup > when anthy and ibus-anthy are not installed. It’s a bit tricky. IBus caches input methods and reads them from the cache. This is also the reason why IBus breaks whenever it is updated (see bug #22707). This cache is in “~/.cache/ibus/bus”. Another thing you might need to store settings for IBus is to run “libexec/dconf-service” of the “dconf” package. Then I had to set IBUS_COMPONENT_PATH=$HOME/.guix-profile/share/ibus/component and the usual QT_IM_MODULE=ibus XMODIFIERS=@im=ibus GTK_IM_MODULE=ibus You will also need GUIX_GTK2_PATH=$HOME/.guix-profile/lib/gtk2.0 GUIX_GTK3_PATH=$HOME/.guix-profile/lib/gtk3.0 so that GTK+ can find the input method modules for ibus in your profile. Then it should work in a GTK+ application such as “xfce4-terminal”. Don’t try it in Emacs because it probably won’t work without even more fiddling. This is all not nice yet and I’ve only managed to get the Pinyin input method to work (until the next upgrade). I haven’t been able to get any of the included input methods (like Arabic) to work at all. This needs more work and I’d appreciate some assistance! ~~ Ricardo