Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] Japanese on CentOS4.2



If I invoke an X program from a shell, 
normally the X program inherits the environment of the shell. 
Here's an example of shell scripts which does exactly that 
in Centos 4.2: 

   ~/bin $ head jafirefox jahttx
   ==> jafirefox <==
   GDM_LANG=ja_JP.UTF-8 GTK_IM_MODULE=iiim LANG=ja_JP.UTF-8 XMODIFIERS=@example.com=htt
   export GDM_LANG GTK_IM_MODULE LANG XMODIFIERS SUPPORTED
   jahttx &
   firefox &

   ==> jahttx <==
   GDM_LANG=ja_JP.UTF-8 GTK_IM_MODULE=iiim LANG=ja_JP.UTF-8 XMODIFIERS=@example.com=htt
   export GDM_LANG GTK_IM_MODULE LANG XMODIFIERS SUPPORTED
   httx &
   ~/bin $

jafirefox can be invoked from a shell (of any language) 
or from desktop (Alt-F2 in KDE or Gnome) of any language, 
and firefox runs in the Japanese environment. 

Of course, things will have to be adjusted to run the 
scim instead of httx stuff. 



Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links