Package: im-config
Version: 0.46-1
Severity: normal
When using wayland, /etc/profile.d/im-config_wayland.sh is used to execute
script /etc/X11/Xsession.d/70im-config_launch , but if the user sets
/usr/bin/zsh as login shell, it uses /etc/zsh/zprofile instead of
/etc/profile, and in turn scripts under /etc/profile.d are not executed.
My workaround is to add `export SHELL="/usr/bin/zsh"` in user's
~/.profile, and the shell in terminal windows under the user is zsh
while using bash as login shell.
-- Package-specific info:
=== command path ==
im-config is /usr/bin/im-config
=== im-config API -l: available IM ===
im-config -l => fcitx5 hime xim
=== im-config API -m: selected IM ===
im-config -m =>
'system' 'user' 'automatic' 'override' 'autobase'
'default' 'missing' 'fcitx5' '' 'fcitx5'
=== /etc/default/im-config ==
# Default im-config mode (see im-config(8))
# This im-config helps to start best available input method (IM)
# Always start highest priority IM
IM_CONFIG_DEFAULT_MODE=auto
# Start or not to start IM dynamically under CJKV/desktop environment
#IM_CONFIG_DEFAULT_MODE=cjkv
# Never start IM by im-config (Leave it to desktop system)
#IM_CONFIG_DEFAULT_MODE=none
# cjkv mode behavior:
# case 1:
# * desktop is listed in CJKV_DEFAULT_DESKTOP
# * locale is under so-called CJKV environments
# --> auto mode
# case 2:
# * desktop is listed in CJKV_DEFAULT_DESKTOP
# * locale is *not* under so-called CJKV environments
# --> none mode
# case 3:
# * desktop is *not* listed in CJKV_DEFAULT_DESKTOP
# * locale is under any environments
# --> auto mode
#
CJKV_DEFAULT_DESKTOP="*"
#CJKV_DEFAULT_DESKTOP="KDE:LXQt:XFCE"
# List of locales for so-called CJKV environments
CJKV_LOCALES="zh_TW:zh_HK:zh_SG:zh_CN:ja_JP:ko_KR:vi_VN"
# Set locale dependent preferred IM over standard auto mode if not GNOME
IM_CONFIG_PREFERRED_RULE="zh_CN,fcitx:zh_TW,fcitx:zh_HK,fcitx:zh_SG,fcitx"
# User and system wide configuration is normally done via im-config program.
# The above IM_CONFIG_PREFERRED_RULE sets locale dependent preferred IM
# override rule. If you wish to use uim over ibus just for ja_JP,
# add :ja_JP,uim at the end of the above list. (Marked by "!" in GUI)
# List of desktop systems which starts ibus if available
# Applicable desktops are excluded for applying IM_CONFIG_PREFERRED_RULE
DESKTOP_SETUP_IBUS="GNOME"
# Trace commands for debug
# (This may cause problem configuration file generated under console mode)
#IM_CONFIG_SETMODE="-x"
# Verbose output for debug (uncomment following)
#IM_CONFIG_VERBOSE="true"
=== localectl status ===
System Locale: LANG=en_US.UTF-8
LANGUAGE=en_US:en
VC Keymap: us
X11 Layout: us
X11 Variant: mac
=== locale output ===
LANG=en_US.UTF-8
LANGUAGE=en_US:en
LC_CTYPE="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_COLLATE="C"
LC_MONETARY="C"
LC_MESSAGES="C"
LC_PAPER="C"
LC_NAME="C"
LC_ADDRESS="C"
LC_TELEPHONE="C"
LC_MEASUREMENT="C"
LC_IDENTIFICATION="C"
LC_ALL=C
=== environment vars ==
LANG=en_US.UTF-8
LANGUAGE=en_US:en
LC_ALL=C
DISPLAY=:0
GNOME_SETUP_DISPLAY=:1
WAYLAND_DISPLAY=wayland-0
XDG_CURRENT_DESKTOP=GNOME
XDG_MENU_PREFIX=gnome-
XDG_RUNTIME_DIR=/run/user/1000
XDG_SESSION_CLASS=user
XDG_SESSION_DESKTOP=gnome
XDG_SESSION_TYPE=wayland
CLUTTER_IM_MODULE=xim
GTK_IM_MODULE=fcitx5
QT_IM_MODULE=fcitx5
XMODIFIERS=@im=fcitx
-- System Information:
Debian Release: bullseye/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.10.0-3-amd64 (SMP w/8 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages im-config depends on:
ii gettext-base 0.21-4
Versions of packages im-config recommends:
ii whiptail 0.52.21-4+b3
ii x11-common 1:7.7+22
ii zenity 3.32.0-6
im-config suggests no packages.
-- Configuration Files:
/etc/X11/xinit/xinputrc changed [not included]
-- no debconf information
Attachment:
signature.asc
Description: PGP signature