You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
WARNING: Running setxkbmap against an XWayland server
xkb_keymap {
xkb_keycodes { include "evdev+aliases(qwerty)" };
xkb_types { include "complete" };
xkb_compat { include "complete" };
xkb_symbols { include "pc+us+inet(evdev)" };
xkb_geometry { include "pc(pc105)" };
};
Group [x11::1] has 1 InputContext(s)
IC [9c7f276f076f472a9bfed346efaa6b26] program:microsoft-edge frontend:dbus cap:6000000012 focus:0
Group [wayland:] has 6 InputContext(s)
IC [206f995d4eab42a1a9617994896cd297] program:plasmashell frontend:dbus cap:e001800072 focus:0
IC [836502ff715d44d6a16f856f157663d5] program:plasmashell frontend:dbus cap:e001820072 focus:0
IC [3b5d80761a4348ef9564c4959af1ef95] program:plasmashell frontend:dbus cap:e801800072 focus:0
IC [593d7f046fdb44799b06297dec03a903] program:kate frontend:dbus cap:e001800072 focus:0
IC [c30787b8423a49d79bd182f874e8ac30] program:konsole frontend:dbus cap:e001800072 focus:1
IC [b1e05a645e884b45a9e9b9134d47731f] program:dolphin frontend:dbus cap:e001800072 focus:0
Input Context without group
local/fcitx5-lua-git 5.0.9.r1.gd8d2c3d-1
Lua support for fcitx5, with an imeapi addon implementing googlepinyin api
local/lua 5.4.4-2
Powerful lightweight programming language designed for extending applications
local/lua-basexx 0.4.1-2
A Lua library which provides base2(bitfield), base16(hex), base32(crockford/rfc), base64(rfc/url), base85(z85) decoding and encoding for Lua 5.4
local/lua-binaryheap 0.4-2
Binary heap implementation for Lua 5.4
local/lua-cjson 2.1.0-5
A fast JSON parsing and encoding support for Lua.
local/lua-cqueues 20200726-3
Continuation Queues: Embeddable asynchronous networking, threading, and notification framework for Lua 5.4
local/lua-dkjson 2.6-1
David Kolf’s Pure Lua JSON module with UTF-8 support and no external dependencies for Lua 5.4
local/lua-fifo 0.2-1
Fifo library for Lua 5.4
local/lua-http 0.4-1
HTTP Library for Lua 5.4
local/lua-language-server 3.5.3-1
Lua Language Server coded by Lua
local/lua-lpeg 1.0.2-4
Pattern-matching library for Lua 5.4
local/lua-lpeg-patterns 0.5-1
A collection of LPEG patterns for Lua 5.4
local/lua-luaossl 20220711-1
Most comprehensive OpenSSL module in the Lua universe for Lua 5.4
local/lua-sec 2:1.1.0-1
Lua bindings for OpenSSL library to provide TLS/SSL communication for Lua 5.4
local/lua-socket 1:3.1.0-1
Networking support library for the Lua language
local/lua51 5.1.5-9
Powerful lightweight programming language designed for extending applications
local/lua52 5.2.4-5
Powerful lightweight programming language designed for extending applications
local/lua53 5.3.6-1
Powerful lightweight programming language designed for extending applications
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
我这边想做一个在快速输入 (
QuickPhrase
) 中查询热词的脚本,访问下面这个API,然后把返回值添加到快速输入的候选词中:在arch下安装
lua-socket
和lua-dkjson
包后,编写如下脚本:把
fcitx
包换掉后,用Lua直接执行它lua xg.lua
时一切正常;将脚本复制到插件目录后重启fcitx5再执行,vxg刚打完,进程就挂了经过多次log定位,是在request语句上出了问题
附上 `fcitx5-diagnose` ,点击展开
系统信息:
uname -a
:lsb_release
:lsb_release
未找到./etc/lsb-release
:/etc/lsb-release
未找到./etc/os-release
:桌面环境:
桌面环境为
kde
。XDG 会话类型:
Bash 版本:
环境:
DISPLAY:
键盘布局:
setxkbmap
:xprop
:Locale:
全部可用 locale:
当前 locale:
目录:
主目录:
${XDG_CONFIG_HOME}
:环境变量
XDG_CONFIG_HOME
没有设定。XDG_CONFIG_HOME
的当前值是~/.config
(/home/tis/.config
)。Fcitx5 设置目录:
当前 fcitx5 设置目录是
~/.config/fcitx5
(/home/tis/.config/fcitx5
)。当前用户:
脚本作为 tis (1000) 运行。
Fcitx 状态:
可执行文件:
在
/usr/bin/fcitx5
找到了 fcitx5。版本:
Fcitx 版本:
5.0.19
进程:
找到了 2 个 fcitx5 进程:
fcitx5-remote
:fcitx5-remote
工作正常。DBus 界面:
使用
dbus-send
来检查 dbus。DBus 名称
org.fcitx.Fcitx5
的所有者是:1.268
。DBus 名称
org.fcitx.Fcitx5
的 PID 所有者是6322
。来自 dbus 的调试信息:
Fcitx 配置界面:
配置工具封装:
在
/usr/bin/fcitx5-configtool
找到了 fcitx5-configtool。Qt 的配置界面:
在
/usr/bin/fcitx5-config-qt
找到了fcitx5-config-qt
。KDE 的配置界面:
找到了 fcitx5 的 kcm 模块。
前端设置:
Xim:
${XMODIFIERS}
:环境变量 XMODIFIERS 已经正确地设为了“@im=fcitx”。
从环境变量中获取的 Xim 服务名称为 fcitx.
根窗口上的 XIM_SERVERS:
Xim 服务的名称与环境变量中设置的相同。
Qt:
qt4 -
${QT4_IM_MODULE}
:环境变量 QT_IM_MODULE 已经正确地设为了“fcitx”。
qt5 -
${QT_IM_MODULE}
:环境变量 QT_IM_MODULE 已经正确地设为了“fcitx”。
Qt 输入法模块文件:
找到了未知的 fcitx qt 模块:
/usr/lib/office6/qt/plugins/platforminputcontexts/libfcitxplatforminputcontextplugin.so
。找到了 fcitx5 qt5 模块:
/usr/lib/fcitx5/qt5/libfcitx-quickphrase-editor5.so
。找到了 fcitx5 的 qt6 输入法模块:
/usr/lib/qt6/plugins/platforminputcontexts/libfcitx5platforminputcontextplugin.so
。找到了 fcitx5 的 qt 输入法模块:
/usr/lib/qt/plugins/platforminputcontexts/libfcitx5platforminputcontextplugin.so
。找到了未知的 fcitx qt 模块:
/usr/lib/qt/plugins/kcms/kcm_fcitx5.so
。无法找到 Qt4 的 fcitx5 输入法模块。
Gtk:
gtk -
${GTK_IM_MODULE}
:环境变量 GTK_IM_MODULE 已经正确地设为了“fcitx”。
gtk-query-immodules
:gtk 2:
在
/usr/bin/gtk-query-immodules-2.0
找到了 gtk2.24.33
的gtk-query-immodules
。版本行:
已找到 gtk
2.24.33
的 fcitx5 输入法模块。gtk 3:
在
/usr/bin/gtk-query-immodules-3.0
找到了 gtk3.24.34
的gtk-query-immodules
。版本行:
已找到 gtk
3.24.34
的 fcitx5 输入法模块。Gtk 输入法模块缓存:
gtk 2:
在
/usr/lib/gtk-2.0/2.10.0/immodules.cache
找到了 gtk2.24.33
的输入法模块缓存。版本行:
已找到 gtk
2.24.33
的 fcitx5 输入法模块。gtk 3:
在
/usr/lib/gtk-3.0/3.0.0/immodules.cache
找到了 gtk3.24.34
的输入法模块缓存。版本行:
已找到 gtk
3.24.34
的 fcitx5 输入法模块。gtk 4:
无法找到 gtk 4 的输入法模块缓存
无法在缓存中找到 gtk 4 的 fcitx5 输入法模块。
Gtk 输入法模块文件:
gtk 2:
找到的全部 Gtk 2 输入法模块文件均存在。
gtk 3:
找到的全部 Gtk 3 输入法模块文件均存在。
gtk 4:
找到的全部 Gtk 4 输入法模块文件均存在。
配置:
Fcitx 插件:
插件配置文件目录:
找到了 fcitx5 的插件配置目录:
/usr/share/fcitx5/addon
。插件列表:
找到了 28 个已启用的插件:
找到了 0 个被禁用的插件:
插件库:
所有插件所需的库都被找到。
用户界面:
找到了 2 个已启用的用户界面插件:
输入法:
/home/tis/.config/fcitx5/profile
:日志:
date
:/home/tis/.config/fcitx5/crash.log
:警告:fcitx5-diagnose 的输出可能包含敏感信息,包括发行版名称,内核版本,正在运行的程序名称等。
尽管这些信息对于开发者诊断问题有帮助,请在公开发送到在线网站前检查并且根据需要移除的对应信息。
pacman -Qs lua
Beta Was this translation helpful? Give feedback.
All reactions