From: Sridhar M.A. on
I am currently running debian (amd64) testing with some packages from
sid. It is stable for my work purposes.

I frequently have to input indic characters and scim is my preferred
input method. I have set the input method to scim using im-switch. I can
only use it in gnome-terminal that too by right-click->Input
Methods->scim. This does not work in OpenOffice or Iceweasel.

On another machine the same set of packages gives me scim
as the default input method for gnome-terminal, OO and iceweasel.

My question, how can I make iceweasel, OO and other packages like
inkscape to use scim as the default input method?

Regards,

--
Sridhar M.A. GPG KeyID : F6A35935
Fingerprint: D172 22C4 7CDC D9CD 62B5 55C1 2A69 D5D8 F6A3 5935

Heller's Law:
The first myth of management is that it exists.

Johnson's Corollary:
Nobody really knows what is going on anywhere within the
organization.


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/20100705115111.GA4085(a)brahman.maisuru.org
From: Wolodja Wentland on
On Mon, Jul 05, 2010 at 17:21 +0530, Sridhar M.A. wrote:
> My question, how can I make iceweasel, OO and other packages like
> inkscape to use scim as the default input method?

Yeah, I know that problem. Take a look at:

/usr/share/doc/scim/README.Debian.gz

which explains the whole situation in great detail. In particular the
sections "Autostart SCIM" and "Helper packages" are relevant.

Good luck

Wolodja
--
.''`. Wolodja Wentland <wentland(a)cl.uni-heidelberg.de>
: :' :
`. `'` 4096R/CAF14EFC
`- 081C B7CD FF04 2BA9 94EA 36B2 8B7F 7D30 CAF1 4EFC
From: Sridhar M.A. on
On Mon, Jul 05, 2010 at 02:11:25PM +0200, Wolodja Wentland wrote:
>
> /usr/share/doc/scim/README.Debian.gz
>
> which explains the whole situation in great detail. In particular the
> sections "Autostart SCIM" and "Helper packages" are relevant.
>
Thanks for the reply. In fact, scim was getting started as could be seen
from ~/.xsession-errors. The problem was I had to choose manually the
input method in gnome-terminal and no way of doing it in iceweasel et
al.

I noticed that I had chosen scim as the input method using im-switch.
The scim method sets GTK_IM_MODULE=xim whereas scim-immodule sets the
same to scim! Changing that made gnome-terminal, iceweasel, inkscape to
use scim as their input method. I still cannot get it to work under OO.

Any suggestion is welcome.

Regards,

--
Sridhar M.A. GPG KeyID : F6A35935
Fingerprint: D172 22C4 7CDC D9CD 62B5 55C1 2A69 D5D8 F6A3 5935

Mathematics is the only science where one never knows what
one is talking about nor whether what is said is true.
-- Russell
From: H.S. on
On 05/07/10 07:51 AM, Sridhar M.A. wrote:
>
> My question, how can I make iceweasel, OO and other packages like
> inkscape to use scim as the default input method?

This is on Debian Testing, Intel 32 bit processor. I can use scim on my
KDE desktop without any problems ... almost. The only hiccup is that its
applet does not start when I log in. This gives an option of switching
to my last changed keyboard using CTRL+SPC only (since I cannot click on
an applet to select a different layout). I have to kill its gtk instance
which forces some auto restart in scim and the kde applet appears.

Example, right now I have the following processes. I do not have the
scim applet, but I can switch to the alternate layout using CTRL+SPC.
$> ps uax | grep scim
hs 2214 0.0 0.1 9964 1772 ? Ss Jul01 0:02
/usr/lib/scim-1.0/scim-launcher -d -c simple -e all -f socket --no-stay
hs 2218 0.0 0.0 6208 404 ? Ss Jul01 0:00
/usr/lib/scim-1.0/scim-helper-manager
hs 2219 0.0 0.4 28844 5976 ? Ssl Jul01 1:15
/usr/lib/scim-1.0/scim-panel-gtk --display :0.0 -c socket -d --no-stay
hs 2221 0.0 0.0 9180 540 ? Ss Jul01 0:00
/usr/lib/scim-1.0/scim-launcher -d -c socket -e socket -f x11
hs 17527 0.0 0.0 3860 776 pts/6 S+ 10:30 0:00 grep scim

Terminating gtk instance prompts the scim to give me its applet in KDE's
panel:
$> kill -TERM 2219

Now I can select whichever layout I want from the applet.


Now, all that is well and good, but I am no sure why gtk related
instance starts. So I poked around /etc files and found this:
$> cat /etc/scim/global
/SupportedUnicodeLocales = en_US.UTF-8
/DefaultPanelProgram = scim-panel-gtk
/DefaultConfigModule = simple
/DefaultSocketFrontEndAddress = local:/tmp/scim-socket-frontend
/DefaultSocketIMEngineAddress = local:/tmp/scim-socket-frontend
/DefaultSocketConfigAddress = local:/tmp/scim-socket-frontend
/DefaultPanelSocketAddress = local:/tmp/scim-panel-socket
/DefaultHelperManagerSocketAddress = local:/tmp/scim-helper-manager-socket
/DefaultSocketTimeout = 5000


Perhaps the default panel program is the responsible for it. I wonder
how to make it so that gtk related scim starts in Gnome but kde related
in KDE only.


Another thing that might matter is the following file:
$> cat ~/.scim/global
/DefaultKeyboardLayout = kconfig
/DisabledIMEngineFactories = IMEngine-M17N-am-sera, .... <and so on: all
the disabled layout in my scim applet>
/SupportedUnicodeLocales = en_CA.utf8,en_US.UTF-8,fr_FR.UTF-8



Regards.




--

Please reply to this list only. I read this list on its corresponding
newsgroup on gmane.org. Replies sent to my email address are just
filtered to a folder in my mailbox and get periodically deleted without
ever having been read.


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/i0vf2g$q4o$1(a)dough.gmane.org
From: Lisi on
On Tuesday 06 July 2010 15:37:04 H.S. wrote:
> The only hiccup is that its
> applet does not start when I log in. This gives an option of switching
> to my last changed keyboard using CTRL+SPC only

I have it working, so far as I can see, perfectly on Lenny, applet and all,
Oowriter and all. Tho' I prefer ctrl+space as an access method. But I have
it working in Japanese.

I could dig out my "notes" if that would be any help. (I set it up a while
ago.)

Lisi


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/201007061723.10730.lisi.reisz(a)gmail.com