On Fri, May 19, 2006 at 07:27:22 +0900, Osamu Aoki wrote:
> On Fri, May 19, 2006 at 02:42:07PM +0200, Florian Kulzer wrote:
> > system, this breaks [xk]dm. The "[ ! ]" test makes sure that the overall
> > return status of 90im-switch is "true" in any case.
> 
> I wonder what was your im-switch script in /etc/X11/xinit/xinput.d/
> used.  If that script has "|", that may be it.

The first configuration file which is found on my system is
/etc/X11/xinit/xinput.d/all_ALL, which is a symlink pointing to
/etc/alternatives/xinput-all_ALL, which in turn is a symlink to
/etc/X11/xinit/xinput.d/default. This script has only the following
commands (I don't include the comments here): 

XIM=
XIM_PROGRAM=
XIM_ARGS=
XIM_PROGRAM_XTRA=
GTK_IM_MODULE=
QT_IM_MODULE=
DEPENDS=
 
> Even if "if then ... fi" part returns false, subsequent successful
> assignment should reset return to true. 

I have tried a few more things. Like I said, if I remove the "[ ! ]"
line, [xk]dm log-in stops working. If I then comment out the following
part

#[ -n "$GTK_IM_MODULE" ] && export GTK_IM_MODULE
#[ -n "$QT_IM_MODULE" ] && export QT_IM_MODULE
#
## setup XMODIFIERS
#[ -z "$XMODIFIERS" -a -n "$XIM" ] && XMODIFIERS="@im=$XIM"
#[ -n "$XMODIFIERS" ] && export XMODIFIERS
#
## execute XIM_PROGRAM
#[ -n "$XIM_PROGRAM" -a -x "$XIM_PROGRAM" ] && eval "$XIM_PROGRAM $XIM_ARGS &"
#
## execute XIM_PROGRAM_XTRA
#[ -n "$XIM_PROGRAM_XTRA" ] && eval "$XIM_PROGRAM_EXTRA &"

kdm works again. This suggests to me that the rest of the "then...fi"
section is not responsible for the problem. However, as soon as I
uncomment any of the remaining test expressions, kdm breaks again. An
example for this would be:

[ -n "$GTK_IM_MODULE" ] # && export GTK_IM_MODULE

This suggests to me that the problem lies with the test statements. I
hope this helps to clear things up.

Thanks for your time.

-- 
Florian


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to