Description
fcitx5-skk does not apply a part of role of libskk.
What does not apply is that this only occurs when including the shift key.
This was confirmed on NixOS and Ubuntu 22.04.
-
Role
https://github.com/ueno/libskk/blob/master/rules/default/rom-kana/default.json -
Expected
Input "z{", output "【" -
Actual
Input "z{", output "{" -
Other
If the following shift key is not included, the behavior is as expected.
Input "zl", output "→"
Also, when libskk was called directly from the command line, it behaved as expected.echo "z {" | skk { "input": "z {", "output": "【", "preedit": "" }
Here is the output of fcitx5-diagnose:
System Info:
-
uname -a
:Linux stacia 6.10.11 #1-NixOS SMP PREEMPT_DYNAMIC Wed Sep 18 17:25:18 UTC 2024 x86_64 GNU/Linux
-
lsb_release
:lsb_release
not found. -
/etc/lsb-release
:DISTRIB_CODENAME=vicuna DISTRIB_DESCRIPTION="NixOS 24.11 (Vicuna)" DISTRIB_ID=nixos DISTRIB_RELEASE="24.11" LSB_VERSION="24.11 (Vicuna)"
-
/etc/os-release
:ANSI_COLOR="1;34" BUG_REPORT_URL="https://github.com/NixOS/nixpkgs/issues" BUILD_ID="24.11.20240921.9357f4f" DOCUMENTATION_URL="https://nixos.org/learn.html" HOME_URL="https://nixos.org/" ID=nixos IMAGE_ID="" IMAGE_VERSION="" LOGO="nix-snowflake" NAME=NixOS PRETTY_NAME="NixOS 24.11 (Vicuna)" SUPPORT_URL="https://nixos.org/community.html" VERSION="24.11 (Vicuna)" VERSION_CODENAME=vicuna VERSION_ID="24.11"
-
Desktop Environment:
Cannot determine desktop environment.
-
XDG SESSION TYPE:
XDG_SESSION_TYPE='x11'
-
Bash Version:
BASH_VERSION='5.2.32(1)-release'
Environment:
-
DISPLAY:
DISPLAY=':0' WAYLAND_DISPLAY=''
-
Keyboard Layout:
-
setxkbmap
:xkb_keymap { xkb_keycodes { include "evdev+aliases(qwerty)" }; xkb_types { include "complete" }; xkb_compat { include "complete" }; xkb_symbols { include "pc+us+inet(evdev)+ctrl(nocaps)" }; xkb_geometry { include "pc(pc104)" }; };
-
xprop
:_XKB_RULES_NAMES(STRING) = "evdev", "pc104", "us", "", "ctrl:nocaps"
-
-
Locale:
-
All locales:
C en_US.utf8 ja_JP.utf8 POSIX
-
Current locale:
LANG=en_US.UTF-8 LC_CTYPE="en_US.UTF-8" LC_NUMERIC="en_US.UTF-8" LC_TIME=ja_JP.UTF-8 LC_COLLATE="en_US.UTF-8" LC_MONETARY=ja_JP.UTF-8 LC_MESSAGES="en_US.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=
-
-
Directories:
-
Home:
/home/sumi
-
${XDG_CONFIG_HOME}
:Environment variable
XDG_CONFIG_HOME
is set to/home/sumi/.config
.Current value of
XDG_CONFIG_HOME
is~/.config
(/home/sumi/.config
). -
Fcitx5 Settings Directory:
Current fcitx5 settings directory is
~/.config/fcitx5
(/home/sumi/.config/fcitx5
).
-
-
Current user:
The script is run as sumi (1000).
Fcitx State:
-
executable:
Found fcitx5 at
/etc/profiles/per-user/sumi/bin/fcitx5
. -
version:
Fcitx version:
5.1.10
-
process:
Found 1 fcitx5 process:
2343402 .fcitx5-wrapped
-
fcitx5-remote
:fcitx5-remote
works properly. -
DBus interface:
Using
dbus-send
to check dbus.Owner of DBus name
org.fcitx.Fcitx5
is:1.12615
.PID of DBus name
org.fcitx.Fcitx5
owner is2343402
.Debug information from dbus:
Group [x11::0] has 6 InputContext(s) IC [0f1b1a21b97743cab33dfb47c2a293d8] program:.vivaldi-wrapped frontend:dbus cap:6000000032 focus:0 IC [cd83e81baffe48d6956708c50997fbc2] program:.vivaldi-wrapped frontend:dbus cap:6000000032 focus:0 IC [2c4aaf6f7c0641a49d7ee53077be2a3b] program:wezterm-gui frontend:xim cap:4000000012 focus:1 IC [e3074561133f473ca03bd66741fe3e99] program:.vivaldi-wrapped frontend:dbus cap:6000000032 focus:0 IC [548fb08a848e4bd9836a17868640b53b] program:Discord frontend:dbus cap:6000000032 focus:0 IC [9540166c1c8f45269565bfbb73b2b63a] program:spotify frontend:dbus cap:6000000032 focus:0 Input Context without group
Fcitx Configure UI:
-
Config Tool Wrapper:
Found fcitx5-configtool at
/etc/profiles/per-user/sumi/bin/fcitx5-configtool
. -
Config GUI for qt:
Found
fcitx5-config-qt
at/etc/profiles/per-user/sumi/bin/fcitx5-config-qt
. -
Config GUI for kde:
kcmshell5
not found.
Frontends setup:
The environment variable checked by this script only shows the environment under current shell. It is still possible that you did not set the environment to the whole graphic desktop session. You may inspect the actual environment variable of a certain process by using xargs -0 -L1 /proc/$PID/environ
for a certain process that you find not working.
Xim:
-
${XMODIFIERS}
:Environment variable XMODIFIERS is set to "@im=fcitx" correctly.
Xim Server Name from Environment variable is fcitx. -
XIM_SERVERS on root window:
Xim server name is the same with that set in the environment variable.
Qt:
-
qt4 -
${QT4_IM_MODULE}
:Environment variable QT_IM_MODULE is set to "fcitx" correctly.
fcitx5-qt4-immodule-probing
not found. -
qt5 -
${QT_IM_MODULE}
:Environment variable QT_IM_MODULE is set to "fcitx" correctly.
Using fcitx5-qt5-immodule-probing to check the actual im module to be used under current environment:
QT_QPA_PLATFORM=xcb QT_IM_MODULE=fcitx IM_MODULE_CLASSNAME=fcitx::QFcitxPlatformInputContext
-
qt6 -
${QT_IM_MODULE}
:Environment variable QT_IM_MODULE is set to "fcitx" correctly.
Using fcitx5-qt6-immodule-probing to check the actual im module to be used under current environment:
QT_QPA_PLATFORM=xcb QT_IM_MODULE=fcitx IM_MODULE_CLASSNAME=fcitx::QFcitxPlatformInputContext
-
Qt IM module files:
Following error may not be accurate because guessing Qt version from path depends on how your distribution packages Qt. It is not a critical error if you do not use any Qt application with certain version of Qt or you are using text-input support by Qt under Wayland.
Cannot find fcitx5 input method module for Qt4.
Cannot find fcitx5 input method module for Qt5.
Cannot find fcitx5 input method module for Qt6.
Gtk:
-
gtk -
${GTK_IM_MODULE}
:Environment variable GTK_IM_MODULE is set to "fcitx" correctly.
fcitx5-gtk2-immodule-probing
not found.Using fcitx5-gtk3-immodule-probing to check the actual im module to be used under current environment:
GTK_IM_MODULE=fcitx
Using fcitx5-gtk4-immodule-probing to check the actual im module to be used under current environment:
GTK_IM_MODULE=fcitx
-
gtk-query-immodules
:-
gtk 2:
Cannot find
gtk-query-immodules
for gtk 2Cannot find fcitx5 im module for gtk 2.
-
gtk 3:
Cannot find
gtk-query-immodules
for gtk 3Cannot find fcitx5 im module for gtk 3.
-
-
Gtk IM module cache:
-
gtk 2:
Cannot find immodules cache for gtk 2
Cannot find fcitx5 im module for gtk 2 in cache.
-
gtk 3:
Cannot find immodules cache for gtk 3
Cannot find fcitx5 im module for gtk 3 in cache.
-
-
Gtk IM module files:
-
gtk 2:
All found Gtk 2 immodule files exist.
-
gtk 3:
All found Gtk 3 immodule files exist.
-
gtk 4:
All found Gtk 4 immodule files exist.
-
Configuration:
Fcitx Addons:
-
Addon Config Dir:
Found fcitx5 addon config directory:
/nix/store/c8vl45ls6m4d8cnqq0lnmjs6f1f7jxwn-fcitx5-5.1.10/share/fcitx5/addon
. -
Addon List:
-
Found 20 enabled addons:
Classic User Interface 5.1.10 Clipboard 5.1.10 DBus 5.1.10 DBus Frontend 5.1.10 Emoji 5.1.10 Fcitx4 Frontend 5.1.10 IBus Frontend 5.1.10 Input method selector 5.1.10 Keyboard 5.1.10 KDE Input Method Panel 5.1.10 Status Notifier 5.1.10 Notification 5.1.10 Quick Phrase 5.1.10 Spell 5.1.10 Unicode 5.1.10 DBus Virtual Keyboard 5.1.10 Wayland 5.1.10 Wayland Input method frontend 5.1.10 XCB 5.1.10 X Input Method Frontend 5.1.10
-
Found 0 disabled addons:
-
-
Addon Libraries:
All libraries for all addons are found.
-
User Interface:
Found 3 enabled user interface addons:
Classic User Interface KDE Input Method Panel DBus Virtual Keyboard
Input Methods:
-
/home/sumi/.config/fcitx5/profile
:[Groups/0] # Group Name Name=Default # Layout Default Layout=us # Default Input Method DefaultIM=keyboard-us [Groups/0/Items/0] # Name Name=keyboard-us # Layout Layout= [Groups/1] # Group Name Name=EN # Layout Default Layout=us # Default Input Method DefaultIM=keyboard-us [Groups/1/Items/0] # Name Name=keyboard-us # Layout Layout= [Groups/2] # Group Name Name=SKK # Layout Default Layout=us # Default Input Method DefaultIM=keyboard-us [Groups/2/Items/0] # Name Name=skk # Layout Layout= [Groups/2/Items/1] # Name Name=keyboard-us # Layout Layout= [GroupOrder] 0=SKK 1=EN 2=Default
Log:
-
date
:2024年 10月 6日 日曜日 15:24:28 JST
-
/home/sumi/.config/fcitx5/crash.log
:/home/sumi/.config/fcitx5/crash.log
not found.
Warning: the output of fcitx5-diagnose contains sensitive information, including the distribution name, kernel version, name of currently running programs, etc.
Though such information can be helpful to developers for diagnostic purpose, please double check and remove as necessary before posting it online publicly.