From owner-freebsd-questions@FreeBSD.ORG Wed Nov 25 11:38:25 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B7C7E106566B for ; Wed, 25 Nov 2009 11:38:25 +0000 (UTC) (envelope-from bsam@ns.kfs.ru) Received: from ns.kfs.ru (kfs.kfs.ru [194.186.81.194]) by mx1.freebsd.org (Postfix) with ESMTP id 28D478FC25 for ; Wed, 25 Nov 2009 11:38:24 +0000 (UTC) Received: from bsam by ns.kfs.ru with local (Exim 4.67 (FreeBSD)) (envelope-from ) id 1NDGCR-0002Oz-WF; Wed, 25 Nov 2009 14:38:20 +0300 To: yuri@rawbw.com References: <4B0AF88A.4050401@rawbw.com> From: Boris Samorodov Date: Wed, 25 Nov 2009 14:38:19 +0300 In-Reply-To: <4B0AF88A.4050401@rawbw.com> (yuri@rawbw.com's message of "Mon\, 23 Nov 2009 13\:03\:06 -0800") Message-ID: <54268884@serv3.int.kfs.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: "Boris B. Samorodov" Cc: freebsd-questions@freebsd.org Subject: Re: Why in f10 scim doesn't work from skype? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Nov 2009 11:38:25 -0000 Yuri writes: > When I switched from fc6 to f10 scim stopped working in skype. It > shows the prompt but only English language is available. > In fc6 scim worked fine from skype. Aha, this time you gave some additional info which may be helpful. > I believe scim picks up environment variables: LANG, XMODIFIERS, > QT_IM_MODULE, XIM, XIM_PROGRAM and displays languages based on them. > So I think linux infrastructure modifies some of those variables. > > How can I know the current environment variables of the running process? > Anyone has a solution for this problem? Not a solution but a wild guess... You get linux scim with -f10- ports semi-working. That may be due to the difference of directory/file structures for -f6- and -f10- cases. In general linuxulator first search a file/directory at /compat/linux prefix. If not found the search is made at / directory. But IFF needed file/directory is found at prefix /compat/linux the search stops. Usually we remove those directories (from a linux distro before installing) when native FreeBSD should be used. Example: /var, /tmp directories are removed form linux_base ports and are not installed to /compat/linux. So native /var, /tmp are used at run time. The same should be for scim configuration file as well as some other directories/files searched at run time. They should be removed so apropriate FreeBSD destination is used. I guess that there may be some directory/file structure difference between -f6- and -f10- cases which causes you a trouble. To be more precise, I suspect that some directory/file get created/installed at -10- case which prevent scim to work as expected. Besides, there may be a case if some needed linux files/libraries are not installed when using -f10- while they are installed when using -f6- ports. Please, give those assuptions a try and report back your results. -- WBR, bsam