LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-05-2009, 06:07 PM   #1
camphor
Member
 
Registered: Jan 2009
Location: USA
Distribution: Fedora 14 / Slackware 13.1
Posts: 85

Rep: Reputation: 20
Disabling Mousepad SCIM as root.


Hey all. I can run mousepad from the terminal as myself quickly and easily enough, but always have a major hang when trying to run the command as root. Apparently it takes the time to start some SCIM daemon, one which I thought I had disabled. It also shows up in the notification tray after I have started mousepad (in pypanel) several times. Does anyone know of any solutions other than disabling SCIM altogether? This is on a fresh Slackware install, and I didn't have this problem the last time it was on this box.

Here's the terminal output as root:

Code:
bash-3.1# mousepad xxx
Launching a SCIM daemon with Socket FrontEnd...
Loading simple Config module ...
Creating backend ...
Loading socket FrontEnd module ...
Starting SCIM as daemon ...
GTK Panel of SCIM 1.4.7
 
Old 02-07-2009, 11:12 PM   #2
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Arch + Xfce
Posts: 6,852

Rep: Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037
scim is a multi-language IME system. Every user is given a separate instance and configuration, and so when you run an app as root it has to load so that root can input multiple languages.

First off, do you even need an IME? Unless you need to type in any non-alphabetic foreign languages like CJK, arabic, or whatnot, then you can simply uninstall scim (and whatever language backends are installed) completely.

Otherwise, you probably have an application named im-switch or im-chooser or something that you can use to turn it off.

There are also 3 environmental variables that can control which IME is used.

GTK_IM_MODULE=scim
QT_IM_MODULE=scim
XMODIFIERS=@im=SCIM

Try changing them to "xim". That should be enough to disable calling scim up when most applications are run. im-switch should change them for you if you run that.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
disabling fsck on root partition ritam_bkp Linux - Newbie 3 09-27-2008 09:11 AM
SCIM displays additional system tray icon for root General SUSE / openSUSE 0 06-08-2007 08:53 PM
disabling the root account shifter Slackware 23 06-04-2006 11:12 PM
disabling su to root from telnet subhasis_ray Linux - Security 6 02-11-2003 06:04 AM
Disabling my Mousepad Rotten Deadite Linux - Hardware 1 06-13-2002 06:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:45 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration