Wednesday, June 08, 2022

Re: fcitx: add usage with kitty & fix typo

On 22/06/08 09:56AM, Omar Polo wrote:
> Yifei Zhan <openbsd@zhan.science> wrote:
> > This is a README update:
> >
> > - kitty needs an extra variable to work with fcitx
> > - fix my typo, fcitx-config-qt should be fcitx-configtool-qt
> >
> > diff --git a/inputmethods/fcitx/Makefile b/inputmethods/fcitx/Makefile
> > index c2d002c859e..cfc44dfaa45 100644
> > --- a/inputmethods/fcitx/Makefile
> > +++ b/inputmethods/fcitx/Makefile
> > @@ -2,7 +2,7 @@ COMMENT = flexible input method framework
> >
> > DISTNAME = fcitx5-5.0.15
> > PKGNAME = ${DISTNAME:S/fcitx5/fcitx/}
> > -REVISION = 1
> > +REVISION = 2
> >
> > SHARED_LIBS += Fcitx5Config 0.0 # 0.0
> > SHARED_LIBS += Fcitx5Core 0.0 # 0.0
> > diff --git a/inputmethods/fcitx/pkg/README b/inputmethods/fcitx/pkg/README
> > index 6100b132c7c..07e2c4cd896 100644
> > --- a/inputmethods/fcitx/pkg/README
> > +++ b/inputmethods/fcitx/pkg/README
> > @@ -8,7 +8,7 @@ chosen languages and graphical environments (e.g. Qt, GTK+).
> >
> > A basic installation of fcitx would be:
> >
> > - # pkg_add fcitx fcitx-config-qt fcitx-gtk fcitx-qt
> > + # pkg_add fcitx fcitx-configtool-qt fcitx-gtk fcitx-qt
> > # pkg_add $YOUR_PREFERRED_INPUT_METHOD
> >
> > then configure fcitx to start with your DE/WM and setup your IM
> > @@ -54,6 +54,9 @@ export GTK_IM_MODULE=fcitx
> > export QT_IM_MODULE=fcitx
> > ${TRUEPREFIX}/bin/fcitx5 &
> >
> > +To use fcitx with kitty terminal, also add the following line:
> > +
> > +export GLFW_IM_MODULE=ibus
>
> I guess this is not needed only for kitty, but also for other
> applications using GLFW?

I'm not sure, I can't validate as I'm not aware of any other
application requiring this variable despite some grepping in the ports
tree/searching on the web. However, if that's the case, I'm not
against changing it :)

>
> if so I'd add it in the previous block along with the XMODIFIERS,
> GTK_IM_MODULE and qt module.
>
> > Setting up input engines
> > ========================
>
>

No comments:

Post a Comment