GNU bug report logs - #46154
Not able to get Hindi "Input Method" to add in listing of available input methods in non-gnome wm like stumpwm

Previous Next

Package: guix;

Reported by: Shyam Saran <syamsaran12345 <at> gmail.com>

Date: Thu, 28 Jan 2021 12:38:02 UTC

Severity: normal

To reply to this bug, email your comments to 46154 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#46154; Package guix. (Thu, 28 Jan 2021 12:38:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Shyam Saran <syamsaran12345 <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Thu, 28 Jan 2021 12:38:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Shyam Saran <syamsaran12345 <at> gmail.com>
To: bug-guix <at> gnu.org
Subject: Not able to get Hindi "Input Method" to add in listing of available
 input methods in non-gnome wm like stumpwm
Date: Thu, 28 Jan 2021 18:02:25 +0530
[Message part 1 (text/plain, inline)]
In stumpwm
not able to get Hindi "Input Method"  to add in the listing of available
input methods
with

  ibus-setup
command

and started the daemon with

ibus-daemon -r -d  -v

or

ibus-daemon -d -r --xim



While in gnome magically "Hindi" many other more languages are languages
are present
in available input methods.


while


ibus list-engine --name-only
or
ibus list-engine

output in both stumpwm and gnome
not have Hindi listed in it.


these recommended environment variables

  GTK_IM_MODULE=ibus
  XMODIFIERS=@im=ibus
  QT_IM_MODULE=ibus
  export GTK_IM_MODULE
  export XMODIFIERS
  export QT_IM_MODULE

was set

also checked with

  GTK_IM_MODULE=xim

But the same result.

I had install these packages

                                   "xinput"
                                   "ibus"
                                   "m17n-lib"
                                   "m17n-db"

in user profile
--

Shyam
[Message part 2 (text/html, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#46154; Package guix. (Thu, 28 Jan 2021 13:12:01 GMT) Full text and rfc822 format available.

Message #8 received at 46154 <at> debbugs.gnu.org (full text, mbox):

From: Shyam Saran <syamsaran12345 <at> gmail.com>
To: 46154 <at> debbugs.gnu.org
Subject: Not able to get Hindi "Input Method" to add in listing of available
 input methods in non-gnome wm like stumpwm
Date: Thu, 28 Jan 2021 18:18:30 +0530
[Message part 1 (text/plain, inline)]
In  gnome

only
  gnome-control-center region

shows Hindi as input method

while in gnome

  ibus-setup

do not shown "Hindi"

like it does in stumpwm

--

Shyam
[Message part 2 (text/html, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#46154; Package guix. (Thu, 28 Jan 2021 16:32:02 GMT) Full text and rfc822 format available.

Message #11 received at 46154 <at> debbugs.gnu.org (full text, mbox):

From: Shyam Saran <syamsaran12345 <at> gmail.com>
To: 46154 <at> debbugs.gnu.org
Subject: Re: Not able to get Hindi "Input Method" to add in listing of
 available input methods in non-gnome wm like stumpwm
Date: Thu, 28 Jan 2021 20:40:31 +0530
[Message part 1 (text/plain, inline)]
Tried to create ibus-m17n and installed in user profile (by copying
ibus-anthy)


============================================================
(define-module (lotus packages ibus)
 #:use-module (guix licenses)
 #:use-module (guix packages)
 #:use-module (guix download)
 #:use-module (guix git-download)
 #:use-module (guix build-system cmake)
 #:use-module (guix build-system gnu)
 #:use-module (guix build-system glib-or-gtk)
 #:use-module (guix utils)
 #:use-module (gnu packages)
 #:use-module (gnu packages ibus)
 #:use-module (gnu packages emacs)
 #:use-module (gnu packages autotools)
 #:use-module (gnu packages base)
 #:use-module (gnu packages boost)
 #:use-module (gnu packages check)
 #:use-module (gnu packages cmake)
 #:use-module (gnu packages databases)
 #:use-module (gnu packages datastructures)
 #:use-module (gnu packages dbm)
 #:use-module (gnu packages freedesktop)
 #:use-module (gnu packages gettext)
 #:use-module (gnu packages glib)
 #:use-module (gnu packages gnome)
 #:use-module (gnu packages gtk)
 #:use-module (gnu packages iso-codes)
 #:use-module (gnu packages logging)
 #:use-module (gnu packages pkg-config)
 #:use-module (gnu packages python)
 #:use-module (gnu packages serialization)
 #:use-module (gnu packages sqlite)
 #:use-module (gnu packages textutils)
 #:use-module (gnu packages unicode)
 #:use-module (gnu packages xorg))

(define-public ibus-m17n
 (package
   (name "ibus-m17n")
   (version "1.4.3")
   (source (origin
             (method url-fetch)
             (uri (string-append
                   "https://github.com/ibus/ibus-m17n/releases/download/"
                   version "/ibus-m17n-" version ".tar.gz"))
             (sha256
              (base32
               "1mn8kvsak1icggy0q6my187kan2kyq0kv455bwx9q4pgbq1jry56"))))
   (build-system glib-or-gtk-build-system)
   (arguments
    '(#:configure-flags
      ;; Use absolute exec path in the anthy.xml.
      (list (string-append "--libexecdir=" %output "/libexec"))
      #:phases
      (modify-phases %standard-phases
        (add-after 'install 'wrap-programs
          (lambda* (#:key outputs #:allow-other-keys)
            (let ((out (assoc-ref outputs "out")))
              (for-each
               (lambda (prog)
                 (wrap-program (string-append out "/libexec/" prog)
                   `("PYTHONPATH" ":" prefix
                     (,(getenv "PYTHONPATH")))
                   `("GI_TYPELIB_PATH" ":" prefix
                     (,(getenv "GI_TYPELIB_PATH")
                      ,(string-append out "/lib/girepository-1.0")))))
               '("ibus-engine-m17n"))
              #t))))))
   (native-inputs
    `(("gettext" ,gettext-minimal)
      ("intltool" ,intltool)
      ("pkg-config" ,pkg-config)
      ("python" ,python)))
   (inputs
    `(("m17n-lib" ,m17n-lib)
      ("gtk+" ,gtk+)
      ("ibus" ,ibus)
      ("gobject-introspection" ,gobject-introspection)
      ("python-pygobject" ,python-pygobject)))
   (synopsis    "M17N engine for IBus")
   (description "M17N engine for IBus.")
   (home-page "https://github.com/ibus/ibus-m17n/")
   (license gpl2+)))

ibus-m17n
============================================================


But still not gets "Hindi" input method


On Thu, 28 Jan 2021 at 18:18, Shyam Saran <syamsaran12345 <at> gmail.com> wrote:

>
>
> In  gnome
>
> only
>   gnome-control-center region
>
> shows Hindi as input method
>
> while in gnome
>
>   ibus-setup
>
> do not shown "Hindi"
>
> like it does in stumpwm
>
> --
>
> Shyam
>
>
>
>
[Message part 2 (text/html, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#46154; Package guix. (Sun, 31 Jan 2021 15:36:01 GMT) Full text and rfc822 format available.

Message #14 received at 46154 <at> debbugs.gnu.org (full text, mbox):

From: Arun Isaac <arunisaac <at> systemreboot.net>
To: Shyam Saran <syamsaran12345 <at> gmail.com>, 46154 <at> debbugs.gnu.org
Subject: Re: bug#46154: Not able to get Hindi "Input Method" to add in
 listing of available input methods in non-gnome wm like stumpwm
Date: Sun, 31 Jan 2021 21:05:23 +0530
[Message part 1 (text/plain, inline)]
Hi,

I don't know much about the state of ibus in Guix. When last I checked a
few years ago, I couldn't get it to work for Tamil. So, I tried uim and
it worked. Perhaps, just as an immediate workaround until this bug is
addressed, maybe you could try uim?

My uim setup is as follows. You probably need similar.

Contents of ~/.uim
--8<---------------cut here---------------start------------->8---
(define default-im-name 'm17n-ta-tamil99)
--8<---------------cut here---------------end--------------->8---

Relevant environment variables in ~/.bashrc
--8<---------------cut here---------------start------------->8---
export GUIX_GTK3_IM_MODULE_FILE=~/.guix-profile/lib/gtk-3.0/3.0.0/immodules-gtk3.cache
export GUIX_GTK2_IM_MODULE_FILE=~/.guix-profile/lib/gtk-2.0/2.10.0/immodules-gtk2.cache
--8<---------------cut here---------------end--------------->8---

Regards,
Arun
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#46154; Package guix. (Wed, 03 Feb 2021 02:04:02 GMT) Full text and rfc822 format available.

Message #17 received at 46154 <at> debbugs.gnu.org (full text, mbox):

From: Shyam Saran <syamsaran12345 <at> gmail.com>
To: Arun Isaac <arunisaac <at> systemreboot.net>
Cc: 46154 <at> debbugs.gnu.org
Subject: Re: bug#46154: Not able to get Hindi "Input Method" to add in listing
 of available input methods in non-gnome wm like stumpwm
Date: Wed, 3 Feb 2021 01:03:25 +0530
[Message part 1 (text/plain, inline)]
Thanks very much Arun,

will check uim








On Sun, 31 Jan 2021 at 21:05, Arun Isaac <arunisaac <at> systemreboot.net> wrote:

>
> Hi,
>
> I don't know much about the state of ibus in Guix. When last I checked a
> few years ago, I couldn't get it to work for Tamil. So, I tried uim and
> it worked. Perhaps, just as an immediate workaround until this bug is
> addressed, maybe you could try uim?
>
> My uim setup is as follows. You probably need similar.
>
> Contents of ~/.uim
> --8<---------------cut here---------------start------------->8---
> (define default-im-name 'm17n-ta-tamil99)
> --8<---------------cut here---------------end--------------->8---
>
> Relevant environment variables in ~/.bashrc
> --8<---------------cut here---------------start------------->8---
> export
> GUIX_GTK3_IM_MODULE_FILE=~/.guix-profile/lib/gtk-3.0/3.0.0/immodules-gtk3.cache
> export
> GUIX_GTK2_IM_MODULE_FILE=~/.guix-profile/lib/gtk-2.0/2.10.0/immodules-gtk2.cache
> --8<---------------cut here---------------end--------------->8---
>
> Regards,
> Arun
>
[Message part 2 (text/html, inline)]

This bug report was last modified 3 years and 77 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.