I have the following environment variables set in my .bash_profile as recommended by the package description:
export XMODIFIERS='@im=fcitx'
export GTK_IM_MODULE=fcitx/xim
export QT_IM_MODULE=fcitx
The fcitx5 is started through my .xinitrc file when I startx into xorg. 'ps' command also confirms that it's a running process. However...
Problem 1: fcitx5-configtool:
When I run fcitx5-configtool or fcitx5-config-qt, the gui application says:
I don't really understand why this is happening since fcitx5 is clearly running in the background. Initially I thought perhaps it might be dbus. Since I'm new to FreeBSD and this is my first install and I'm also using a WM and not a DE, I didn't add dbus_enable="YES" in my rc.conf as shown in the handbook for running gnome, kde, etc. So I added dbus_enable="YES", restarted but fcitx5-configtool is still saying fcitx5 is not running.
Now.... after clicking the [Run Fcitx5] button that was presented, the terminal shows fcitx5 loading its addons as well as a bunch of other messages, etc, but the fcitx5-configtool gui is completely blank (normally it should be showing all the current input methods, and the available input methods.
So at this point, I had to first click the Restore Defaults Button, followed by clicking the Reset button in order to get it to show what it was supposed to show at startup. The two pictures attached below shows what I described above:
So that's problem 1. I don't know why it's saying fcitx5 is not running when the process was already successfully running in the background via .xinitrc and startx. In addition, why is it not able to show the input methods UNTIL i restore defaults and reset? (it should just open the gui with these things presented to the user normally.)
In the terminal window (shown in picture), it showed error: XDG_RUNTIME_DIR is invalid or not set in the environment. Could this be the problem? I changed my default (sh) to (bash) and since I didn't find any example/default bash .bashrc or .bash_profile in freebsd, I just basically created them myself. .bashrc has nothing except: alias ls='ls --color=auto' to show color ls, and .bash_profile has nothing except the three exports for fcitx5:
export XMODIFIERS='@im=fcitx'
export GTK_IM_MODULE=fcitx/xim
export QT_IM_MODULE=fcitx
Problem 2: zh-fcitx5-rime
So after i added rime to the current input method in the fcitx5-configtool gui, fcitx5 did work, but it's not showing the correct words when I type, because the primary luna_pinyin input method in rime isn't working properly. These lines are also from the terminal when fcitx5 was being started after i clicked the Run Fcitx5 button.
E20221019 19:59:49.577551 14753792 level_db.cc:277] Error opening db 'luna_pinyin': IO error: lock /home/rue/.local/share/fcitx5/rime/luna_pinyin.userdb/LOCK: Resource temporarily unavailable
E20221019 19:59:49.581617 14753792 level_db.cc:277] Error opening db 'luna_pinyin': IO error: lock /home/rue/.local/share/fcitx5/rime/luna_pinyin.userdb/LOCK: Resource temporarily unavailable
E20221019 19:59:49.585325 14753792 level_db.cc:277] Error opening db 'luna_pinyin': IO error: lock /home/rue/.local/share/fcitx5/rime/luna_pinyin.userdb/LOCK: Resource temporarily unavailable
Any help would be greatly appreciated.
export XMODIFIERS='@im=fcitx'
export GTK_IM_MODULE=fcitx/xim
export QT_IM_MODULE=fcitx
The fcitx5 is started through my .xinitrc file when I startx into xorg. 'ps' command also confirms that it's a running process. However...
Problem 1: fcitx5-configtool:
When I run fcitx5-configtool or fcitx5-config-qt, the gui application says:
I don't really understand why this is happening since fcitx5 is clearly running in the background. Initially I thought perhaps it might be dbus. Since I'm new to FreeBSD and this is my first install and I'm also using a WM and not a DE, I didn't add dbus_enable="YES" in my rc.conf as shown in the handbook for running gnome, kde, etc. So I added dbus_enable="YES", restarted but fcitx5-configtool is still saying fcitx5 is not running.
Now.... after clicking the [Run Fcitx5] button that was presented, the terminal shows fcitx5 loading its addons as well as a bunch of other messages, etc, but the fcitx5-configtool gui is completely blank (normally it should be showing all the current input methods, and the available input methods.
So at this point, I had to first click the Restore Defaults Button, followed by clicking the Reset button in order to get it to show what it was supposed to show at startup. The two pictures attached below shows what I described above:
So that's problem 1. I don't know why it's saying fcitx5 is not running when the process was already successfully running in the background via .xinitrc and startx. In addition, why is it not able to show the input methods UNTIL i restore defaults and reset? (it should just open the gui with these things presented to the user normally.)
In the terminal window (shown in picture), it showed error: XDG_RUNTIME_DIR is invalid or not set in the environment. Could this be the problem? I changed my default (sh) to (bash) and since I didn't find any example/default bash .bashrc or .bash_profile in freebsd, I just basically created them myself. .bashrc has nothing except: alias ls='ls --color=auto' to show color ls, and .bash_profile has nothing except the three exports for fcitx5:
export XMODIFIERS='@im=fcitx'
export GTK_IM_MODULE=fcitx/xim
export QT_IM_MODULE=fcitx
Problem 2: zh-fcitx5-rime
So after i added rime to the current input method in the fcitx5-configtool gui, fcitx5 did work, but it's not showing the correct words when I type, because the primary luna_pinyin input method in rime isn't working properly. These lines are also from the terminal when fcitx5 was being started after i clicked the Run Fcitx5 button.
E20221019 19:59:49.577551 14753792 level_db.cc:277] Error opening db 'luna_pinyin': IO error: lock /home/rue/.local/share/fcitx5/rime/luna_pinyin.userdb/LOCK: Resource temporarily unavailable
E20221019 19:59:49.581617 14753792 level_db.cc:277] Error opening db 'luna_pinyin': IO error: lock /home/rue/.local/share/fcitx5/rime/luna_pinyin.userdb/LOCK: Resource temporarily unavailable
E20221019 19:59:49.585325 14753792 level_db.cc:277] Error opening db 'luna_pinyin': IO error: lock /home/rue/.local/share/fcitx5/rime/luna_pinyin.userdb/LOCK: Resource temporarily unavailable
Any help would be greatly appreciated.