Debian Codegraph @

debian/ibus.bug-script

raw
1 #!/bin/sh
2 type ibus >&3
3 type ibus-setup >&3
4
5 if [ -x /usr/bin/im-config ]; then
6 echo -n "im-config -l => " >&3
7 /usr/bin/im-config -l >&3
8 echo -n "im-config -m => " >&3
9 /usr/bin/im-config -m|sed -e "s/^\(.*\)$/\\\'\1\\\' /"| xargs echo >&3
10 else
11 echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" >&3
12 echo "!!! im-config is missing. Please install it. !!!" >&3
13 echo "!!! Please also read /usr/share/doc/im-config/README.Debian.gz !!!" >&3
14 echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" >&3
15 fi
16 echo >&3
17 echo "XMODIFIERS=$XMODIFIERS" >&3
18 echo "GTK_IM_MODULE=$GTK_IM_MODULE" >&3
19 echo "QT_IM_MODULE=$QT_IM_MODULE" >&3
20 echo "WAYLAND_DISPLAY=$WAYLAND_DISPLAY" >&3
21 echo "XDG_CURRENT_DESKTOP=$XDG_CURRENT_DESKTOP" >&3
22 echo "XDG_MENU_PREFIX=$XDG_MENU_PREFIX" >&3
23 echo "XDG_RUNTIME_DIR=$XDG_RUNTIME_DIR" >&3
24 echo "XDG_SESSION_CLASS=$XDG_SESSION_CLASS" >&3
25 echo "XDG_SESSION_DESKTOP=$XDG_SESSION_DESKTOP" >&3
26 echo "XDG_SESSION_TYPE=$XDG_SESSION_TYPE" >&3
27 echo >&3
28
29 echo "== ls -l /usr/libexec/ibus-* ==" >&3
30 /bin/ls -l /usr/libexec/ibus-* >&3 2>&3
31 echo >&3
32 echo "== dpkg-query -l 'ibus*' ==" >&3
33 /usr/bin/dpkg-query -l 'ibus*' >&3
34 echo >&3
35
36 if [ -x /usr/bin/gsettings ]; then
37 echo "=== gsettings ===" >&3
38 /usr/bin/gsettings list-recursively org.freedesktop.ibus.general >&3
39 /usr/bin/gsettings list-recursively org.freedesktop.ibus.panel >&3
40 case "$XDG_CURRENT_DESKTOP" in
41 *GNOME*|*Unity*)
42 # settings for GNOME input sources
43 /usr/bin/gsettings list-recursively org.gnome.desktop.input-sources >&3
44 ;;
45 esac
46 echo >&3
47 else
48 echo "=== gsettings command is missing ===" >&3
49 echo >&3
50 fi
51
52 if [ -x /usr/bin/localectl ]; then
53 echo "=== localectl status ===" >&3
54 /usr/bin/localectl status >&3
55 echo >&3
56 fi
57
58 if [ x$XDG_SESSION_TYPE != xwayland ]; then
59 echo "=== /etc/X11/default-display-manager ===" >&3
60 /bin/cat /etc/X11/default-display-manager >&3
61 echo >&3
62
63 if [ -x /usr/bin/setxkbmap ]; then
64 echo "=== setxkbmap -print ===" >&3
65 /usr/bin/setxkbmap -print
66 echo >&3
67 fi
68 if [ -f $HOME/.Xmodmap ]; then
69 echo "=== ~/.Xmodmap ===" >&3
70 /bin/cat $HOME/.Xmodmap >&3
71 echo >&3
72 fi
73 fi