fcitx pinyin context menu not appearing

873 views
Skip to first unread message

Joseph Minicucci

unread,
Sep 1, 2015, 6:22:51 PM9/1/15
to fcitx
I ham running fcitx in 15.04 XFCE Ubuntu (XUbuntu) and my fcitx is working fine for both Chewing and Google Pinyin input, however the menu with pinyin entries never shows up when I type. So for example, I can type some Pinyin, hit a number, and the text is input, however I have no idea which number corresponds to what entry. I toyed with some settings to no avail. Am I missing something?  Any help is greatly appreciated!

Weng Xuetian

unread,
Sep 1, 2015, 10:42:29 PM9/1/15
to fcitx
Emm, do you have fcitx-classic-ui installed?
> --
> You received this message because you are subscribed to the Google Groups
> "fcitx" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to fcitx+un...@googlegroups.com.
> To post to this group, send email to fc...@googlegroups.com.
> Visit this group at http://groups.google.com/group/fcitx.
> For more options, visit https://groups.google.com/d/optout.

Weng Xuetian

unread,
Sep 1, 2015, 10:44:44 PM9/1/15
to fcitx
Ok it's called fcitx-ui-classic on ubuntu.
http://packages.ubuntu.com/trusty/fcitx-ui-classic

If it is installed but still doesn't work (login/logout required, or
run fcitx -r to restart fcitx), please paste your output of
fcitx-diagnose.

Joseph Minicucci

unread,
Sep 2, 2015, 1:19:04 PM9/2/15
to fcitx
Yes I have fcitx-ui-classic installed. Upon restart I do get one WARN:
(WARN-5831 /build/buildd/fcitx-4.2.8.5/src/frontend/xim/xim.c:161) Please set XMODIFIERS.
This was when I was running SCIM as my default IME. When I switched the system to FCITX, log out/log in, fcitx -r I get :
(ERROR-12949 /build/buildd/fcitx-4.2.8.5/src/frontend/xim/xim.c:240) Start XIM error. Another XIM daemon named fcitx is running?
(ERROR-12949 /build/buildd/fcitx-4.2.8.5/src/lib/fcitx/instance.c:437) Exiting.
Should be obvious that fcitx is already running, however the keyboard fcitx daemon icon in my toolbar disappears on every logon after about 5 seconds. Here is my fcitx-diagnose:
# System Info:
1.  `uname -a`:


       
Linux user-Peppy 3.19.0-26-generic #28-Ubuntu SMP Tue Aug 11 14:16:32 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux


2.  `lsb_release -a`:


       
No LSB modules are available.
       
Distributor ID: Ubuntu
       
Description: Ubuntu 15.04
       
Release: 15.04
       
Codename: vivid


3.  `lsb_release -d`:


       
Description: Ubuntu 15.04


4.  `/etc/lsb-release`:


        DISTRIB_ID
=Ubuntu
        DISTRIB_RELEASE
=15.04
        DISTRIB_CODENAME
=vivid
        DISTRIB_DESCRIPTION
="Ubuntu 15.04"


5.  `/etc/os-release`:


        NAME
="Ubuntu"
        VERSION
="15.04 (Vivid Vervet)"
        ID
=ubuntu
        ID_LIKE
=debian
        PRETTY_NAME
="Ubuntu 15.04"
        VERSION_ID
="15.04"
        HOME_URL
="http://www.ubuntu.com/"
        SUPPORT_URL
="http://help.ubuntu.com/"
        BUG_REPORT_URL
="http://bugs.launchpad.net/ubuntu/"


6.  Desktop Environment:


   
Desktop environment is `xfce`.


# Environment:
1.  DISPLAY:


        DISPLAY
=':0.0'


2.  Keyboard Layout:


   
1.  `setxkbmap`:


            xkb_keymap
{
            xkb_keycodes  
{ include "evdev+aliases(qwerty)" };
            xkb_types    
{ include "complete" };
            xkb_compat    
{ include "complete" };
            xkb_symbols  
{ include "pc+us+cn:2+inet(evdev)" };
            xkb_geometry  
{ include "pc(pc105)" };
           
};


   
2.  `xprop`:


            _XKB_RULES_NAMES
(STRING) = "evdev", "pc105", "us,cn", "", ""


3.  Locale:


   
1.  All locale:


            C
            C
.UTF-8
            de_CH
.utf8
            en_AG
            en_AG
.utf8
            en_AU
.utf8
            en_BW
.utf8
            en_CA
.utf8
            en_DK
.utf8
            en_GB
.utf8
            en_HK
.utf8
            en_IE
.utf8
            en_IN
            en_IN
.utf8
            en_NG
            en_NG
.utf8
            en_NZ
.utf8
            en_PH
.utf8
            en_SG
.utf8
            en_US
.utf8
            en_ZA
.utf8
            en_ZM
            en_ZM
.utf8
            en_ZW
.utf8
            es_CU
.utf8
            POSIX
            zh_CN
.utf8
            zh_HK
.utf8
            zh_SG
.utf8


   
2.  Current locale:


            LANG
=en_US.UTF-8
            LANGUAGE
=en_US
            LC_CTYPE
="en_US.UTF-8"
            LC_NUMERIC
="en_US.UTF-8"
            LC_TIME
="en_US.UTF-8"
            LC_COLLATE
="en_US.UTF-8"
            LC_MONETARY
="en_US.UTF-8"
            LC_MESSAGES
="en_US.UTF-8"
            LC_PAPER
="en_US.UTF-8"
            LC_NAME
="en_US.UTF-8"
            LC_ADDRESS
="en_US.UTF-8"
            LC_TELEPHONE
="en_US.UTF-8"
            LC_MEASUREMENT
="en_US.UTF-8"
            LC_IDENTIFICATION
="en_US.UTF-8"
            LC_ALL
=


4.  Directories:


   
1.  Home:


           
/home/user


   
2.  `${XDG_CONFIG_HOME}`:


       
Environment variable `XDG_CONFIG_HOME` is not set.


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


   
3.  Fcitx Settings Directory:


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


5.  Current user:


   
The script is run as root (0).


   
1.  `sudo` Environment Variables:


        SUDO_COMMAND
is set to /usr/bin/fcitx-diagnose.


        SUDO_USER
is set to user.


        SUDO_UID
is set to 1000.


        SUDO_GID
is set to 1000.


   
2.  Running as root:


       
**You are probably using `sudo` to run this script. This means the result of this script may not be accurate. See [sudo environment variables](https://www.google.com/search?q=sudo+environment+variables) for more information.**


# Fcitx State:
1.  executable:


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


2.  version:


   
Fcitx version: `4.2.8.5`


3.  process:


   
Found 4 fcitx processes:


         
9574 fcitx
         
9618 fcitx-dbus-watc
         
9798 fcitx-qimpanel
       
10092 fcitx-config-gt


4.  `fcitx-remote`:


   
**Cannot connect to fcitx correctly.**


# Fcitx Configure UI:
1.  Config Tool Wrapper:


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


2.  Config GUI for gtk2:


   
**Config GUI for gtk2 not found.**


3.  Config GUI for gtk3:


   
Found `fcitx-config-gtk3` at `/usr/bin/fcitx-config-gtk3`.


4.  Config GUI for kde:


   
**`kcmshell4` not found.**


# 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.


## 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:
   
Found fcitx im module for Qt5: `/usr/lib/x86_64-linux-gnu/qt5/plugins/platforminputcontexts/libfcitxplatforminputcontextplugin.so`.
   
Found fcitx im module for Qt4: `/usr/lib/x86_64-linux-gnu/qt4/plugins/inputmethods/qtim-fcitx.so`.


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


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


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


   
2.  gtk 3:


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


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


3.  Gtk IM module cache:


   
1.  gtk 2:


       
Found immodules cache for gtk `2.24.27` 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.27


       
Found fcitx im modules for gtk `2.24.27`.


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


   
2.  gtk 3:


       
Found immodules cache for gtk `3.14.13` 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.14.13


       
Found fcitx im modules for gtk `3.14.13`.


           
"/usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/immodules/im-fcitx.so"
           
"fcitx" "Fcitx (Flexible Input Method Framework)" "fcitx" "/usr/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/share/fcitx/addon`.


2.  Addon List:


   
1.  Found 30 enabled addons:


            fcitx
-autoeng
            fcitx
-chewing
            fcitx
-chttrans
            fcitx
-classic-ui
            fcitx
-clipboard
            fcitx
-cloudpinyin
            fcitx
-dbus
            fcitx
-freedesktop-notify
            fcitx
-fullwidth-char
            fcitx
-googlepinyin
            fcitx
-imselector
            fcitx
-ipc
            fcitx
-keyboard
            fcitx
-kimpanel-ui
            fcitx
-lua
            fcitx
-notificationitem
            fcitx
-pinyin
            fcitx
-pinyin-enhance
            fcitx
-punc
            fcitx
-quickphrase
            fcitx
-remote
            fcitx
-spell
            fcitx
-sunpinyin
            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`:


       
Wed Sep  2 11:13:22 MDT 2015


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


        total
0


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


   
`~/.config/fcitx/log/crash.log` not found.


Thanks alot for looking at this, I use Chinese daily and it is important for me to be able to type to my colleagues.

Yichao Yu

unread,
Sep 2, 2015, 3:13:57 PM9/2/15
to fc...@googlegroups.com
> 5. Current user:
>
>
> The script is run as root (0).
>
>
> 1. `sudo` Environment Variables:
>
>
> SUDO_COMMAND is set to /usr/bin/fcitx-diagnose.
>
>
> SUDO_USER is set to user.
>
>
> SUDO_UID is set to 1000.
>
>
> SUDO_GID is set to 1000.
>
>
> 2. Running as root:
>
>
> **You are probably using `sudo` to run this script. This means the
> result of this script may not be accurate. See [sudo environment
> variables](https://www.google.com/search?q=sudo+environment+variables) for
> more information.**
>

Please don't run the diagnose script as root.

Weng Xuetian

unread,
Sep 2, 2015, 3:28:55 PM9/2/15
to fcitx
Are you trying to use sogou pinyin? If not, uninstall fcitx-qimpanel
may be help.
Reply all
Reply to author
Forward
0 new messages