Bug 127746 - xinput.sh is missing the support of lang.sh
Summary: xinput.sh is missing the support of lang.sh
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: xinitrc
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: X/OpenGL Maintenance List
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: FC3Target
TreeView+ depends on / blocked
 
Reported: 2004-07-13 11:43 UTC by Akira TAGOH
Modified: 2013-01-14 14:56 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2004-09-13 08:03:00 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
patch to fix problem and also add xinput.d/default support (3.00 KB, patch)
2004-07-13 13:34 UTC, Jens Petersen
no flags Details | Diff

Description Akira TAGOH 2004-07-13 11:43:14 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; ja-JP; rv:1.7.1)
Gecko/20040711

Description of problem:
due to calling lang.sh stuff was removed, even if LC_CTYPE is set in
$HOME/.i18n, xinput.sh doesn't run proper input method. this change
disallows people who lives in en_US locale say and who want to use the IM.


Version-Release number of selected component (if applicable):
xinitrc-4.0.1-1

How reproducible:
Always

Steps to Reproduce:
1.set LANG=en_US.UTF-8 in /etc/sysconfig/i18n
2.set LC_CTYPE=ja_JP.UTF-8 in $HOME/.i18n
3.make sure iiimf-x or kinput2 installed
    

Actual Results:  no input method is running

Expected Results:  kinput2 or httx is running

Additional info:

just adding the below in the top of xinput.sh will gets working again.

if [ -r /etc/profile.d/lang.sh ]; then
  . /etc/profile.d/lang.sh
fi

Comment 1 Jens Petersen 2004-07-13 13:34:32 UTC
Created attachment 101859 [details]
patch to fix problem and also add xinput.d/default support

My bad.  Ok, this patch against 4.0.1-1 should fix the problem.

It also adds a small feature: allowing xinput.d/ dirs to have
a fallback all locale default file.

Comment 7 Mike A. Harris 2004-08-21 13:46:46 UTC
Patch applied to 4.0.2-1 in rawhide.  Test and confirm it works
properly as soon as possible, so any problems can be fixed in
time.


Comment 9 Lawrence Lim 2004-09-13 08:03:00 UTC
Confirmed fixed. Tested with xinitrc-4.0.3-1.

Thanks.


Note You need to log in before you can comment on or make changes to this bug.