View Single Post
  #1   (View Single Post)  
Old 19th November 2022
sacerdos_daemonis's Avatar
sacerdos_daemonis sacerdos_daemonis is offline
Real Name: Will forever be a secret.
Spam Deminer
 
Join Date: Sep 2014
Posts: 283
Default trouble configuring fctix

Because of my hardware I had been using -current for the last couple years. (GMD-64, Radeon, Ryzen) During the past summer a few applications, including fcitx, stopped working.
I recently re-installed my system with OpenBSD 7.2 -release. Most of the applications work again except fctix, which still has the same problems.

While using -current I tried the man page instructions:
"export XMODIFIERS=@im=fcitx" to your "~/.xprofile."
That did not work. I then deleted fctix and installed UIM, which I had used for several years prior to switching input systems. It also would not work.

With 7.2 I have tried the same instructions"
"export XMODIFIERS=@im=fcitx" to your "~/.xprofile," but no success. The application will eventually open, but will not respond to any mouse clicks or keyboard commands.

fcitx5-configtool states:
Code:
## Gtk:
1.  gtk - `${GTK_IM_MODULE}`:

    **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_metho..._IM_MODULE).**

2.  `gtk-query-immodules`:

    1.  gtk 2:

        Found `gtk-query-immodules` for gtk `2.24.33` at `/usr/local/bin/gtk-query-immodules-2.0`.
        Version Line:

            # Created by /usr/local/bin/gtk-query-immodules-2.0 from gtk+-2.24.33

        **Failed to find fcitx5 in the output of `/usr/local/bin/gtk-query-immodules-2.0`**

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

    2.  gtk 3:

        Found `gtk-query-immodules` for gtk `3.24.34` at `/usr/local/bin/gtk-query-immodules-3.0`.
        Version Line:

            # Created by /usr/local/bin/gtk-query-immodules-3.0 from gtk+-3.24.34

        Found fcitx5 im modules for gtk `3.24.34`.

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

3.  Gtk IM module cache:

    1.  gtk 2:

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

            # Created by /usr/local/bin/gtk-query-immodules-2.0 from gtk+-2.24.33

        **Failed to find fcitx5 in immodule cache at `/usr/local/lib/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.34` at `/usr/local/lib/gtk-3.0/3.0.0/immodules.cache`.
        Version Line:

            # Created by /usr/local/bin/gtk-query-immodules-3.0 from gtk+-3.24.34

        Found fcitx5 im modules for gtk `3.24.34`.

            "/usr/local/lib/gtk-3.0/3.0.0/immodules/im-fcitx5.so" 
            "fcitx" "Fcitx5 (Flexible Input Method Framework5)" "fcitx5" "/usr/local/locale" "ja:ko:zh:*" 
            "fcitx5" "Fcitx5 (Flexible Input Method Framework5)" "fcitx5" "/usr/local/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/local/share/fcitx5/addon`.

2.  Addon List:

    1.  Found 24 enabled addons:

            Simplified and Traditional Chinese Translation 5.0.12
            Classic User Inteface 5.0.15
            Clipboard 5.0.15
            DBus 5.0.15
            DBus Frontend 5.0.15
            Fcitx4 Frontend 5.0.15
            Full width character 5.0.12
            IBus Frontend 5.0.15
            Lua IME API 5.0.5
            Input method selector 5.0.15
            Keyboard 5.0.15
            KDE Input Method Panel 5.0.15
            Lua Addon Loader 5.0.5
            Status Notifier 5.0.15
            Notification 5.0.15
            Pinyin 5.0.12
            Extra Pinyin functionality 5.0.12
            Punctuation 5.0.12
            Quick Phrase 5.0.15
            Spell 5.0.15
            Table 5.0.12
            Unicode 5.0.15
            XCB 5.0.15
            X Input Method Frontend 5.0.15

    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 Inteface
        KDE Input Method Panel

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

    `/home/bocere/.config/fcitx5/profile` not found.
configtool says fctix5/profile not found, but it does exist. It also makes reference to my system not set to UTF-8.

I do not use a DM. I use startx.

Before I mess around further or try UIM:
Should "export GTK_IM_MODULE=fcitx" be added to .xinitrc or elsewhere?
Do I need to convert my system to UTF-8?
Do I need to use a DM?

I am curious if anyone has any suggestions for a path to start on, instead of blindly groping for solutions. Unfortunately, everything on the internet concerning fctix is Linux. Again, I am simply asking for suggestions to point me in the correct direction.
Reply With Quote