![]() |
[Announce] Easily input Chinese/Japanese/Korean characters without killing your standby time or losing VKB with MSCIM Switcher status menu applet
5 Attachment(s)
(N.B.: This package is now available in the extras-devel Maemo repository)
Why do I care about M/SCIM? For those interested in communicating in or learning languages that use complex characters, particularly Chinese, Japanese and Korean, but many others too, there exist special 'input methods' for the N900. Most are based on the SCIM project (called MSCIM in its Maemo incarnation, but SCIM is also used by some), and are distributed as Maemo packages, and use a special keyboard combination to switch between normal and additional input methods. Unfortunately M/SCIM is a known battery hog. Furthermore, installing M/SCIM would normally disable the virtual keyboard and the symbol keyboard. Not any more! On my phone, powertop shows that its 'scim-panel-gtk' process constantly wakes up the CPU many times per second when running. My N900 went from fully charged to switching itself off in around 5 hours on standby with it running recently. Unfortunately, the process respawns immediately if killed, and nobody seems to know how to stop it. Last night I had the idea of sending the process a SIGSTOP signal, which effectively pauses it. I scripted it up in Ash shell, and it seemed to work, so today I've coded a status menu applet to enable and disable MSCIM this way. For now this is very alpha. You have been warned! Usage
How does it work?
Yes, this is all very inelegant, but I don't have time right now to see if M/SCIM can be optimised. Possible future additions In brainstorming, I was thinking that whenever the device goes off AC power it should warn the user and/disable M/SCIM. Also, apart from using the device with TV out, we probably should stop M/SCIM whenever the screen is locked. Whether this can be done with a reduction in power consumption is another question. When the keyboard slider is closed (except when bluetooth keyboard in use), would be another nice time to disable M/SCIM and allow use of the virtual keyboard. All feedback/queries to this thread please. Change Log for Updates/Corrections v0.3.1
v0.3.0
v0.2.1
v0.2.0
v0.1.1
v0.1.0
v0.0.5
v0.0.4
v0.0.3
v0.0.2
Screenshots |
Re: [Announce] MSCIM Switcher status menu applet
MSCIM is extremely eat battery as i know also, I uninstalled it long time.
I tried install again now see whether yours can improve or not thx! |
Re: [Announce] MSCIM Switcher status menu applet
screenshots please!
|
Re: [Announce] MSCIM Switcher status menu applet
@Xagoln
Thank you for the nice work. I just made a quick test - the "Conversation" seems to be unstable (application no response) after I disabled MSCIM. I tried this for 4 times (reboot + activate Conversation) and observed the same symptom. Any clue to fix this ?? Thanks, :) |
Re: [Announce] MSCIM Switcher status menu applet
Screenshots moved to post #1
|
Re: [Announce] MSCIM Switcher status menu applet
Quote:
Is your MSCIM disabled after reboot? And what do you get if you run this (please copy and paste output): Code:
ps -ef | grep scim Code:
ls -l /etc/gtk-2.0 |
Re: [Announce] MSCIM Switcher status menu applet (UPDATED)
This is awesome news. Exactly what I've been waiting for for the past few month! will definitely test when i get home.
|
Re: [Announce] MSCIM Switcher status menu applet (UPDATED)
@Xagoln
Sorry for the late response. yes, I disabled MSCIM after reboot. Below are the output of code run after MSCIM disabled. FYI & thanks, Quote:
|
Re: [Announce] MSCIM Switcher status menu applet (UPDATED)
@shawwawa
Thanks for that Shawwawa. I had omitted to grant sudoers permissions for creating the symlinks required for MSCIM Switcher to actually work! They only allow the precise operation required, as you'll see if you install the latest package from post #1 and check /etc/sudoers.d/mscimswitcherstatus.sudoers Please upgrade and re-test! |
Re: [Announce] MSCIM Switcher status menu applet (UPDATED)
Quote:
Thank you very much for your help. I'll update and test it ASAP. :) |
All times are GMT. The time now is 05:52. |
vBulletin® Version 3.8.8