Re: Set up fcitx in VNC ?
Appreciated of your suggestions.
I tried some other key for calling fcitx app, but can't get it invoked.
Now I'm not sure if there is any problem on the setting of fcitx.
However, it works fine on the local display with CTRL_SPACE.
Is there any leads to check where could the problem arise from?
Thanks so much!
On 10/26/07, shell909090 <email@example.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> u'd better set CTRL_SPACE key to another key. Windows use
> GetMeessage-TranslateMessage-SendMessage to process key event. before
> that, cross.exe will get hardware event and translate to key event.
> CTRL_SPACE key event will be translate to system event and program
> will not recive, just like some other keys. Ctrl+Atl+Del is the most
> femose one, maybe you know VNC client how to process it. If VNC client
> wanna process this kind of key by slef. It must change the procession
> which cross.exe normally do. Far as I know, most of VNC client don't
> do that.
> BTW, when u use VNC client under linux, It'll be all right.
> Because IM is processed by program slef under linux. It could hook
> CTRL_SPACE event and process it frist. However, Ctrl+Atl+Del still
> don't work.
> Michael Yang 写道:
> > 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
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> -----END PGP SIGNATURE-----