I have: GTK_IM_MODULE=scim XMODIFIERS=@im=SCIM QT_IM_MODULE=scim
If I unset XMODIFIERS, dmenu works correctly. If I set XMODIFIERS=@im=scim, dmenu segfaults. XSetLocaleModifiers returns '@im=SCIM', as expected. On Tue, Feb 12, 2019 at 1:57 AM Silvan Jegen <s.je...@gmail.com> wrote: > > Hi Patrick > > On February 12, 2019 7:35:20 AM GMT+00:00, Patrick Smith > <pat42sm...@gmail.com> wrote: > >On Mon, Feb 11, 2019 at 12:43 PM Silvan Jegen <s.je...@gmail.com> > >wrote: > >> I found that the XSetLocaleModifiers("") call returns "@im=ibus" in > >my > >> case which is not surprising because the env variable XMODIFIERS is > >> set to @im=ibus on my machine. If Ibus is not running, however, I get > >> a segfault just like Jordan ("XOpenIM" returns NULL in that case). > >If > >> IBus is running, everything works fine. > > > >In my case, scim is running and can be used from a terminal or Chrome. > >But dmenu still crashes, with XOpenIM returning NULL. > > Is XMODIFIERS set? What does XSetLocaleModifiers return in your case? > > > Cheers, > > Silvan > > -- > Sent from my Android device with K-9 Mail. Please excuse my brevity.