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

Bug#1064048: fcitx5: No german keyboard after fresh Debian/KDE install



Package: fcitx5
Version: 5.0.21-3
Severity: important
Tags: l10n d-i
X-Debbugs-Cc: marc.fouquet@gmx.de

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?

A fresh install of Debian/KDE from the Live CD.

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

Selected german locale during the installation.

   * What was the outcome of this action?

KDE menu text was german, but the keyboard layout was not. The appropriate KDE setting dialog (region/language) complained about missing fcitx.
At the time I had no idea what this was. A non-technical user would have aborted the installation attempt at this point and switched back to windows.

To solve this, I dis the following:

> apt install fcitx5
- Add fcitx5 to KDE autorun.
> fcitx5-config

I am still not sure, if this was the intended way, the KDE settings page for the input method is still not functional (the error message is gone, but there are no options to select).
Only fcitx5-config works for changing keyboard options.

   * What outcome did you expect instead?

- Having a working german keyboard when selecting it in the installer.
- The keykoard selection (Regionaleinstellungen => Eingabemethode) in the KDE settings App should be functional.

*** End of the template - remove these template lines ***


-- Package-specific info:

--- Fcitx5 Diagnose output ---

# System Info:
1.  `uname -a`:

        Linux kamino 6.1.0-18-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.76-1 (2024-02-01) x86_64 GNU/Linux

2.  `lsb_release -a`:

        Distributor ID:	Debian
        Description:	Debian GNU/Linux 12 (bookworm)
        Release:	12
        Codename:	bookworm

3.  `lsb_release -d`:

        Description:	Debian GNU/Linux 12 (bookworm)

4.  `/etc/lsb-release`:

    `/etc/lsb-release` not found.

5.  `/etc/os-release`:

        PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
        NAME="Debian GNU/Linux"
        VERSION_ID="12"
        VERSION="12 (bookworm)"
        VERSION_CODENAME=bookworm
        ID=debian
        HOME_URL="https://www.debian.org/";
        SUPPORT_URL="https://www.debian.org/support";
        BUG_REPORT_URL="https://bugs.debian.org/";

6.  Desktop Environment:

    Desktop environment is `kde`.

7.  XDG SESSION TYPE:

        XDG_SESSION_TYPE='x11'

8.  Bash Version:

        BASH_VERSION='5.2.15(1)-release'

# Environment:
1.  DISPLAY:

        DISPLAY=':0'


        WAYLAND_DISPLAY=''

2.  Keyboard Layout:

    1.  `setxkbmap`:

            xkb_keymap {
            	xkb_keycodes  { include "evdev+aliases(qwertz)"	};
            	xkb_types     { include "complete"	};
            	xkb_compat    { include "complete"	};
            	xkb_symbols   { include "pc+de+inet(evdev)"	};
            	xkb_geometry  { include "pc(pc104)"	};
            };

    2.  `xprop`:

            _XKB_RULES_NAMES(STRING) = "evdev", "pc104", "de", "", ""

3.  Locale:

    1.  All locales:

            C
            C.utf8
            POSIX
            de_DE.utf8

    2.  Current locale:

            LANG=de_DE.UTF-8
            LANGUAGE=
            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

4.  Directories:

    1.  Home:

            /home/fouquet

    2.  `${XDG_CONFIG_HOME}`:

        Environment variable `XDG_CONFIG_HOME` is not set.

        Current value of `XDG_CONFIG_HOME` is `~/.config` (`/home/fouquet/.config`).

    3.  Fcitx5 Settings Directory:

        Current fcitx5 settings directory is `~/.config/fcitx5` (`/home/fouquet/.config/fcitx5`).

5.  Current user:

    The script is run as fouquet (1000).

# Fcitx State:
1.  executable:

    Found fcitx5 at `/usr/bin/fcitx5`.

2.  version:

    Fcitx version: `5.0.21`

3.  process:

    Found 2 fcitx5 processes:

           1913 fcitx5
          44115 fcitx5

4.  `fcitx5-remote`:

    `fcitx5-remote` works properly.

5.  DBus interface:

    Using `dbus-send` to check dbus.

    Owner of DBus name `org.fcitx.Fcitx5` is `:1.62`.

    PID of DBus name `org.fcitx.Fcitx5` owner is `1913`.

    Debug information from dbus:

           Group [x11::0] has 47 InputContext(s)
          IC [18b56efa163542dea5eabc524a55315b] program: frontend:ibus cap:52 focus:0
          IC [d29f070f0f274233a19f76ddb41d8df3] program: frontend:ibus cap:52 focus:0
          IC [b5824b1e5a93484898286a3506e09689] program: frontend:ibus cap:52 focus:0
          IC [e4ea6071605e40dba968e201f9dd9971] program: frontend:ibus cap:12 focus:0
          IC [b79c3e929e06497797ba6cec2271592e] program: frontend:ibus cap:12 focus:0
          IC [b2ec1c4d42a24eff8d122de5368e2dd4] program: frontend:ibus cap:12 focus:0
          IC [cd268f6e2fca4ef08015dc73165c175f] program: frontend:ibus cap:12 focus:0
          IC [e8a7d53caa0b4b12924dff15dd28d090] program: frontend:ibus cap:12 focus:0
          IC [6ae8c46ca2de4c2ab20c867a7fe3d95e] program: frontend:ibus cap:12 focus:0
          IC [8b7a31a39fd044c795b468f08ec9859d] program: frontend:ibus cap:12 focus:0
          IC [add245a953014e3b9aa54c69192e9798] program: frontend:ibus cap:12 focus:0
          IC [f696be06e9a84c79a3b17f9e4e134e72] program: frontend:ibus cap:12 focus:0
          IC [69e2a37c8c004509ad19bca8759d21e9] program: frontend:ibus cap:12 focus:0
          IC [a672bcc00b5b4e8e8d937b96da95a463] program: frontend:ibus cap:12 focus:0
          IC [d80b505b1ff540cdba1e5047df5ef6b8] program: frontend:ibus cap:52 focus:0
          IC [5cebbc7e6ea547308c17bcb36c5c0ff8] program: frontend:ibus cap:52 focus:0
          IC [7f87ee1912eb4d8ea468c3b9024daa67] program: frontend:ibus cap:52 focus:0
          IC [05a6a711f5174884921be83ad2b0b4a9] program: frontend:ibus cap:52 focus:0
          IC [30bded1babcd4fdf9bb034893c6cb253] program: frontend:ibus cap:52 focus:0
          IC [19c11fec35304ebbb510bd3f8d253c9c] program: frontend:ibus cap:52 focus:0
          IC [f59bcbcfe87b4255938ffcab7d2106db] program: frontend:ibus cap:52 focus:0
          IC [1dc3091eed7c4b2e86c536c407de816b] program: frontend:ibus cap:52 focus:0
          IC [08e466db34cf4d3f819ecaef6eeecb20] program: frontend:ibus cap:12 focus:0
          IC [d8c14879bf4b446290043f47a79bedca] program: frontend:ibus cap:52 focus:0
          IC [4acfb78a8faf46c5a7070b12be9599b4] program: frontend:ibus cap:12 focus:0
          IC [c6c8828350f145aba3df289ab84d1c88] program: frontend:ibus cap:52 focus:0
          IC [b30b6fbd5a1244f7b241bae875d00a0a] program: frontend:ibus cap:52 focus:0
          IC [e0c0846969a44bb3bdfe559aeda9753b] program: frontend:ibus cap:52 focus:1
          IC [5b4d480d06694c26897674dcdd4dba69] program: frontend:ibus cap:52 focus:0
          IC [1b63db1bc8d84974ae5a54053a7c7bf0] program: frontend:ibus cap:52 focus:0
          IC [92affa46fbb04f879edcc57ba12c4474] program: frontend:ibus cap:52 focus:0
          IC [585747b4bdf040fd8a9d2583d03562ba] program: frontend:ibus cap:52 focus:0
          IC [d04ec96e063c4c239bc55152f427876c] program: frontend:ibus cap:52 focus:0
          IC [b8827f6235454d258d12295397684841] program: frontend:ibus cap:52 focus:0
          IC [ab6f560329694e0380acd67ff8bef5ad] program: frontend:ibus cap:12 focus:0
          IC [40efb2d3fb8d4853a3d8ba729f71a0bb] program: frontend:ibus cap:52 focus:0
          IC [3e4e66547ee543069ca78b592d6971e1] program: frontend:ibus cap:52 focus:0
          IC [602a082409594e93b0b18d68e68a0cc2] program: frontend:ibus cap:52 focus:0
          IC [d661aa6de5814516aade14eeb5b27ca6] program: frontend:ibus cap:52 focus:0
          IC [501397cb163d47de8fd8fc3688f9e3cf] program: frontend:ibus cap:52 focus:0
          IC [38c83d2275cd44c4bc412acab7318f68] program: frontend:ibus cap:52 focus:0
          IC [821f94e6407c452a97246142bdcb1dd1] program: frontend:ibus cap:12 focus:0
          IC [db8f57a6414f450fbc8f7bc2c235c1ba] program: frontend:ibus cap:52 focus:0
          IC [cc6289dac4104434b61a29efb6abc01b] program: frontend:ibus cap:52 focus:0
          IC [20ddeb2fc1d543ee8d2aa049bff6f38c] program: frontend:ibus cap:52 focus:0
          IC [33a90f3aac56406b842b86773ddfbaac] program: frontend:ibus cap:12 focus:0
          IC [db80bfa8709d494787ea49ec8b5cbae4] program: frontend:ibus cap:52 focus:0
        Input Context without group

# Fcitx Configure UI:
1.  Config Tool Wrapper:

    Found fcitx5-configtool at `/usr/bin/fcitx5-configtool`.

2.  Config GUI for qt:

    Found `fcitx5-config-qt` at `/usr/bin/fcitx5-config-qt`.

3.  Config GUI for kde:

    Found fcitx5 kcm module.

        kcm_fcitx5                     - Configure Input Method

# Frontends setup:
## Xim:
1.  `${XMODIFIERS}`:

    **Environment variable XMODIFIERS is "@im=ibus" instead of "@im=fcitx". Please check if you have exported it incorrectly in any of your init files.**

    **Please set environment variable XMODIFIERS to "@im=fcitx" using the tool your distribution provides or add `export XMODIFIERS=@im=fcitx` to your `~/.xprofile`. See [Input Method Related Environment Variables: XMODIFIERS](http://fcitx-im.org/wiki/Input_method_related_environment_variables#XMODIFIERS).**

    Xim Server Name from Environment variable is ibus.

2.  XIM_SERVERS on root window:

    Xim server name is the same with that set in the environment variable.

3.  XIM encoding:

    **Your LC_CTYPE is set to C whose encoding is not UTF-8. You may have trouble committing strings using XIM.**

## Qt:
1.  qt4 - `${QT4_IM_MODULE}`:

    **Environment variable QT_IM_MODULE is "ibus" instead of "fcitx". Please check if you have exported it incorrectly in any of your init files.**
    **You may have trouble using fcitx in qt4 programs.**

    **Please set environment variable QT_IM_MODULE to "fcitx" using the tool your distribution provides or add `export QT_IM_MODULE=fcitx` to your `~/.xprofile`. See [Input Method Related Environment Variables: QT_IM_MODULE](http://fcitx-im.org/wiki/Input_method_related_environment_variables#QT_IM_MODULE).**

2.  qt5 - `${QT_IM_MODULE}`:

    **Environment variable QT_IM_MODULE is "ibus" instead of "fcitx". Please check if you have exported it incorrectly in any of your init files.**
    **You may have trouble using fcitx in qt5 programs.**

    **Please set environment variable QT_IM_MODULE to "fcitx" using the tool your distribution provides or add `export QT_IM_MODULE=fcitx` to your `~/.xprofile`. See [Input Method Related Environment Variables: QT_IM_MODULE](http://fcitx-im.org/wiki/Input_method_related_environment_variables#QT_IM_MODULE).**

3.  Qt IM module files:

    Found fcitx5 qt5 module: `/usr/lib/x86_64-linux-gnu/fcitx5/qt5/libfcitx-quickphrase-editor5.so`.
    Found fcitx5 im module for qt6: `/usr/lib/x86_64-linux-gnu/qt6/plugins/platforminputcontexts/libfcitx5platforminputcontextplugin.so`.
    Found unknown fcitx qt module: `/usr/lib/x86_64-linux-gnu/qt5/plugins/platforminputcontexts/libfcitxplatforminputcontextplugin.so`.
    Found fcitx5 im module for qt5: `/usr/lib/x86_64-linux-gnu/qt5/plugins/platforminputcontexts/libfcitx5platforminputcontextplugin.so`.
    Found unknown fcitx qt module: `/usr/lib/x86_64-linux-gnu/qt5/plugins/kcms/kcm_fcitx5.so`.
    Found unknown fcitx qt module: `/usr/lib/x86_64-linux-gnu/qt5/plugins/kcm_fcitx.so`.
    Found unknown fcitx qt module: `/usr/lib/x86_64-linux-gnu/fcitx/qt/libfcitx-quickphrase-editor5.so`.

    Following error may not be accurate because guessing Qt version from path depends on how your distribution packages Qt. It is not a critical error if you do not use any Qt application with certain version of Qt or you are using text-input support by Qt under Wayland.
    **Cannot find fcitx5 input method module for Qt4.**

## Gtk:
1.  gtk - `${GTK_IM_MODULE}`:

    **Environment variable GTK_IM_MODULE is "ibus" instead of "fcitx". Please check if you have exported it incorrectly in any of your init files.**
    **You may have trouble using fcitx in gtk programs.**

    **Please set environment variable GTK_IM_MODULE to "fcitx" using the tool your distribution provides or add `export GTK_IM_MODULE=fcitx` to your `~/.xprofile`. See [Input Method Related Environment Variables: GTK_IM_MODULE](http://fcitx-im.org/wiki/Input_method_related_environment_variables#GTK_IM_MODULE).**

2.  `gtk-query-immodules`:

    1.  gtk 2:

        **Cannot find `gtk-query-immodules` for gtk 2**

        **Cannot find fcitx5 im module for gtk 2.**

    2.  gtk 3:

        **Cannot find `gtk-query-immodules` for gtk 3**

        **Cannot find fcitx5 im module for gtk 3.**

3.  Gtk IM module cache:

    1.  gtk 2:

        Found immodules cache for gtk `2.24.33` at `/usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/immodules.cache`.
        Version Line:

            # Created by /usr/lib/x86_64-linux-gnu/libgtk2.0-0/gtk-query-immodules-2.0 from gtk+-2.24.33

        **Failed to find fcitx5 in immodule cache at `/usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/immodules.cache`**

        **Cannot find fcitx5 im module for gtk 2 in cache.**

    2.  gtk 3:

        Found immodules cache for gtk `3.24.38` at `/usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/immodules.cache`.
        Version Line:

            # Created by /usr/lib/x86_64-linux-gnu/libgtk-3-0/gtk-query-immodules-3.0 from gtk+-3.24.38

        Found fcitx5 im modules for gtk `3.24.38`.

            "/usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/immodules/im-fcitx5.so" 
            "fcitx" "Fcitx5 (Flexible Input Method Framework5)" "fcitx5" "/usr/locale" "ja:ko:zh:*" 
            "fcitx5" "Fcitx5 (Flexible Input Method Framework5)" "fcitx5" "/usr/locale" "ja:ko:zh:*" 

    3.  gtk 4:

        **Cannot find immodules cache for gtk 4**

        **Cannot find fcitx5 im module for gtk 4 in cache.**

4.  Gtk IM module files:

    1.  gtk 2:

        All found Gtk 2 immodule files exist.

    2.  gtk 3:

        All found Gtk 3 immodule files exist.

    3.  gtk 4:

        All found Gtk 4 immodule files exist.

# Configuration:
## Fcitx Addons:
1.  Addon Config Dir:

    Found fcitx5 addon config directory: `/usr/share/fcitx5/addon`.

2.  Addon List:

    1.  Found 29 enabled addons:

            Chewing 5.0.13
            Simplified and Traditional Chinese Translation 5.0.16
            Classic User Interface 5.0.21
            Clipboard 5.0.21
            Cloud Pinyin 5.0.16
            DBus 5.0.21
            DBus Frontend 5.0.21
            Emoji 5.0.21
            Fcitx4 Frontend 5.0.21
            Full width character 5.0.16
            IBus Frontend 5.0.21
            Lua IME API 5.0.10
            Input method selector 5.0.21
            Keyboard 5.0.21
            KDE Input Method Panel 5.0.21
            Lua Addon Loader 5.0.10
            Status Notifier 5.0.21
            Notification 5.0.21
            Pinyin 5.0.16
            Extra Pinyin functionality 5.0.16
            Punctuation 5.0.16
            Quick Phrase 5.0.21
            Spell 5.0.21
            Table 5.0.16
            Unicode 5.0.21
            Wayland 5.0.21
            Wayland Input method frontend 5.0.21
            XCB 5.0.21
            X Input Method Frontend 5.0.21

    2.  Found 0 disabled addons:

3.  Addon Libraries:

    All libraries for all addons are found.

4.  User Interface:

    Found 2 enabled user interface addons:

        Classic User Interface
        KDE Input Method Panel

## Input Methods:
1.  `/home/fouquet/.config/fcitx5/profile`:

        [Groups/0]
        # Group Name
        Name="Gruppe 1"
        # Layout
        Default Layout=de
        # Default Input Method
        DefaultIM=keyboard-de

        [Groups/0/Items/0]
        # Name
        Name=keyboard-de
        # Layout
        Layout=

        [Groups/1]
        # Group Name
        Name="Gruppe 2"
        # Layout
        Default Layout=de
        # Default Input Method
        DefaultIM=keyboard-de

        [Groups/1/Items/0]
        # Name
        Name=keyboard-de
        # Layout
        Layout=

        [GroupOrder]
        0="Gruppe 1"
        1="Gruppe 2"

# Log:
1.  `date`:

        Fri Feb 16 14:23:54 CET 2024

2.  `/home/fouquet/.config/fcitx5/crash.log`:

    `/home/fouquet/.config/fcitx5/crash.log` not found.

**Warning: the output of fcitx5-diagnose contains sensitive information, including the distribution name, kernel version, name of currently running programs, etc.**

**Though such information can be helpful to developers for diagnostic purpose, please double check and remove as necessary before posting it online publicly.**

-- System Information:
Debian Release: 12.5
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-18-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages fcitx5 depends on:
ii  fcitx5-data       5.0.21-3
ii  fcitx5-modules    5.0.21-3
ii  libc6             2.36-9+deb12u4
ii  libexpat1         2.5.0-1
ii  libfcitx5config6  5.0.21-3
ii  libfcitx5core7    5.0.21-3
ii  libfcitx5utils2   5.0.21-3
ii  libgcc-s1         12.2.0-14
ii  libjson-c5        0.16-2
ii  libstdc++6        12.2.0-14

Versions of packages fcitx5 recommends:
ii  fcitx5-config-qt      5.0.16-1
ii  fcitx5-frontend-gtk3  5.0.21-1
ii  fcitx5-frontend-gtk4  5.0.21-1
ii  fcitx5-frontend-qt5   5.0.16-1+b3
ii  fcitx5-frontend-qt6   5.0.16-1+b3
ii  im-config             0.55-2

Versions of packages fcitx5 suggests:
ii  fcitx5-chinese-addons  5.0.16-1
pn  fcitx5-frontend-gtk2   <none>
ii  kde-config-fcitx5      5.0.16-1

-- no debconf information


Reply to: