[PC-BSD Testing] iBus(CJK input method) cannot working on 9.0Beta1.5

Kris Moore kris at pcbsd.org
Sun Sep 11 12:49:19 PDT 2011


On 09/09/11 11:42, Yamashiro, Jun wrote:
> Hi lists,
>
> 9.0 Beta1.5 cannot input Japanese text.
> (But, ibus-daemon is running correctly)
>
> Currently, iBus-related environment variable set in
> /usr/local/share/pcbsd/xstartup/enable-ibus.sh (It called from ~/.xprofile)
> variables: GTK_IM_MODULE, GTK_IM_MODULE_FILE, QT_IM_MODULE, XMODIFIERS,
>  
> But, these variables not set in actually.  iBus cannot work correctly.
>
> Reason:
> /bin/sh cannot receive enviroment variable without from child script.
>
> Do this scripts.
>
> $ edit child.sh
> #!/bin/sh
> # child.sh
> export CHILD=child
>
> # end of file
>
> $ edit parent.sh
> #!/bin/sh
> # parent.sh
> ./child.sh	# cannot receive $CHILD from child.sh
> echo "'$CHILD' at parent"
>
> . ./child.sh	# work correctly
> echo "'$CHILD' at parent"
> # end of file
>
> $ chmod +x parent.sh child.sh
> $ ./parent.sh
> '' at parent
> 'child' at parent
> $
>
>
> Solution:
> Apply attached patch to ~/.xprofile and /usr/local/share/pcbsd/xstartup/*.sh
>
> 1. Start shell script with shell built-in command "."
>    for iBus related environment variable
> 2. Replace "exit" to "return" for command ".".
>
>
> regards,
>
>
> _______________________________________________
> Testing mailing list
> Testing at lists.pcbsd.org
> http://lists.pcbsd.org/mailman/listinfo/testing

Thanks for finding this! Committed!


-- 
Kris Moore
PC-BSD Software
iXsystems

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pcbsd.org/pipermail/testing/attachments/20110911/03987055/attachment.html>


More information about the Testing mailing list