fcitxが起動しない
設定とかはfcitxが起動しないを参照
突如起動しなくなった.
恒例のfcitx-diagnose
gtk2とかqt4は使ってないのでその部分は違くて,それ以外の部分でエラー吐いてるところは
$ fcitx-diagnose
...
# Fcitx State:
...
3. process:
**Fcitx is not running.**
**Please check the Configure link of your distribution in [Beginner's Guide](http://fcitx-im.org/wiki/Beginner%27s_Guide) for how to setup fcitx autostart.**
...
# Frontends setup:
## Xim:
...
2. XIM_SERVERS on root window:
**Cannot find xim_server on root window.**
こんな感じ.
fcitxをコマンドから起動させようとすると,
> fcitx
...
(INFO-54092 addon.c:151) Load Addon Config File:fcitx-keyboard.conf
(WARN-54092 dbusstuff.c:197) Connection Error (Failed to connect to socket /run/user/1000/bus: No such file or directory)
dbus系のエラー.
解決法
~/.xprofile
の最初にeval "$(dbus-launch --sh-syntax --exit-with-session)"
を追記して,
#!/bin/sh
eval "$(dbus-launch --sh-syntax --exit-with-session)"
export XMODIFIERS=@im=fcitx
export QT_IM_MODULE=fcitx
export GTK_IM_MODULE=fcitx
にして再起動したら出来た.
~/.xinitrc
にすでに
exec dbus-launch --exit-with-session i3
って書いてあるのだけどね.