Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 122491 - ~/.i18n GTK_IM_MODULE settings not working for > scim-1.2.3
Summary: ~/.i18n GTK_IM_MODULE settings not working for > scim-1.2.3
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High trivial (vote)
Assignee: CJK Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-11 12:27 UTC by David Barnett
Modified: 2006-02-27 07:38 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Barnett 2006-02-11 12:27:56 UTC
~/.i18n contains:
GTK_IM_MODULE=scim
XIM_PROGRAM="scim -d"
XMODIFIERS=@im=SCIM

With scim-1.2.3, these settings work and pressing ctrl+space displays the input method popup.  With any later version of scim, I can only get the input method to activate by typing GTK_IM_MODULE=scim on the terminal before the command.  Actually, scim-1.4.2 used to work properly, but stopped at some point (I think it may have been an emerge update to X).

I'm not sure if there's a global file somewhere overwriting the settings.  Every installation guide seems to store the settings in a different file (.bashrc, .xinitrc...), and I can't tell what sources .i18n.

Since scim-1.4.2 hasn't always had this problem, I'll include my 'emerge --info' in case that helps:

Portage 2.0.54 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r2, 2.6.14-gent
oo-r5 i686)
=================================================================
System uname: 2.6.14-gentoo-r5 i686 AMD Opteron(tm) Processor 142
Gentoo Base System version 1.6.14
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/
3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config 
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://rsync.quad4.org/gentoo"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.quad4.org/portage"
USE="x86 3dnow X aalib acl alsa apache2 apm audiofile avi berkdb bitmap-fonts bz
ip2 canna cdr cjk crypt cups divx4linux dvd eds emboss encode ethereal exif expa
t fam ffmpeg flac foomaticdb fortran gd gdbm gif glut gpm gtk gtk2 gtkhtml imlib
 ipv6 java javascript jpeg junit lcms ldap libcaca libg++ libwww lua mad mhash m
ikmod mmx mng motif mp3 mpeg mplayer mysql ncurses nls ogg oggvorbis opengl pam 
pcre pda pdflib perl php png posix python quicktime readline recode ruby samba s
dl slang spell sse ssl svga tcltk tcpd tiff truetype truetype-fonts type1-fonts 
udev unicode vorbis wmf xml xml2 xmms xv xvid zlib video_cards_radeon userland_G
NU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS, LINGUAS
Comment 1 Alastair Tse (RETIRED) gentoo-dev 2006-02-16 11:34:26 UTC
maybe it is because ~/.i18n support has been removed in X. i can't get it to work either.

the workaround would be to put it in .xinitrc or .xsession. that is what i used to do as i can't find any reference to ~/.i18n anywhere. can you point me to any documentation that says it is supported?
Comment 2 David Barnett 2006-02-26 17:18:31 UTC
Hmm...looks like the docs I found that in turned out to be Mandriva specific.  Guess i'll put it in my .xinitrc...

Does 1.2.3 work with .i18n for you?  I can unmerge the recent version and merge the old one and it either uses ~/.i18n or loads GTK_IM_MODULE, etc. from somewhere else.
Comment 3 Alastair Tse (RETIRED) gentoo-dev 2006-02-27 07:37:46 UTC
i can't find any reference to .i18n in scim-1.2.3. so i suspect it is an X specific thing rather than scim.
Comment 4 Alastair Tse (RETIRED) gentoo-dev 2006-02-27 07:38:23 UTC
anyway, i'm going to close this bug as it doesn't seem to be anything wrong with scim. thanks for the report.