DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Packages and Ports

OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 2 Weeks Ago
sacerdos_daemonis's Avatar
sacerdos_daemonis sacerdos_daemonis is offline
Real Name: Will forever be a secret.
Spam Deminer
 
Join Date: Sep 2014
Posts: 250
Default fcitx suddenly lost GUI configuration dialogue boxes

A few days ago fcitx stopped working, because input methods were no longer enabled. The "Configure" and "Configure Input Method" dialogue boxes had also disappeared from fcitx's GUI. Selecting them now opens the configuration text files in ~./home. Even removing fcitx and reinstalling it did not fix the issue.

fcitx-diagnose shows:
Code:
System Info:
1.  `uname -a`:

        OpenBSD bocere.cyning.net 6.6 GENERIC.MP#8 amd64

2.  `lsb_release`:

    `lsb_release` not found.

3.  `/etc/lsb-release`:

    `/etc/lsb-release` not found.

4.  `/etc/os-release`:

    `/etc/os-release` not found.

5.  Desktop Environment:

    Cannot determine desktop environment.

6.  Bash Version:

        BASH_VERSION='5.0.11(1)-release'

# Environment:
1.  DISPLAY:

        DISPLAY=':0'

2.  Keyboard Layout:

    1.  `setxkbmap`:

            xkb_keymap {
            	xkb_keycodes  { include "xfree86+aliases(qwerty)"	};
            	xkb_types     { include "complete"	};
            	xkb_compat    { include "complete"	};
            	xkb_symbols   { include "pc+us+inet(pc105)+terminate(ctrl_alt_bksp)"	};
            	xkb_geometry  { include "pc(pc105)"	};
            };

    2.  `xprop`:

            _XKB_RULES_NAMES(STRING) = "base", "pc105", "us", "", ""

3.  Locale:

    1.  All locale:

            C
            C.UTF-8
            POSIX
            POSIX.UTF-8
            Pig.UTF-8
            ar_SD.UTF-8
            ar_SY.UTF-8
            ca_ES.UTF-8
            cs_CZ.UTF-8
            da_DK.UTF-8
            de_AT.UTF-8
            de_CH.UTF-8
            de_DE.UTF-8
            el_GR.UTF-8
            en_AU.UTF-8
            en_CA.UTF-8
            en_GB.UTF-8
            en_US.UTF-8
            es_AR.UTF-8
            es_BO.UTF-8
            es_CH.UTF-8
            es_CO.UTF-8
            es_CR.UTF-8
            es_CU.UTF-8
            es_DO.UTF-8
            es_EC.UTF-8
            es_ES.UTF-8
            es_GQ.UTF-8
            es_GT.UTF-8
            es_HN.UTF-8
            es_MX.UTF-8
            es_NI.UTF-8
            es_PA.UTF-8
            es_PE.UTF-8
            es_PR.UTF-8
            es_PY.UTF-8
            es_SV.UTF-8
            es_US.UTF-8
            es_UY.UTF-8
            es_VE.UTF-8
            fa_IR.UTF-8
            fi_FI.UTF-8
            fr_BE.UTF-8
            fr_CA.UTF-8
            fr_CH.UTF-8
            fr_FR.UTF-8
            hu_HU.UTF-8
            hy_AM.UTF-8
            is_IS.UTF-8
            it_CH.UTF-8
            it_IT.UTF-8
            ja_JP.UTF-8
            ko_KR.UTF-8
            lt_LT.UTF-8
            nl_BE.UTF-8
            nl_NL.UTF-8
            no_NO.UTF-8
            pl_PL.UTF-8
            pt_PT.UTF-8
            ro_RO.UTF-8
            ru_RU.UTF-8
            sk_SK.UTF-8
            sl_SI.UTF-8
            sv_SE.UTF-8
            tr_TR.UTF-8
            uk_UA.UTF-8
            zh_CN.UTF-8
            zh_TW.UTF-8

    2.  Current locale:

            LANG=
            LC_COLLATE="C"
            LC_CTYPE="C"
            LC_MONETARY="C"
            LC_NUMERIC="C"
            LC_TIME="C"
            LC_MESSAGES="C"
            LC_ALL=

4.  Directories:

    1.  Home:

            /home/bocere

    2.  `${XDG_CONFIG_HOME}`:

        Environment variable `XDG_CONFIG_HOME` is not set.

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

    3.  Fcitx Settings Directory:

        Current fcitx settings directory is `~/.config/fcitx` (`/home/bocere/.config/fcitx`).

5.  Current user:

    The script is run as bocere (1000).

# Fcitx State:
1.  executable:

    Found fcitx at `/usr/local/bin/fcitx`.

2.  version:

    Fcitx version: `4.2.9.5`

3.  process:

    Found 2 fcitx processes:

        52323 fcitx
        61056 fcitx-dbus-watch

4.  `fcitx-remote`:

    `fcitx-remote` works properly.

5.  DBus interface:

    Using `dbus-send` to check dbus.

    Owner of DBus name `org.fcitx.Fcitx` is `:1.2873`.

    PID of DBus name `org.fcitx.Fcitx` owner is `52323`.

# Fcitx Configure UI:
1.  Config Tool Wrapper:

    Found fcitx-configtool at `/usr/local/bin/fcitx-configtool`.

2.  Config GUI for gtk2:

    **Config GUI for gtk2 not found.**

3.  Config GUI for gtk3:

    **Config GUI for gtk3 not found.**

4.  Config GUI for kde:

    **`kcmshell4` not found.**

    **Cannot find a GUI config tool, please install one of `kcm-fcitx`, `fcitx-config-gtk2`, or `fcitx-config-gtk3`.**

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

    **XMODIFIERS is not set**

    **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 fcitx.

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 POSIX whose encoding is not UTF-8. You may have trouble committing strings using XIM.**

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

    **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}`:

    **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:

    **Cannot find fcitx input method module for Qt4.**
    **Cannot find fcitx input method module for Qt5.**

## 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_method_related_environment_variables#GTK_IM_MODULE).**

2.  `gtk-query-immodules`:

    1.  gtk 2:

        Found `gtk-query-immodules` for gtk `2.24.32` 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.32

        Found fcitx im modules for gtk `2.24.32`.

            "/usr/local/lib/gtk-2.0/2.10.0/immodules/im-fcitx.so" 
            "fcitx" "Fcitx (Flexible Input Method Framework)" "fcitx" "/usr/local/share/locale" "ja:ko:zh:*" 

    2.  gtk 3:

        Found `gtk-query-immodules` for gtk `3.24.12` 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.12

        Found fcitx im modules for gtk `3.24.12`.

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

3.  Gtk IM module cache:

    1.  gtk 2:

        Found immodules cache for gtk `2.24.32` 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.32

        Found fcitx im modules for gtk `2.24.32`.

            "/usr/local/lib/gtk-2.0/2.10.0/immodules/im-fcitx.so" 
            "fcitx" "Fcitx (Flexible Input Method Framework)" "fcitx" "/usr/local/share/locale" "ja:ko:zh:*" 

    2.  gtk 3:

        Found immodules cache for gtk `3.24.12` 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.12

        Found fcitx im modules for gtk `3.24.12`.

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

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.

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

    Found fcitx addon config directory: `/usr/local/share/fcitx/addon`.

2.  Addon List:

    1.  Found 28 enabled addons:

            fcitx-autoeng
            fcitx-chttrans
            fcitx-classic-ui
            fcitx-clipboard
            fcitx-dbus
            fcitx-freedesktop-notify
            fcitx-fullwidth-char
            fcitx-imselector
            fcitx-ipc
            fcitx-ipcportal
            fcitx-keyboard
            fcitx-kimpanel-ui
            fcitx-libpinyin
            fcitx-notificationitem
            fcitx-pinyin-enhance
            fcitx-pinyin
            fcitx-punc
            fcitx-quickphrase
            fcitx-qw
            fcitx-remote
            fcitx-spell
            fcitx-table
            fcitx-unicode
            fcitx-vk
            fcitx-x11
            fcitx-xim
            fcitx-xkb
            fcitx-xkbdbus

    2.  Found 0 disabled addons:

3.  Addon Libraries:

    All libraries for all addons are found.

4.  User Interface:

    Found 2 enabled user interface addons:

        fcitx-classic-ui
        fcitx-kimpanel-ui

## Input Methods:
1.  Found 1 enabled input methods:

        fcitx-keyboard-us

2.  Default input methods:

    You only have one keyboard input method enabled. You may want to add another input method to input other languages.

# Log:
1.  `date`:

        Sun May 10 18:58:45 CST 2020

2.  `~/.config/fcitx/log/`:



3.  `~/.config/fcitx/log/crash.log`:

    `~/.config/fcitx/log/crash.log` not found.
Quote:
Cannot determine desktop environment.
I use i3 on OpenBSD 6.6.
Quote:
**Cannot find a GUI config tool, please install one of `kcm-fcitx`, `fcitx-config-gtk2`, or `fcitx-config-gtk3`.**
However, the GUI config tools are not packages and cannot be installed. So the config tool has either disappeared or can no longer be accessed by fcitx. Specifically it should be gtk-3.

I edited the configuration file manually resulting in normal operation (minus the dialogue boxes), so this is not a problem, only an annoyance.

I do not know if it is the cause or only a coincidence, but the only thing that has happened was while copying a video to an external hard-drive, the drive dismounted itself. Later the system froze during shutdown and I used the power button to power off the computer. The next time I booted the system fcitx was not working, because no input methods were enabled.

I am curious about two things:
1. Could the cold shutdown have been the cause?
2. Any ideas on how to restore the apparently missing GUI configuration tool?

As already mentioned this is an annoyance, not an emergency. But any ideas would be appreciated.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Reporting Installation Kernel Panics on New Boxes IronForge OpenBSD Installation and Upgrading 9 28th June 2013 04:22 PM
windows/dialog boxes larger than screen xmorg General software and network 5 13th October 2012 01:04 PM
Chromium loses focus in text boxes kly FreeBSD Ports and Packages 4 19th October 2011 02:53 PM
Firefox PROTIP: getting back to a normal Save As Dialogue. caesius Guides 5 15th October 2008 06:24 AM
How to look for open slots in Sun Boxes revzalot Solaris 1 19th July 2008 04:54 PM


All times are GMT. The time now is 06:08 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick