On Sun, Sep 16, 2007 at 08:12:56AM +0900, Osamu Aoki wrote:
> After talking to
> Goto-san today, I feel like to replace im-switch package with something
> like im-common package in which uim, kinput2, SCIM just share X
> initialization hook or even SCIM to include hook in somewhere like
> /usr/shar
Hi,
First my rant and then the solution to the problem...
I am thinking that im-switch is too complex for the simple task of
starting IM such as SCIM, uim, kinput2 and it obscures IM setting. If
it is simple hook script, this could be much simpler.
The complication comes from the very twisted u
On Sat, Sep 15, 2007 at 01:37:08AM -0500, Ming Hua wrote:
> On Sat, Sep 15, 2007 at 02:52:42PM +0900, Osamu Aoki wrote:
> >
> > I thought this defunct process was caused by appending & to the command
> > which itself was able to daemonize itself. As I checked it was there
> > anyway. (& was alwa
On Sat, Sep 15, 2007 at 02:52:42PM +0900, Osamu Aoki wrote:
>
> I thought this defunct process was caused by appending & to the command
> which itself was able to daemonize itself. As I checked it was there
> anyway. (& was always added with normal use of im-switch)
I am not sure what you mean
On Fri, Sep 14, 2007 at 10:25:37PM -0500, Ming Hua wrote:
> On Sat, Sep 15, 2007 at 12:09:53PM +0900, Osamu Aoki wrote:
> >
> > As I see for SCIM:
> >
> > XIM_PROGRAM=/usr/bin/scim
> > XIM_ARGS="-d"
> >
> > With these, the following is actually executed
> > # execute XIM_PROGRAM
> > [ -n "$XIM_P
On Sat, Sep 15, 2007 at 12:09:53PM +0900, Osamu Aoki wrote:
>
> As I see for SCIM:
>
> XIM_PROGRAM=/usr/bin/scim
> XIM_ARGS="-d"
>
> With these, the following is actually executed
> # execute XIM_PROGRAM
> [ -n "$XIM_PROGRAM" -a -x "$XIM_PROGRAM" ] && eval "$XIM_PROGRAM $XIM_ARGS &"
> ||
> tru
Hi,
Simplest one line to check
$ pidof scim-launcher|xargs -n1 ps --no-headers -o user,pid --pid
2>/dev/null|grep "^${USER} *"|awk '{print $2}'
4513
4504
Or ... much simpler
$ pidof scim-launcher|xargs -n1 ps --no-headers -o user,pid --pid
2>/dev/null|sed -n "s/^${USER} *\([1-9][0-9]*\)$/\1
Package: im-switch
Version: 1.14
Severity: normal
VINE's setime (/usr/share/vine/imelib) is interesting which may give
idea for avoiding duplicated start of IME by im-switch initiated
scripts.
For example for set up IME with SCIM, first next function is run
setSCIM() {
XMODIFIERS="@im=SCIM"
8 matches
Mail list logo