From owner-freebsd-questions@FreeBSD.ORG Sun May 16 21:03:15 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CBCAE16A4CE for ; Sun, 16 May 2004 21:03:15 -0700 (PDT) Received: from mail.oisca.org (mail.oisca.org [164.46.152.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6CB2B43D5C for ; Sun, 16 May 2004 21:03:14 -0700 (PDT) (envelope-from pwd8jmr22w@me.point.ne.jp) Received: from future.i-international.org (53.179.150.220.ap.yournet.ne.jp [220.150.179.53]) (authenticated (0 bits)) by mail.oisca.org (8.12.11/8.11.3) with ESMTP id i4H43CV6009480 for ; Mon, 17 May 2004 13:03:13 +0900 From: Bull TORS To: FreeBSD Questions Date: Mon, 17 May 2004 13:00:46 +0900 User-Agent: KMail/1.6.2 MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <200405171300.46578.pwd8jmr22w@me.point.ne.jp> Subject: Using kdm, shell script to declare my locales and startups... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: pwd8jmr22w@me.point.ne.jp List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 May 2004 04:03:15 -0000 Hi, I am using kdm and I have a ".profile" in my $HOME that contains the following declarations: LC_CTYPE=ja_JP.eucJP; export LC_CTYPE LC_ALL=ja_JP.eucJP; export LC_ALL LC_MESSAGES=ja_JP.eucJP; export LC_MESSAGES LC_MONETARY=ja_JP.eucJP; export LC_MONETARY LC_NUMERIC=ja_JP.eucJP; export LC_NUMERIC LC_TIME=ja_JP.eucJP; export LC_TIME LC_COLLATE=ja_JP.eucJP; export LC_COLLATE LANG=ja_JP.eucJP; export LANG MM_CHARSET=eucJP; export MM_CHARSET LANGUAGE=ja_JP.eucJP; export LANGUAGE XMODIFIERS='@im=kinput2'; export XMODIFIERS /usr/X11R6/bin/kinput2 -canna -xim & When I use these settings in ".profile", I have no problems...Some of my Japanese-Characters written files are shown properly and I can use kinput2 to input Japanese Characters with just a little problem. That problem is when I use Ctrl+Alt+Fn to access a console then it says an error that /usr/X11R6/bin/kinput2is already running... This prompted me to read the kdm help and I have read in the kdm help that when someone logs using kdm, the shell script Xsession is executed. So I copied the settings about to my .xsession (is what I know) and .Xsession (is what is written in the kde help)...I tried both settings and also ".xinitrc but I can no longer input Japanese Characters (kinput2 is not executed during login) and my Japanese-Character written files appeared garbled... So, am I right in using .profile or do I have to create another text file that kdm knows? Any help or advice would be really appreciated... Bull TORS