Re: [問題] debian 無法在瀏覽器上使用fcitx5

看板Linux作者 (hungichen)時間1年前 (2023/02/02 00:26), 1年前編輯推噓0(003)
留言3則, 2人參與, 1年前最新討論串2/2 (看更多)
※ 引述《hungichen (hungichen)》之銘言: : 系統為 debian bullseye : 在 chrome 上無法使用 fcitx5 輸入中文,好像使用 chromium 的瀏覽器都不能使用 : 但是終端上沒有問題,請問有什麼辦法解決嗎? 我後來直接 apt install fcitx5*, 把 fcitx5 開頭的全裝了,還是不行... 補上 diagnose 訊息和設定的變數 1. /etc/environment GTK_IM_MODULE=fcitx QT_IM_MODULE=fcitx XMODIFIERS=@im=fcitx SDL_IM_MODULE=fcitx GLFW_IM_MODULE=ibus 2. diagnose 訊息 # System Info: 1. `uname -a`: Linux xxxxxxxxxx 5.10.0-18-amd64 #1 SMP Debian 5.10.140-1 (2022-09-02) x86_64 GNU/Linux 2. `lsb_release -a`: No LSB modules are available. Distributor ID: Debian Description: Debian GNU/Linux 11 (bullseye) Release: 11 Codename: bullseye 3. `lsb_release -d`: Description: Debian GNU/Linux 11 (bullseye) 4. `/etc/lsb-release`: `/etc/lsb-release` not found. 5. `/etc/os-release`: PRETTY_NAME="Debian GNU/Linux 11 (bullseye)" NAME="Debian GNU/Linux" VERSION_ID="11" VERSION="11 (bullseye)" VERSION_CODENAME=bullseye ID=debian HOME_URL="https://www.debian.org/" SUPPORT_URL="https://www.debian.org/support" BUG_REPORT_URL="https://bugs.debian.org/" 6. Desktop Environment: Cannot determine desktop environment. 7. Bash Version: BASH_VERSION='5.1.4(1)-release' # Environment: 1. DISPLAY: DISPLAY=':0' 2. Keyboard Layout: 1. `setxkbmap`: xkb_keymap { xkb_keycodes { include "evdev+aliases(qwerty)" }; xkb_types { include "complete" }; xkb_compat { include "complete" }; xkb_symbols { include "pc+us(colemak)+inet(evdev)" }; xkb_geometry { include "pc(pc105)" }; }; 2. `xprop`: _XKB_RULES_NAMES(STRING) = "evdev", "pc105", "us", "colemak", "" 3. Locale: 1. All locale: C C.UTF-8 en_US.utf8 POSIX zh_TW.utf8 2. Current locale: LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_CTYPE="en_US.UTF-8" LC_NUMERIC="en_US.UTF-8" LC_TIME="en_US.UTF-8" LC_COLLATE="en_US.UTF-8" LC_MONETARY="en_US.UTF-8" LC_MESSAGES=zh_TW.UTF-8 LC_PAPER="en_US.UTF-8" LC_NAME="en_US.UTF-8" LC_ADDRESS="en_US.UTF-8" LC_TELEPHONE="en_US.UTF-8" LC_MEASUREMENT="en_US.UTF-8" LC_IDENTIFICATION="en_US.UTF-8" LC_ALL= 4. Directories: 1. Home: /home/xxxxxxxxxx 2. `${XDG_CONFIG_HOME}`: Environment variable `XDG_CONFIG_HOME` is not set. Current value of `XDG_CONFIG_HOME` is `~/.config` (`/home/ar/.config`). 3. Fcitx5 Settings Directory: Current fcitx5 settings directory is `~/.config/fcitx5` (`/home/ar/.config/fcitx5`). 5. Current user: The script is run as ar (1000). # Fcitx State: 1. executable: Found fcitx5 at `/usr/bin/fcitx5`. 2. version: Fcitx version: `5.0.5` 3. process: Found 1 fcitx5 process: 723 fcitx5 4. `fcitx5-remote`: `fcitx5-remote` works properly. 5. DBus interface: Using `dbus-send` to check dbus. Owner of DBus name `org.fcitx.Fcitx5` is `:1.7`. PID of DBus name `org.fcitx.Fcitx5` owner is `723`. # Fcitx Configure UI: 1. Config Tool Wrapper: Found fcitx5-configtool at `/usr/bin/fcitx5-configtool`. 2. Config GUI for qt: Found `fcitx5-config-qt` at `/usr/bin/fcitx5-config-qt`. 3. Config GUI for kde: **`kcmshell5` not found.** # Frontends setup: ## Xim: 1. `${XMODIFIERS}`: Environment variable XMODIFIERS is set to "@im=fcitx" correctly. 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. ## 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 fcitx5 qt5 module: `/usr/lib/x86_64-linux-gnu/fcitx5/qt5/libfcitx5-skk-config.so`. Found fcitx5 qt5 module: `/usr/lib/x86_64-linux-gnu/fcitx5/qt5/libfcitx-quickphrase-editor5.so`. Found unknown fcitx qt module: `/usr/lib/x86_64-linux-gnu/fcitx/qt/libfcitx-quickphrase-editor5.so`. Found unknown fcitx qt module: `/usr/lib/x86_64-linux-gnu/qt5/plugins/platforminputcontexts/libfcitxplatforminputcontextplugin.so`. Found fcitx5 im module for qt5: `/usr/lib/x86_64-linux-gnu/qt5/plugins/platforminputcontexts/libfcitx5platforminputcontextplugin.so`. **Cannot find fcitx5 input method module for Qt4.** ## Gtk: 1. gtk - `${GTK_IM_MODULE}`: Environment variable GTK_IM_MODULE is set to "fcitx" correctly. 2. `gtk-query-immodules`: 1. gtk 2: **Cannot find `gtk-query-immodules` for gtk 2** **Cannot find fcitx5 im module for gtk 2.** 2. gtk 3: **Cannot find `gtk-query-immodules` for gtk 3** **Cannot find fcitx5 im module for gtk 3.** 3. Gtk IM module cache: 1. gtk 2: Found immodules cache for gtk `2.24.33` at `/usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/immodules.cache`. Version Line: # Created by /usr/lib/x86_64-linux-gnu/libgtk2.0-0/gtk-query-immodules-2.0 from gtk+-2.24.33 Found fcitx5 im modules for gtk `2.24.33`. "/usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/immodules/im-fcitx5.so" "fcitx" "Fcitx5 (Flexible Input Method Framework5)" "fcitx5" "/usr/locale" "ja:ko:zh:*" "fcitx5" "Fcitx5 (Flexible Input Method Framework5)" "fcitx5" "/usr/locale" "ja:ko:zh:*" 2. gtk 3: Found immodules cache for gtk `3.24.24` at `/usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/immodules.cache`. Version Line: # Created by /usr/lib/x86_64-linux-gnu/libgtk-3-0/gtk-query-immodules-3.0 from gtk+-3.24.24 Found fcitx5 im modules for gtk `3.24.24`. "/usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/immodules/im-fcitx5.so" "fcitx" "Fcitx5 (Flexible Input Method Framework5)" "fcitx5" "/usr/locale" "ja:ko:zh:*" "fcitx5" "Fcitx5 (Flexible Input Method Framework5)" "fcitx5" "/usr/locale" "ja:ko:zh:*" 3. gtk 4: **Cannot find immodules cache for gtk 4** **Cannot find fcitx5 im module for gtk 4 in cache.** 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. 3. gtk 4: All found Gtk 4 immodule files exist. # Configuration: ## Fcitx Addons: 1. Addon Config Dir: Found fcitx5 addon config directory: `/usr/share/fcitx5/addon`. 2. Addon List: 1. Found 33 enabled addons: Chewing Simplified and Traditional Chinese Translation Classic User Inteface Clipboard Cloud Pinyin DBus DBus Frontend Emoji Fcitx4 Frontend Full width character Hangul IBus Frontend Lua IME API Input method selector Keyboard KDE Input Method Panel Lua Addon Loader Mozc Status Notifier Notification Pinyin Extra Pinyin functionality Punctuation Quick Phrase Rime Skk Spell Table Unicode Wayland Wayland Input method frontend XCB X Input Method Frontend 2. Found 0 disabled addons: 3. Addon Libraries: All libraries for all addons are found. 4. User Interface: Found 2 enabled user interface addons: Classic User Inteface KDE Input Method Panel # Log: 1. `date`: Thu 02 Feb 2023 12:16:57 AM CST 2. `/home/ar/.config/fcitx5/crash.log`: `/crash.log` not found. -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 36.229.2.10 (臺灣) ※ 文章網址: https://www.ptt.cc/bbs/Linux/M.1675268791.A.BDA.html ※ 編輯: hungichen (36.229.2.10 臺灣), 02/02/2023 00:33:37

02/02 10:25, 1年前 , 1F
請問有裝完後關閉X 然後重新啟動X嗎?
02/02 10:25, 1F

02/02 13:09, 1年前 , 2F
試了樓上的方法,還是不行
02/02 13:09, 2F

02/02 13:10, 1年前 , 3F
看來要嘛換瀏覽器,要嘛放棄debian了...
02/02 13:10, 3F
文章代碼(AID): #1ZsfAtlQ (Linux)
文章代碼(AID): #1ZsfAtlQ (Linux)