unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#46154: Not able to get Hindi "Input Method" to add in listing of available input methods in non-gnome wm like stumpwm
@ 2021-01-28 12:32 Shyam Saran
  2021-01-28 12:48 ` Shyam Saran
  2021-01-31 15:35 ` Arun Isaac
  0 siblings, 2 replies; 5+ messages in thread
From: Shyam Saran @ 2021-01-28 12:32 UTC (permalink / raw)
  To: 46154

[-- Attachment #1: Type: text/plain, Size: 921 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 1732 bytes --]

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

* bug#46154: Not able to get Hindi "Input Method" to add in listing of available input methods in non-gnome wm like stumpwm
  2021-01-28 12:32 bug#46154: Not able to get Hindi "Input Method" to add in listing of available input methods in non-gnome wm like stumpwm Shyam Saran
@ 2021-01-28 12:48 ` Shyam Saran
  2021-01-28 15:10   ` Shyam Saran
  2021-01-31 15:35 ` Arun Isaac
  1 sibling, 1 reply; 5+ messages in thread
From: Shyam Saran @ 2021-01-28 12:48 UTC (permalink / raw)
  To: 46154

[-- Attachment #1: Type: text/plain, Size: 163 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 439 bytes --]

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

* bug#46154: Not able to get Hindi "Input Method" to add in listing of available input methods in non-gnome wm like stumpwm
  2021-01-28 12:48 ` Shyam Saran
@ 2021-01-28 15:10   ` Shyam Saran
  0 siblings, 0 replies; 5+ messages in thread
From: Shyam Saran @ 2021-01-28 15:10 UTC (permalink / raw)
  To: 46154

[-- Attachment #1: Type: text/plain, Size: 3502 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 5203 bytes --]

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

* bug#46154: Not able to get Hindi "Input Method" to add in listing of available input methods in non-gnome wm like stumpwm
  2021-01-28 12:32 bug#46154: Not able to get Hindi "Input Method" to add in listing of available input methods in non-gnome wm like stumpwm Shyam Saran
  2021-01-28 12:48 ` Shyam Saran
@ 2021-01-31 15:35 ` Arun Isaac
  2021-02-02 19:33   ` Shyam Saran
  1 sibling, 1 reply; 5+ messages in thread
From: Arun Isaac @ 2021-01-31 15:35 UTC (permalink / raw)
  To: Shyam Saran, 46154

[-- Attachment #1: Type: text/plain, Size: 874 bytes --]


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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 524 bytes --]

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

* bug#46154: Not able to get Hindi "Input Method" to add in listing of available input methods in non-gnome wm like stumpwm
  2021-01-31 15:35 ` Arun Isaac
@ 2021-02-02 19:33   ` Shyam Saran
  0 siblings, 0 replies; 5+ messages in thread
From: Shyam Saran @ 2021-02-02 19:33 UTC (permalink / raw)
  To: Arun Isaac; +Cc: 46154

[-- Attachment #1: Type: text/plain, Size: 1045 bytes --]

Thanks very much Arun,

will check uim








On Sun, 31 Jan 2021 at 21:05, Arun Isaac <arunisaac@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
>

[-- Attachment #2: Type: text/html, Size: 1489 bytes --]

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

end of thread, other threads:[~2021-02-03 16:20 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-28 12:32 bug#46154: Not able to get Hindi "Input Method" to add in listing of available input methods in non-gnome wm like stumpwm Shyam Saran
2021-01-28 12:48 ` Shyam Saran
2021-01-28 15:10   ` Shyam Saran
2021-01-31 15:35 ` Arun Isaac
2021-02-02 19:33   ` Shyam Saran

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

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