[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1028071: im-config: Does not start using startx



Package: im-config
Version: 0.53-1
Severity: important

Since 0.53-1, /etc/X11/Xsession.d/70im-config_launch checks
"$XDG_SESSION_TYPE" = "x11" before launch. I use startx from console to
start awesome wm, but $XDG_SESSION_TYPE is set to "tty" using startx. So
no ime for me since this version.

My workaround is to remove [ "$XDG_SESSION_TYPE" = "x11" ].

Maybe we should also allow "$XDG_SESSION_TYPE" = "tty"?


-- Package-specific info:
=== command path ==
im-config is /usr/bin/im-config

=== im-config API -l: available IM ===
im-config -l =>  fcitx5 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,fcitx5:zh_TW,fcitx5:zh_HK,fcitx5:zh_SG,fcitx5"

# 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=C.UTF-8
    VC Keymap: (unset)
   X11 Layout: us
    X11 Model: pc105

=== /etc/X11/default-display-manager ===

=== setxkbmap -print ===
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)"	};
};

=== environment vars ==
DISPLAY=:0
XDG_RUNTIME_DIR=/run/user/1000
XDG_SEAT=seat0
XDG_SESSION_CLASS=user
XDG_SESSION_ID=c1
XDG_SESSION_TYPE=tty
XDG_VTNR=1
CLUTTER_IM_MODULE=xim
GTK_IM_MODULE=fcitx
QT_IM_MODULE=fcitx
SDL_IM_MODULE=fcitx
XMODIFIERS=@im=fcitx


-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.1 (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages im-config depends on:
ii  gettext-base  0.21-10

Versions of packages im-config recommends:
ii  whiptail    0.52.23-1
ii  x11-common  1:7.7+23
ii  zenity      3.43.0-1

im-config suggests no packages.

-- no debconf information


Reply to: