unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: 荒井吉則 <kumagusu08@gmail.com>
To: help-guix <help-guix@gnu.org>
Subject: ibus-anthy can not input Japanese on guixSD 1.0.1
Date: Thu, 12 Dec 2019 20:15:10 +0900	[thread overview]
Message-ID: <CAH2wgjggufzb66tvk6W3uzWuoScD-dqLu0W2hR2rh5YoAz9WHw@mail.gmail.com> (raw)

Hello guix,

I am here 10 month ago and now I am back. I installed guixSD v1.0.1 on
Onkyo M511A5.

I was using gnome and xfce de for few days but I did not know how to set up
Japanese font on gdm, I also could not change desktop on gdm and I met the
issue I could not login after system reconfigure.

Now I don't use de but use cwm, i3 window manager with slim display manager.
I don't meet the issue with gdm.

I installed ibus-anthy for Japanese but can not input Japanese because
Japanese -anthy input method is missing on ibus-setup.

I found below article in help-guix archives and follow it.
https://lists.gnu.org/archive/html/help-guix/2018-08/msg00083.html

My dot.xinitrc which is linked dot.xsession is as follows,
----------------------------------------------------------------------------------------
#!/run/current-system/profile/bin/sh

# keyboardlayout
setxkbmap -model pc104 -layout jp &

# root color
xsetroot -solid "#333333"

# lang
#export LANG=ja_JP.utf8

# ibus-anthy
export GTK_DATA_PREFIX=/run/current-system/profile
export
GUIX_GTK2_IM_MODULE_FILE=/home/yoshi/.guix-profile/lib/gtk-2.0/2.10.0/immodules-gtk2.cache
export
GUIX_GTK3_IM_MODULE_FILE=/home/yoshi/.guix-profile/lib/gtk-3.0/3.0.0/immodules-gtk3.cache
export IBUS_COMPONENT_PATH=/home/yoshi/.guix-profile/share/ibus/component
export GTK_IM_MODULE=ibus
export XMODIFIERS=@im=ibus
#export QT_IM_MODULE=ibus

ibus-daemon -drx

exec $1
----------------------------------------------------------------------------------------

I can not yet input Japanese with ibus-anthy.

I installed ibus, anthy, ibus-anthy and python....

I found python ...ibus-anthy/engine/main.py --ibus missing.

yoshi@wara ~$ ps ax | grep ibus
 5513 pts/1    Sl     0:02 /home/yoshi/.guix-profile/bin/ibus-daemon --xim
 5518 pts/1    Sl     0:00
/gnu/store/r7vn81lcd7q9i3wy2jf3vi7rfh0ga98h-ibus-1.5.20/libexec/ibus-dconf
 5520 pts/1    Sl     0:00
/gnu/store/r7vn81lcd7q9i3wy2jf3vi7rfh0ga98h-ibus-1.5.20/libexec/ibus-ui-gtk3
 5522 pts/1    Sl     0:00
/gnu/store/r7vn81lcd7q9i3wy2jf3vi7rfh0ga98h-ibus-1.5.20/libexec/ibus-x11
--kill-daemon
 5525 ?        Sl     0:00
/gnu/store/r7vn81lcd7q9i3wy2jf3vi7rfh0ga98h-ibus-1.5.20/libexec/ibus-portal
 5537 pts/1    Sl     0:00
/gnu/store/r7vn81lcd7q9i3wy2jf3vi7rfh0ga98h-ibus-1.5.20/libexec/ibus-engine-simple
 5794 pts/1    S+     0:00 grep --color=auto ibus

After kill  ibus and execute it again as follows,
yoshi@wara ~$ ibus-daemon --xim -v &
[1] 5848
yoshi@wara ~$ IBUS-Message: 19:57:33.562: 19:57:33.562082: Engine anthy is
already registered by other component

--------------------------------------------------------------------------------------------------------------

IBUS-Message: 19:57:33.568: 19:57:33.568314: Engine xkb:mn::mon is already
registered by other component

(ibus-dconf:5853): dconf-WARNING **: 19:57:33.736: unable to open named
profile (ibus): using the null configuration.

(ibus-ui-gtk3:5854): IBUS-WARNING **: 19:57:34.044: panel.vala:255: If you
launch KDE5 on xterm, export XDG_CURRENT_DESKTOP=KDE before launch KDE5.

(ibus-ui-gtk3:5854): IBUS-WARNING **: 19:57:34.290: ibus_bus_call_sync:
org.freedesktop.DBus.Properties.Get:
GDBus.Error:org.freedesktop.DBus.Error.Failed: No global engine.
IBUS_ERROR: Failed to execute child process
“/gnu/store/vws22j0mmiwm68w10v5syqprq0ydsgnp-setxkbmap-1.3.2” (許可がありません)

(ibus-ui-gtk3:5854): IBUS-WARNING **: 19:57:34.441: xkblayout.vala:198:
Execute setxkbmap failed: Failed to execute child process
“/gnu/store/vws22j0mmiwm68w10v5syqprq0ydsgnp-setxkbmap-1.3.2” (許可がありません)

yoshi@wara ~$

I hope this information would help to solve this issue. Thank you.

             reply	other threads:[~2019-12-12 11:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-12 11:15 荒井吉則 [this message]
2019-12-12 19:43 ` ibus-anthy can not input Japanese on guixSD 1.0.1 sirgazil

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAH2wgjggufzb66tvk6W3uzWuoScD-dqLu0W2hR2rh5YoAz9WHw@mail.gmail.com \
    --to=kumagusu08@gmail.com \
    --cc=help-guix@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).