Not able to get Hindi "Input Method" to add in listing of available input methods in non-gnome wm like stumpwm

  • Open
  • quality assurance status badge
Details
2 participants
  • Arun Isaac
  • Shyam Saran
Owner
unassigned
Submitted by
Shyam Saran
Severity
normal
S
S
Shyam Saran wrote on 28 Jan 2021 13:32
(address . bug-guix@gnu.org)
CABVJY8o8tjkWd1E4vQHK6DVRAjm_eb9V1iSz8qZ489vi2B320Q@mail.gmail.com
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: file
S
S
Shyam Saran wrote on 28 Jan 2021 13:48
(address . 46154@debbugs.gnu.org)
CABVJY8pxKgzPmJ9UXZjwrDsNF3qw9niJbtb7Hy+LVF_fJNZV9g@mail.gmail.com
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: file
S
S
Shyam Saran wrote on 28 Jan 2021 16:10
(address . 46154@debbugs.gnu.org)
CABVJY8pFjewCzZuJesYB1VAqcxeaBmw8cYMLyvHLAX=eZcyrrg@mail.gmail.com
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
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.")
(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:

Toggle quote (24 lines)
>
>
> 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: file
A
A
Arun Isaac wrote on 31 Jan 2021 16:35
Re: bug#46154: Not able to get Hindi "Input Method" to add in listing of available input methods in non-gnome wm like stumpwm
87tuqx6rwk.fsf@systemreboot.net
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
Toggle snippet (3 lines)
(define default-im-name 'm17n-ta-tamil99)

Relevant environment variables in ~/.bashrc
Toggle snippet (4 lines)
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

Regards,
Arun
-----BEGIN PGP SIGNATURE-----

iQFPBAEBCAA5FiEEf3MDQ/Lwnzx3v3nTLiXui2GAK7MFAmAWzjwbHGFydW5pc2Fh
Y0BzeXN0ZW1yZWJvb3QubmV0AAoJEC4l7othgCuzw98IAItT4KnN3SFTZYW5AqPo
8bdNYnzX58maUdhLupXtcbTbVs5pHDJyVmbNByiIb7AEDjKhLcgRazAbUtC7KeQr
o7dE+hzq//bg6y2icsDXlT2Ur7CCrDySrNvje5eAWmb5j00ddknOABlLPvo9LV3c
jzWdMf+9CdK1WTMcv7JfP+Xen7q/AHkxZOtGBa2Eg6PEVS3TiAzbPvdXnRgF++X3
FppYGMBAT3zezsQ7njpYXK7UDqvYNLBZAco+1OZC4VhFPioTRBUwwhiXxEHnWUrO
/1Ld2egl3hwWGOBogOMBD0o+MprS0P7OX5lMvzBbgn03/DgCgVFGFZ0OH6Fu7gok
Gf4=
=GGre
-----END PGP SIGNATURE-----

S
S
Shyam Saran wrote on 2 Feb 2021 20:33
(name . Arun Isaac)(address . arunisaac@systemreboot.net)(address . 46154@debbugs.gnu.org)
CABVJY8oPO-_b+vUtEUduWMjDGwj0Jpbhin6doW6dW4=tt8GD+w@mail.gmail.com
Thanks very much Arun,

will check uim








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

Toggle quote (26 lines)
>
> 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: file
?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send an email to 46154@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 46154
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch