Difference between revisions of "Gcin"

From ArchWiki
Jump to: navigation, search
m
Line 14: Line 14:
 
  pacman -S gcin
 
  pacman -S gcin
  
== Installing Other Input Tables ==
+
=== Installing Other Input Tables ===
 
MISSING
 
MISSING
  
 
= Configure GCIN =
 
= Configure GCIN =
 
MISSING
 
MISSING
 +
 +
= Use GCIN =
 +
 +
'''With gtk2 applications:'''
 +
 +
gcin provides a gtk input module, thus all gtk2-based applications are directly supported, there is no need to configure anything after installation (it's not XIM, and gcin is automatically started when needed).
 +
 +
'''With other applications: (tested with qt)'''
 +
 +
1.Set environment locale to use UTF-8, for example:
 +
export LC_CTYPE=en_US.utf8
 +
(the "''LC_CTYPE''" locale for gcin and for the applications must match; if "''LC_CTYPE''" is not set, "''LANG''" is used)
 +
 +
2.Set XMODIFIERS:
 +
export XMODIFIERS=@im=xcin
 +
gcin use the name "''xcin''" by default, and you can change this by the environment variable "''GCIN_XIM''" in order to run multiple gcin instances, for example:
 +
export GCIN_XIM=xcin_zh
 +
export XMODIFIERS=@im=xcin_zh
 +
Remember that gtk2 applications start one instance of gcin automatically if it doesn't exist.
 +
 +
3.Start gcin:
 +
gcin &
 +
 +
4.Run your applications! (if gcin is killed when your applications are running, it's likely to cause crash or other problems)

Revision as of 19:17, 20 February 2006

Template:I18n links start Template:I18n entry Template:I18n entry Template:I18n links end

Tango-document-new.pngThis article is a stub.Tango-document-new.png

Notes: please use the first argument of the template to provide more detailed indications. (Discuss in Talk:Gcin#)

About GCIN

MISSING

Installing GCIN

pacman -S gcin

Installing Other Input Tables

MISSING

Configure GCIN

MISSING

Use GCIN

With gtk2 applications:

gcin provides a gtk input module, thus all gtk2-based applications are directly supported, there is no need to configure anything after installation (it's not XIM, and gcin is automatically started when needed).

With other applications: (tested with qt)

1.Set environment locale to use UTF-8, for example:

export LC_CTYPE=en_US.utf8

(the "LC_CTYPE" locale for gcin and for the applications must match; if "LC_CTYPE" is not set, "LANG" is used)

2.Set XMODIFIERS:

export XMODIFIERS=@im=xcin

gcin use the name "xcin" by default, and you can change this by the environment variable "GCIN_XIM" in order to run multiple gcin instances, for example:

export GCIN_XIM=xcin_zh
export XMODIFIERS=@im=xcin_zh

Remember that gtk2 applications start one instance of gcin automatically if it doesn't exist.

3.Start gcin:

gcin &

4.Run your applications! (if gcin is killed when your applications are running, it's likely to cause crash or other problems)