[PC-BSD Testing] ja-ibus-anthy missing and cannot install
ken at pcbsd.org
Mon Jan 27 10:19:40 PST 2014
On 01/27/14 13:03, Yamashiro, Jun wrote:
> On Mon, 27 Jan 2014 10:31:32 -0500
> Kris Moore <kris at pcbsd.org> wrote:
>> On 01/27/2014 09:29, Ken Moore wrote:
>>> Kris, could you backport this to 10.0-Release?
>> I'll get that rolled in asap.
> I'm very thanks to you for fast fix.
> I compiled new PCDM-session. But, not set iBus related environment variable:-(
> Dirty hack plan:
> I wrote hard-coding patch for XProcess::setupSessionEnvironment()
> Append code for environment variables set forcefully.
> This patch worked with my environment. But very dirty. It has not support
> for "Force IBUS keyboard input" mode.
> --- pcdm-xprocess.cpp.orig 2014-01-28 02:18:27.620670697 +0900
> +++ pcdm-xprocess.cpp 2014-01-28 02:22:17.166667922 +0900
> @@ -181,6 +181,13 @@
> environ.insert("HOME",xhome); //Set the users home directory
> environ.insert("SHELL",xshell); //Set the user's default shell
> environ.insert("PCDM_SESSION", Backend::getNLDesktopName(xde).toUpper() ); //List the desktop environment that is being started
> + // for iBus
> + environ.insert("XMODIFIERS","@im=ibus");
> + environ.insert("GTK_IM_MODULE","xim");
> + environ.insert("GTK_IM_MODULE_FILE","/usr/local/etc/gtk-2.0/gtk.immodules");
> + environ.insert("QT_IM_MODULE","ibus");
> this->setWorkingDirectory(xhome); //set the current directory to the user's home directory
As you mentioned, I don't think that hard-coding this type of thing into
PCDM is the answer....
Did you also fix the /usr/local/share/pcbsd/enable-ibus.sh script so
that "GDM_LANG" (near the top of the script) is now just "LANG"? That
was another fix that I put in last Friday.
That script looks like it is supposed to be setting those environment
variables, so the problem might just lie there.
~~ Ken Moore ~~
More information about the Testing