Bug 156962

Summary: Force YaST2 to use XIM to prevent from launching another scim instance, when launching yast2 by a normal user.
Product: [openSUSE] SUSE Linux 10.1 Reporter: Zhe Su <zsu>
Component: YaST2Assignee: Marcus Schaefer <ms>
Status: RESOLVED FIXED QA Contact: Klaus Kämpf <kkaempf>
Severity: Normal    
Priority: P5 - None    
Version: Beta 7   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Zhe Su 2006-03-10 09:56:52 UTC
Because we are using immodule enabled qt3 and scim-qtimm, yast2-qt will load scim-qtimm module to get input method service. Then it'll launch another scim instance for root user, if yast2 is launched by a normal user. It's annoying, and may confuse users.

I suggest to add "export QT_IM_MODULE=xim" in yast2 startup script to force yast2 use XIM instead of scim-qtimm to prevent from launching another scim instance.
Comment 1 Mike Fabian 2006-03-10 10:25:57 UTC
Reassigning to Marcus Schäfer <ms@suse.de>, he can add this to the
YaST2 start scripts.
Comment 2 Mike Fabian 2006-03-10 10:28:20 UTC
Do you want to set QT_IM_MODULE=xim in the yast2 start script only if
yast2 is launched by a normal user?
What should happen if the user is already logged in as root?
Should we set QT_IM_MODULE=xim always in the yast2 start script?
Comment 3 Zhe Su 2006-03-10 10:58:31 UTC
I think setting QT_IM_MODULE=xim always in the yast2 start script should be the simplest way, and it should be just ok.
Comment 4 Marcus Schaefer 2006-03-10 11:20:41 UTC
ok, I added that variable, fixed