You are not logged in.

#1 2014-12-14 22:22:34

IamFuzzles
Member
Registered: 2012-08-20
Posts: 8

Problems with Japanese Input [solved]

I've been trying to get Japanese input working on my system for a few days now with no luck. I've been using the wiki article and tried the following methods:

uim - no luck whatsoever. I installed it with anthy, but the hotkey doesn't change input, and it seems to have no affect.

fcitx - a bit better. I installed it with fcitx-mozc. I get the icon working, and the hotkey visibly changes the icon to show the input switch. Typing brings up a kana suggestion box and all seems to work well. However, this only works in my terminal (urxvt) and has no affect at all in my other applications.

ibus - again, no luck. I tried using ibus with ibus-kkc . I get the icon, and the hotkey seems to change the icon to show an input switch, but there's no affect on my actual input in any application.

I've been posting to the arch linux subreddit, so here's an overview of what I've tried and what's been suggested:

http://www.reddit.com/r/archlinux/comme … ith_fcitx/

If there are any more details needed please let me know. Thanks in advance for any help, this has been a huge pain.

EDIT: I can't believe I forgot to put this as others have pointed out. I'm using lightdm for my display manager with herbstluftwm as my wm.

Last edited by IamFuzzles (2014-12-18 01:15:29)

Offline

#2 2014-12-15 01:48:23

drcouzelis
Member
From: Connecticut, USA
Registered: 2009-11-09
Posts: 4,092
Website

Re: Problems with Japanese Input [solved]

I used this article on SCIM years ago to setup Japanese input and it has always just worked. If you decide to try that method and it STILL doesn't work, please post step by step what you did to set it up.

IamFuzzles wrote:

However, this only works in my terminal (urxvt) and has no affect at all in my other applications.

What applications did you try? For example, even though the method I use above works great for me, it actually doesn't work in... something, Qt5 applications, I think. Fortunately, I don't use any Qt5 applications. tongue

Offline

#3 2014-12-15 08:37:56

Goresome
Member
From: Russia
Registered: 2011-12-06
Posts: 67

Re: Problems with Japanese Input [solved]

Since post lacks information on what you have exactly done it could be useful to reiterate some points.
In GNOME3 IBus should work from the box, provided you installed input method and added it in system settings (I use kkc). GNOME breaks all other input methods except IBus, so that is your porbably best shot.
In other DE (or we should say more generic method) you should set environment variables and start input method daemon. For KDE and MATE (I start X with sddm) I put in .xprofile

 export GTK_IM_MODULE=fcitx
 export QT_IM_MODULE=fcitx
 export XMODIFIERS=@im=fcitx
fcitx -d -r
local/fcitx 4.2.8.5-6 (fcitx-im)
local/fcitx-configtool 0.4.8-1
local/fcitx-gtk2 4.2.8.5-6 (fcitx-im)
local/fcitx-gtk3 4.2.8.5-6 (fcitx-im)
local/fcitx-kkc 0.1.1-1
local/fcitx-qt4 4.2.8.5-6 (fcitx-im)
local/fcitx-qt5 0.1.3-1

Offline

#4 2014-12-15 17:33:02

ben.pote
Member
Registered: 2014-02-14
Posts: 6

Re: Problems with Japanese Input [solved]

Not sure what DE/WM you're using. I'm using i3 with fcitx and I have Japanese input working very well using Mosc. I have the following in my .xinitrc:

export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export XMODIFIERS="@im=fcitx"
fcitx

This works in both terminal applications (I use urxvt, I can type Japanese characters in weechat, vim, etc) and graphical applications.

Offline

#5 2014-12-15 23:10:04

IamFuzzles
Member
Registered: 2012-08-20
Posts: 8

Re: Problems with Japanese Input [solved]

ben.pote wrote:

Not sure what DE/WM you're using. I'm using i3 with fcitx and I have Japanese input working very well using Mosc. I have the following in my .xinitrc:

export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export XMODIFIERS="@im=fcitx"
fcitx

This works in both terminal applications (I use urxvt, I can type Japanese characters in weechat, vim, etc) and graphical applications.

I'm using herbstluftwm. I'll try this. By the way, which input module do you use? (from the wiki article, they mention fcitx-gtk2, fcitx-gtk3, fcitx-qt4 and fcitx-qt5).

Offline

#6 2014-12-16 14:28:53

ben.pote
Member
Registered: 2014-02-14
Posts: 6

Re: Problems with Japanese Input [solved]

Output of pacman -Q | grep fcitx:

133:fcitx 4.2.8.5-6
134:fcitx-configtool 0.4.8-1
135:fcitx-googlepinyin 0.1.6-4
136:fcitx-gtk2 4.2.8.5-6
137:fcitx-gtk3 4.2.8.5-6
138:fcitx-hangul 0.3.0-1
139:fcitx-kkc 0.1.1-1
140:fcitx-qt4 4.2.8.5-6
141:fcitx-rime 0.3.1-2
142:fcitx-sogoupinyin 1.1.0.0037-3
143:fcitx-sunpinyin 0.4.1-1

I unfortunately only use chromium and anki for graphical applications, really, and do most everything else in the terminal so I'm not sure about wide compatibility with lots of different GTK and Qt applications, but this has worked in everything I've tried. Hope that helps!

Offline

#7 2014-12-16 14:34:17

Goresome
Member
From: Russia
Registered: 2011-12-06
Posts: 67

Re: Problems with Japanese Input [solved]

There shouldn't be any compatibility issues: if app uses GTK3 then install gtk3 module etc. Exotic toolkits or plain X apps should obey XMODIFIERS.
The only thing I can think of is Qt4 not obeying QT_IM_MODULE, then you have to change it manually in qtconfig-qt4.

Offline

#8 2014-12-18 01:15:02

IamFuzzles
Member
Registered: 2012-08-20
Posts: 8

Re: Problems with Japanese Input [solved]

ben.pote wrote:

Not sure what DE/WM you're using. I'm using i3 with fcitx and I have Japanese input working very well using Mosc. I have the following in my .xinitrc:

export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export XMODIFIERS="@im=fcitx"
fcitx

This works in both terminal applications (I use urxvt, I can type Japanese characters in weechat, vim, etc) and graphical applications.

I had these before, so I'm not sure why, but this worked. No clue what I might have changed, but trying this AGAIN worked this time. Thanks for all the help!

Offline

Board footer

Powered by FluxBB