su
insert debian 8.6.0 dvd
apt-get install fcitx
apt-get install fcitx-sunpinyin
im-config
on internet tutorial says
When asked if you want to explicitly update the user preferences, select “Yes”, then select fcitx as the default input method framework in the dialogue which pops up. Log off and back on again, or better yet, reboot.You should now see a keyboard icon in your system tray in the upper right corner of your screen.
and I get
GtkDialog mapped without a transient parent. This is discouraged.I can’t see fcitx on upper right corner of your screen.Could you tell me what’s wrong?
Current value of XDG_CONFIG_HOME is ~/.config (/root/.config).
Fcitx Settings Directory:
Current fcitx settings directory is ~/.config/fcitx (/root/.config/fcitx).
Current user:
The script is run as root (0).
sudo Environment Variables:
SUDO_COMMAND is not set.
SUDO_USER is not set.
SUDO_UID is not set.
SUDO_GID is not set.
Running as root:
You are probably logging in as root or using sudo to run this script. This either means you have security problems or the result of this script may not be accurate. See Why is it bad to run as root or sudo environment variables for more information.
Found fcitx-configtool at /usr/bin/fcitx-configtool.
Config GUI for gtk2:
Config GUI for gtk2 not found.
Config GUI for gtk3:
Found fcitx-config-gtk3 at /usr/bin/fcitx-config-gtk3.
Config GUI for kde:
kcmshell4 not found.
Frontends setup:
Xim:
${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. If you are using gnome>=3.6, you may want to uninstall ibus, remove ibus-daemon or use the command gsettings set org.gnome.settings-daemon.plugins.keyboard active false to disable IBus integration in order to use any input method other than ibus. See Note for GNOME Later than 3.6 for more detail.
Xim Server Name from Environment variable is ibus.
XIM_SERVERS on root window:
Xim server name is the same with that set in the environment variable.
Qt:
qt4 - ${QT4_IM_MODULE}:
Environment variable QT4_IM_MODULE is “xim” instead of “fcitx”. Please check if you have exported it incorrectly in any of your init files. You are using xim in qt4 programs.
To see some application specific problems you may have when using xim, check Hall of Shame for Linux IME Support. For other more general problems of using XIM including application freezing, see here.
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.
Qt IM module files: Cannot find fcitx input method module for Qt4. Cannot find fcitx input method module for Qt5.
Gtk:
gtk - ${GTK_IM_MODULE}:
Environment variable GTK_IM_MODULE is “xim” instead of “fcitx”. Please check if you have exported it incorrectly in any of your init files. You are using xim in gtk programs.
To see some application specific problems you may have when using xim, check Hall of Shame for Linux IME Support. For other more general problems of using XIM including application freezing, see here.
GNOME/GTK+: fcitx-frontend-gtk2 and fcitx-frontend-gtk3 (both)
KDE/Qt4: fcitx-frontend-qt4
The user configuration is modified by im-config.
Restart the X session to activate the new user configuration.
If a daemon program for the previous configuration is re-started by the X session manager, you may need to kill it manually with kill(1).
See im-config(8) and /usr/share/doc/im-config/README.Debian.gz for more.[/code]
I used su to enter root,I quited su now.
I don’t know how to change locale,please help me,thank you
GNOME/GTK+: fcitx-frontend-gtk2 and fcitx-frontend-gtk3 (both)
KDE/Qt4: fcitx-frontend-qt4
The user configuration is modified by im-config.
Restart the X session to activate the new user configuration.
If a daemon program for the previous configuration is re-started by the X session manager, you may need to kill it manually with kill(1).
See im-config(8) and /usr/share/doc/im-config/README.Debian.gz for more.[/code]
I used su to enter root,I quited su now.
I don’t know how to change locale,please help me,thank you[/quote]
执行fcitx-configtool后可以按ctrl-space切换中英文但仍然无法取词,请教应该怎么办?
root@debian:/home/liujianwei# apt-get install fcitx-frontend-all
Reading package lists… Done
Building dependency tree
Reading state information… Done
Package fcitx-frontend-all is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package ‘fcitx-frontend-all’ has no installation candidate
today I use the same method,except set debian locale as unite states.I use below command in terminal.
apt-get update
apt-get install fcitx fcitx-table-wbpy fcitx-config-gtk
fcitx-config-gtk3
I have used fcitx-config-gtk3,add input method,but it shows nothing.
I don’t know why this happened.please help me.