我的区域设置设置为“en_NZ.UTF-8”。没有列出该名称的目录ls "$(nix eval -f '<nixpkgs>' --raw xorg.libX11)/share/X11/locale/"
,并且 X 应用程序甚至不会尝试读取撰写键从该目录:
❯ strace xterm -e true 2>&1 | grep -i "$(nix eval -f '<nixpkgs>' --raw xorg.libX11)/share/X11/locale/en_"
access("/nix/store/z5dlm8l0yzh4d3l2370lb1m2hfmcdfiy-libX11-1.8.6/share/X11/locale/en_US.UTF-8/XLC_LOCALE", R_OK) = 0
openat(AT_FDCWD, "/nix/store/z5dlm8l0yzh4d3l2370lb1m2hfmcdfiy-libX11-1.8.6/share/X11/locale/en_US.UTF-8/XLC_LOCALE", O_RDONLY) = 4
access("/nix/store/z5dlm8l0yzh4d3l2370lb1m2hfmcdfiy-libX11-1.8.6/share/X11/locale/en_US.UTF-8/Compose", R_OK) = 0
newfstatat(AT_FDCWD, "/nix/store/z5dlm8l0yzh4d3l2370lb1m2hfmcdfiy-libX11-1.8.6/share/X11/locale/en_US.UTF-8/Compose", {st_mode=S_IFREG|0444, st_size=460228, ...}, 0) = 0
newfstatat(AT_FDCWD, "/nix/store/z5dlm8l0yzh4d3l2370lb1m2hfmcdfiy-libX11-1.8.6/share/X11/locale/en_US.UTF-8/Compose", {st_mode=S_IFREG|0444, st_size=460228, ...}, 0) = 0
那么是什么决定了组合键应该来自“en_我们.UTF-8”语言环境?