On Tue, Sep 30, 2003 at 19:34:33 +0200, Danilo Segan wrote:
> 
> Dead keys can be defined for any key of the keyboard. That means that  
> you can put dead_acute at "A" if you wish, and yes, XKB can be used for  
> that.
> 
> OTOH, "Compose" sequences cannot be defined with XKB (I believe there  
> were some discussions just about this topic not long ago), but they're  
> using a separate mechanism.
> 
> Compose sequences are those thing that define that dead_acute + "o"  
> should become "o_acute" (it's just a simple table, there's no magic  
> behind it). That means that you could even make dead_acute + "o"  
> produce "o_circumflex". The name "dead_acute" just signals what you'd  
> get if you'd press that key twice -- a plain "acute" as character.
> 
> They're usually based on your locale. I am not aware of any mechanism  
> for creating compose sequences per user (i.e. not system-wide).

Actually, it's possible, though not pretty. Quoting Ivan
Pascal from the gswitchit-kxkb list

  > Now the next question: what about the Compose file, can I
  > put that in my home dir somehow? :-)

  Xlib always searches that file as <xlocaledir>/<locale name>/Compose .
  But you can change <xlocaledir> using environment variable XLOCALEDIR
  (it doesn't work for suid programs).

  Don't forget to put there your locale dir with XLC_LOCALE and locale.dir,
  locale.alias and compose.dir files.
  
Noah
_______________________________________________
I18n mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/i18n

Reply via email to