On Sat, 2021-03-27 at 07:19 +0800, Ed Greshko wrote:
> On 26/03/2021 16:55, Robert G. (Doc) Savage via users wrote:
> > Using Fedora 33 with MATE desktop...
> > 
> > I'm working with the developer of a very handy RPN calculator app
> > called rpCalc to figure out why it doesn't work for my regular user
> > 'doc' but works perfectly for a newly created user 'test'. The
> > developer strongly suspects a Qt5 setting. We have narrowed our
> > search to my local environment:
> > 
> > $ env | grep QT
> > QT_IM_MODULE=xim
> > QT_AUTO_SCREEN_SCALE_FACTOR=0
> > QT_SCALE_FACTOR=2
> > 
> > The developer believes the first (set to =xim) is causing rpCalc
> > not to function at all, and that the next two cause the font sizes
> > on the calculator buttons  to be oversize.
> > 
> > I'm looking for one or more config files -- probably in my home
> > directory -- that set these variables. Talk about looking for a
> > needle in a haystack.
> > 
> > Is there a cat | grep command (or equiv) that can recursively look
> > for "QT" in all files in my home directory -- including hidden
> > files? It would have to be able to output the full path to any
> > files in which "QT" is found. Unfortunately cat does not support
> > recursive searches.
> > 
> 
> I don't know about the other 2, but QT_IM_MODULE is related to "Input
> Method".
> 
> The "best" way to change that is to install and run "im-chooser".
> I've never tried to us "X compose table" (xim) as my
> input method.  I use ibus.

Ed,

To work correctly, the rpcalc app also needs to have QT_IM_MODULE=ibus.
I don't know what sets it to xim, but whatever sets it to xim is
tenacious. I've tried both "im-chooser" and a simple manual change:

$ set QT_IM_MODULE=ibus
$ export QT_IM_MODULE
$ env QT_IM_MODULE
QT_IM_MODULE=xim

If I create a new user "test" and log on with that userID, the input
method defaults to ibus and rpcalc works. So the brute force method to
correct my problem might be to totally blow away and recreate my
current user account. That would be very destructive.

--Doc
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to