Re: Set up fcitx in VNC ?
...
export GTK_IM_MODULE=$XIM
export QT_IM_MODULE=$XIM
...
I think that 'XIM' is a variale, so you should add '$' before 'XIM'.
or use this
...
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
...
and erase the line 'export XIM=fcitx'
Yours,
Nickel Cobalt
On Thu, Oct 25, 2007 at 09:54:13PM +0800, Michael Yang wrote:
> Hi All:
>
> I want to access my linux box with vncserver installed - Debian lenny/sid
> But I couldn't use my fcitx in vncviewer, the CTRL_SPACE key is
> conflicted with the windows input methods.
>
> I have installed the vnc4server and vnc-common package, the xstartup
> script is as follows:
>
> #!/bin/sh
> # Uncomment the following two lines for normal desktop:
> # unset SESSION_MANAGER
> # exec /etc/X11/xinit/xinitrc
> [ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
> [ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
> xsetroot -solid grey
> startxfce4&
> export LC_CTYPE=zh_CN.UTF-8
> export XMODIFIERS="@im=fcitx"
> export XIM=fcitx
> export XIM_PROGRAM=fcitx
> export GTK_IM_MODULE=xim
> export QT_IM_MODULE=xim
> fcitx&
>
> Could anybody give any leads to set it up correctly?
>
> Appreciated for your helps.
>
> Thanks.
> - Michael
>
>
> --
> To UNSUBSCRIBE, email to debian-chinese-gb-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmaster@lists.debian.org
Reply to: