HEX
Server: Apache/2.4.41 (Ubuntu)
System: Linux ip-172-31-42-149 5.15.0-1084-aws #91~20.04.1-Ubuntu SMP Fri May 2 07:00:04 UTC 2025 aarch64
User: ubuntu (1000)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: //etc/default/im-config
# Default im-config mode (see im-config(8))

OLDIFS="$IFS"
IFS=':'
desktop=
for val in $XDG_CURRENT_DESKTOP; do
    for d in 'GNOME' 'MATE' 'UKUI' 'Unity'; do
        [ "$d" = "$val" ] && { desktop="$d"; break 2; }
    done
done
IFS="$OLDIFS"

if [ -n "$desktop" ]; then
    # Start best input method unless overridden below
    IM_CONFIG_DEFAULT_MODE=auto
else
    # Start best input method only if CJKV environment and not overridden below
    IM_CONFIG_DEFAULT_MODE=cjkv
fi

# Set locale dependent preferred IM over standard auto mode
if [ "$desktop" != 'GNOME' ]; then
    IM_CONFIG_PREFERRED_RULE="zh_CN,fcitx:zh_TW,fcitx:zh_HK,fcitx:zh_SG,fcitx:ja_JP,fcitx:ko_KR,fcitx:vi_VN,fcitx"
fi

# 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.

# 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"