急,请教中文输入的问题:本人用的是:dwm+alacritty+ranger;终端及wps无法中文输入,但火狐及chrome可以,请帮忙,高手们;
本人的.xintrc
#export LANG=zh_CN.UTF-8
#export LANGUAGE=zh_CN:en_US
#fcitx
export XIM="fcitx"
#export XIM_PROGRAM=fcitx
export GTK_IM_MODULE="fcitx"
export QT_IM_MODULE="fcitx"
export XMODIFIERS="@IM=fcitx"
fcitx &
本人的wps也加上面那那个设置
是不是与DWM的config.h冲突啊?
最近编辑记录 mayou147477 (2020-06-24 18:15:20)
离线
fcitx-diagnose
离线
所在地: a.k.a. 百合仙子
fcitx-diagnose??
不是很明白?
离线
是要安装
fcitx-diagnose?
离线
是要安装
fcitx-diagnose?
是要运行fcitx-diagnose,把输出贴上来
离线
4. Directories:
1. Home:
/home/liangyj
2. `${XDG_CONFIG_HOME}`:
Environment variable `XDG_CONFIG_HOME` is not set.
Current value of `XDG_CONFIG_HOME` is `~/.config` (`/home/liangyj/.config`).
3. Fcitx Settings Directory:
Current fcitx settings directory is `~/.config/fcitx` (`/home/liangyj/.config/fcitx`).
5. Current user:
The script is run as liangyj (1001).
# Fcitx State:
1. executable:
Found fcitx at `/usr/bin/fcitx`.
2. version:
Fcitx version: `4.2.9.7`
3. process:
Found 2 fcitx processes:
478 fcitx
503 fcitx-dbus-watc
4. `fcitx-remote`:
`fcitx-remote` works properly.
5. DBus interface:
Using `dbus-send` to check dbus.
Owner of DBus name `org.fcitx.Fcitx` is `:1.1`.
PID of DBus name `org.fcitx.Fcitx` owner is `478`.
# Fcitx Configure UI:
1. Config Tool Wrapper:
Found fcitx-configtool at `/usr/bin/fcitx-configtool`.
2. Config GUI for gtk2:
**Config GUI for gtk2 not found.**
3. Config GUI for gtk3:
Found `fcitx-config-gtk3` at `/usr/bin/fcitx-config-gtk3`.
4. Config GUI for kde:
**`kcmshell4` not found.**
# Frontends setup:
## Xim:
1. `${XMODIFIERS}`:
**Environment variable XMODIFIERS is "@IM=fcitx" instead of "@im=fcitx". Please check if you have exported it incorrectly in any of your init files.**
**Please set environment variable XMODIFIERS to "@im=fcitx" using the tool your distribution provides or add `export XMODIFIERS=@im=fcitx` to your `~/.xprofile`. See [Input Method Related Environment Variables: XMODIFIERS](http://fcitx-im.org/wiki/Input_method_r … XMODIFIERS).**
**Cannot interpret XMODIFIERS: @IM=fcitx.**
Xim Server Name from Environment variable is fcitx.
2. XIM_SERVERS on root window:
Xim server name is the same with that set in the environment variable.
3. XIM encoding:
**Your LC_CTYPE is set to en_US.UTF-8 whose encoding is not UTF-8. You may have trouble committing strings using XIM.**
## Qt:
1. qt4 - `${QT4_IM_MODULE}`:
Environment variable QT_IM_MODULE is set to "fcitx" correctly.
2. qt5 - `${QT_IM_MODULE}`:
Environment variable QT_IM_MODULE is set to "fcitx" correctly.
3. Qt IM module files:
Found fcitx im module for Qt4: `/usr/lib/qt4/plugins/inputmethods/qtim-fcitx.so`.
Found fcitx qt module: `/usr/lib/fcitx/qt/libfcitx-quickphrase-editor5.so`.
Found fcitx im module for Qt5: `/usr/lib/qt/plugins/platforminputcontexts/libfcitxplatforminputcontextplugin.so`.
## Gtk:
1. gtk - `${GTK_IM_MODULE}`:
Environment variable GTK_IM_MODULE is set to "fcitx" correctly.
2. `gtk-query-immodules`:
1. gtk 2:
Found `gtk-query-immodules` for gtk `2.24.32` at `/usr/bin/gtk-query-immodules-2.0`.
Version Line:
# Created by /usr/bin/gtk-query-immodules-2.0 from gtk+-2.24.32
Found fcitx im modules for gtk `2.24.32`.
"/usr/lib/gtk-2.0/2.10.0/immodules/im-fcitx.so"
"fcitx" "Fcitx (Flexible Input Method Framework)" "fcitx" "/usr/share/locale" "ja:ko:zh:*"
2. gtk 3:
Found `gtk-query-immodules` for gtk `3.24.20` at `/usr/bin/gtk-query-immodules-3.0`.
Version Line:
# Created by /usr/bin/gtk-query-immodules-3.0 from gtk+-3.24.20
Found fcitx im modules for gtk `3.24.20`.
"/usr/lib/gtk-3.0/3.0.0/immodules/im-fcitx.so"
"fcitx" "Fcitx (Flexible Input Method Framework)" "fcitx" "/usr/share/locale" "ja:ko:zh:*"
3. Gtk IM module cache:
1. gtk 2:
Found immodules cache for gtk `2.24.32` at `/usr/lib/gtk-2.0/2.10.0/immodules.cache`.
Version Line:
# Created by /usr/bin/gtk-query-immodules-2.0 from gtk+-2.24.32
Found fcitx im modules for gtk `2.24.32`.
"/usr/lib/gtk-2.0/2.10.0/immodules/im-fcitx.so"
"fcitx" "Fcitx (Flexible Input Method Framework)" "fcitx" "/usr/share/locale" "ja:ko:zh:*"
2. gtk 3:
Found immodules cache for gtk `3.24.20` at `/usr/lib/gtk-3.0/3.0.0/immodules.cache`.
Version Line:
# Created by /usr/bin/gtk-query-immodules-3.0 from gtk+-3.24.20
Found fcitx im modules for gtk `3.24.20`.
"/usr/lib/gtk-3.0/3.0.0/immodules/im-fcitx.so"
"fcitx" "Fcitx (Flexible Input Method Framework)" "fcitx" "/usr/share/locale" "ja:ko:zh:*"
4. Gtk IM module files:
1. gtk 2:
All found Gtk 2 immodule files exist.
2. gtk 3:
All found Gtk 3 immodule files exist.
# Configuration:
## Fcitx Addons:
1. Addon Config Dir:
Found fcitx addon config directory: `/usr/share/fcitx/addon`.
2. Addon List:
1. Found 34 enabled addons:
fcitx-autoeng
fcitx-autoeng-ng
fcitx-chttrans
fcitx-classic-ui
fcitx-clipboard
fcitx-dbus
fcitx-freedesktop-notify
fcitx-fullwidth-char
fcitx-fullwidth-char-enhance
fcitx-imselector
fcitx-ipc
fcitx-ipcportal
fcitx-keyboard
fcitx-kimpanel-ui
fcitx-lua
fcitx-notificationitem
fcitx-pinyin
fcitx-pinyin-enhance
fcitx-punc
fcitx-punc-ng
fcitx-quickphrase
fcitx-remote
fcitx-sogoucloudpinyin
fcitx-sogoupinyin
fcitx-sogouwubi
fcitx-spell
fcitx-sunpinyin
fcitx-table
fcitx-unicode
fcitx-vk
fcitx-x11
fcitx-xim
fcitx-xkb
fcitx-xkbdbus
2. Found 1 disabled addons:
fcitx-qw
3. Addon Libraries:
**Cannot find following required libraries for `fcitx-lua.so` of addon `fcitx-lua`.**
liblua.so.5.3
4. User Interface:
Found 2 enabled user interface addons:
fcitx-classic-ui
fcitx-kimpanel-ui
## Input Methods:
1. Found 8 enabled input methods:
fcitx-keyboard-us
sunpinyin
pinyin
shuangpin
wubi
wbpy
sogoupinyin
sogouwubi
2. Default input methods:
You have a keyboard input method "fcitx-keyboard-us" correctly added as your default input method.
# Log:
1. `date`:
Sun 28 Jun 2020 07:58:23 AM CST
2. `~/.config/fcitx/log/`:
total 0
3. `~/.config/fcitx/log/crash.log`:
`~/.config/fcitx/log/crash.log` not found.
好多,不是很明白~
离线
fcitx-diagnose
把"@IM=fcitx改成 "@im=fcitx也不行?fcitx-diagnose看不是很懂~,有在的请教一下
离线
把"@IM=fcitx改成 "@im=fcitx也不行?fcitx-diagnose看不是很懂~,有在的请教一下
改了之后 source .xintrc 一下试试。
GTK_IM_MODULE=fcitx
QT_IM_MODULE=fcitx
XMODIFIERS=@im=fcitx
这是我的 .pam_environment,你可以参考下。
离线
依云 说:fcitx-diagnose
把"@IM=fcitx改成 "@im=fcitx也不行?fcitx-diagnose看不是很懂~,有在的请教一下
改了还要重新登录。如果还有问题就再跑看看。
离线
还是不行,
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export XMODIFIERS="@im=fcitx"后,只能开一次,网页都打不开fcitx,et下能开fcitx但打完字按空格就死!把@im改成IM网页能把打中文!
愁死了~
离线