568 lines
8.0 KiB
HTML
568 lines
8.0 KiB
HTML
|
<HTML
|
|||
|
><HEAD
|
|||
|
><TITLE
|
|||
|
>Character sets</TITLE
|
|||
|
><META
|
|||
|
NAME="GENERATOR"
|
|||
|
CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
|
|||
|
REL="HOME"
|
|||
|
TITLE="How to setup international keyboard in X Window with Xmodmap and XKB"
|
|||
|
HREF="index.html"><LINK
|
|||
|
REL="PREVIOUS"
|
|||
|
TITLE="Xmodmap theory and Xmodmap solution"
|
|||
|
HREF="x336.html"><LINK
|
|||
|
REL="NEXT"
|
|||
|
TITLE="How this Xmodmap solution works on various systems"
|
|||
|
HREF="x679.html"></HEAD
|
|||
|
><BODY
|
|||
|
CLASS="SECT1"
|
|||
|
BGCOLOR="#FFFFFF"
|
|||
|
TEXT="#000000"
|
|||
|
LINK="#0000FF"
|
|||
|
VLINK="#840084"
|
|||
|
ALINK="#0000FF"
|
|||
|
><DIV
|
|||
|
CLASS="NAVHEADER"
|
|||
|
><TABLE
|
|||
|
SUMMARY="Header navigation table"
|
|||
|
WIDTH="100%"
|
|||
|
BORDER="0"
|
|||
|
CELLPADDING="0"
|
|||
|
CELLSPACING="0"
|
|||
|
><TR
|
|||
|
><TH
|
|||
|
COLSPAN="3"
|
|||
|
ALIGN="center"
|
|||
|
>How to setup international keyboard in X Window with Xmodmap and XKB</TH
|
|||
|
></TR
|
|||
|
><TR
|
|||
|
><TD
|
|||
|
WIDTH="10%"
|
|||
|
ALIGN="left"
|
|||
|
VALIGN="bottom"
|
|||
|
><A
|
|||
|
HREF="x336.html"
|
|||
|
ACCESSKEY="P"
|
|||
|
>Prev</A
|
|||
|
></TD
|
|||
|
><TD
|
|||
|
WIDTH="80%"
|
|||
|
ALIGN="center"
|
|||
|
VALIGN="bottom"
|
|||
|
></TD
|
|||
|
><TD
|
|||
|
WIDTH="10%"
|
|||
|
ALIGN="right"
|
|||
|
VALIGN="bottom"
|
|||
|
><A
|
|||
|
HREF="x679.html"
|
|||
|
ACCESSKEY="N"
|
|||
|
>Next</A
|
|||
|
></TD
|
|||
|
></TR
|
|||
|
></TABLE
|
|||
|
><HR
|
|||
|
ALIGN="LEFT"
|
|||
|
WIDTH="100%"></DIV
|
|||
|
><DIV
|
|||
|
CLASS="SECT1"
|
|||
|
><H1
|
|||
|
CLASS="SECT1"
|
|||
|
><A
|
|||
|
NAME="AEN476"
|
|||
|
></A
|
|||
|
>5. Character sets</H1
|
|||
|
><P
|
|||
|
>If you want to build an .Xmodmap and you know how the character looks visually,
|
|||
|
you may have problems about knowing how it is defined by name. A good site that
|
|||
|
may help you with this may be:
|
|||
|
<A
|
|||
|
HREF="http://www.geocities.com/gorazd.hribar/latin-2/eng-iso-8859-2.html"
|
|||
|
TARGET="_top"
|
|||
|
>http://www.geocities.com/gorazd.hribar/latin-2/eng-iso-8859-2.html</A
|
|||
|
>
|
|||
|
Here you can see ISO8859-2 characters visually.</P
|
|||
|
><P
|
|||
|
>I also included here some ISO8859-2 Character definitions for you to know which
|
|||
|
names are used for pertinent keys. It may not be complete and you should not
|
|||
|
bother about the keycode numbers, but notice how keys are named. Much of this
|
|||
|
information is useful to build a keyboard with ISO8859-1 characters only, or
|
|||
|
a combination of East European characters and Western characters. If you're
|
|||
|
going to use other languages than the Central European or West-European ones,
|
|||
|
find a pertinent table for your ISO*** character set on the Internet. The
|
|||
|
gdkkeysyms.h file that contains all the crazy names for keycode entities
|
|||
|
including hexcodes is in (older versions of RedHat) /usr/include/gdk/ directory.
|
|||
|
If no gdkkeysyms.h file is on your sustem, see the file
|
|||
|
/usr/X11R6/include/X11/keysymdef.h (you must install XFree86 development
|
|||
|
package to make use of this directory), or try to look in
|
|||
|
/lib/perl5/site_perl/5.6.0/i386-linux/GTK/keysyms.pm (it also
|
|||
|
contains names of keycode entities including hex codes). If you have a newer
|
|||
|
version of PERL, the version number "5.6.0" may differ. The similar thing
|
|||
|
should apply to other systems (FreeBSD), too, as they also use PERL.</P
|
|||
|
><DIV
|
|||
|
CLASS="SECT2"
|
|||
|
><H2
|
|||
|
CLASS="SECT2"
|
|||
|
><A
|
|||
|
NAME="AEN481"
|
|||
|
></A
|
|||
|
>5.1. ISO-8859-2 (ISO Latin2) character set</H2
|
|||
|
><P
|
|||
|
>Xmodmap entities with their word definitions (which you put in the Xmodmap file)
|
|||
|
and their visual representation. Some word definitions lack their visual forms.</P
|
|||
|
><P
|
|||
|
>----------------------------------------------------------------------</P
|
|||
|
><P
|
|||
|
>space</P
|
|||
|
><P
|
|||
|
>exclam !</P
|
|||
|
><P
|
|||
|
>quotedbl "</P
|
|||
|
><P
|
|||
|
>numbersign #</P
|
|||
|
><P
|
|||
|
>dollar $</P
|
|||
|
><P
|
|||
|
>percent </P
|
|||
|
><P
|
|||
|
>ampersand &</P
|
|||
|
><P
|
|||
|
>quoteright '</P
|
|||
|
><P
|
|||
|
>parenleft (</P
|
|||
|
><P
|
|||
|
>parenright )</P
|
|||
|
><P
|
|||
|
>asterisk *</P
|
|||
|
><P
|
|||
|
>plus +</P
|
|||
|
><P
|
|||
|
>comma ,</P
|
|||
|
><P
|
|||
|
>hyphen -</P
|
|||
|
><P
|
|||
|
>period .</P
|
|||
|
><P
|
|||
|
>slash /</P
|
|||
|
><P
|
|||
|
>zero 0</P
|
|||
|
><P
|
|||
|
>one 1</P
|
|||
|
><P
|
|||
|
>two 2</P
|
|||
|
><P
|
|||
|
>three 3</P
|
|||
|
><P
|
|||
|
>four 4</P
|
|||
|
><P
|
|||
|
>five 5</P
|
|||
|
><P
|
|||
|
>six 6</P
|
|||
|
><P
|
|||
|
>seven 7</P
|
|||
|
><P
|
|||
|
>eight 8</P
|
|||
|
><P
|
|||
|
>nine 9</P
|
|||
|
><P
|
|||
|
>colon :</P
|
|||
|
><P
|
|||
|
>semicolon ;</P
|
|||
|
><P
|
|||
|
>less < <</P
|
|||
|
><P
|
|||
|
>equal =</P
|
|||
|
><P
|
|||
|
>greater > ></P
|
|||
|
><P
|
|||
|
>question ?</P
|
|||
|
><P
|
|||
|
>at @</P
|
|||
|
><P
|
|||
|
>A A</P
|
|||
|
><P
|
|||
|
>B B</P
|
|||
|
><P
|
|||
|
>C C</P
|
|||
|
><P
|
|||
|
>D D</P
|
|||
|
><P
|
|||
|
>E E</P
|
|||
|
><P
|
|||
|
>F F</P
|
|||
|
><P
|
|||
|
>G G</P
|
|||
|
><P
|
|||
|
>H H</P
|
|||
|
><P
|
|||
|
>I I</P
|
|||
|
><P
|
|||
|
>J J</P
|
|||
|
><P
|
|||
|
>K K</P
|
|||
|
><P
|
|||
|
>L L</P
|
|||
|
><P
|
|||
|
>M M</P
|
|||
|
><P
|
|||
|
>N N</P
|
|||
|
><P
|
|||
|
>O O</P
|
|||
|
><P
|
|||
|
>P P</P
|
|||
|
><P
|
|||
|
>Q Q</P
|
|||
|
><P
|
|||
|
>R R</P
|
|||
|
><P
|
|||
|
>S S</P
|
|||
|
><P
|
|||
|
>T T</P
|
|||
|
><P
|
|||
|
>U U</P
|
|||
|
><P
|
|||
|
>V V</P
|
|||
|
><P
|
|||
|
>W W</P
|
|||
|
><P
|
|||
|
>X X</P
|
|||
|
><P
|
|||
|
>Y Y</P
|
|||
|
><P
|
|||
|
>Z Z</P
|
|||
|
><P
|
|||
|
>bracketleft [</P
|
|||
|
><P
|
|||
|
>backslash \</P
|
|||
|
><P
|
|||
|
>bracketright ]</P
|
|||
|
><P
|
|||
|
>asciicircum ^</P
|
|||
|
><P
|
|||
|
>underscore _</P
|
|||
|
><P
|
|||
|
>quoteleft `</P
|
|||
|
><P
|
|||
|
>a a</P
|
|||
|
><P
|
|||
|
>b b</P
|
|||
|
><P
|
|||
|
>c c</P
|
|||
|
><P
|
|||
|
>d d</P
|
|||
|
><P
|
|||
|
>e e</P
|
|||
|
><P
|
|||
|
>f f</P
|
|||
|
><P
|
|||
|
>g g</P
|
|||
|
><P
|
|||
|
>h h</P
|
|||
|
><P
|
|||
|
>i i</P
|
|||
|
><P
|
|||
|
>j j</P
|
|||
|
><P
|
|||
|
>k k</P
|
|||
|
><P
|
|||
|
>l l</P
|
|||
|
><P
|
|||
|
>m m</P
|
|||
|
><P
|
|||
|
>n n</P
|
|||
|
><P
|
|||
|
>o o</P
|
|||
|
><P
|
|||
|
>p p</P
|
|||
|
><P
|
|||
|
>q q</P
|
|||
|
><P
|
|||
|
>r r</P
|
|||
|
><P
|
|||
|
>s s</P
|
|||
|
><P
|
|||
|
>t t</P
|
|||
|
><P
|
|||
|
>u u</P
|
|||
|
><P
|
|||
|
>v v</P
|
|||
|
><P
|
|||
|
>w w</P
|
|||
|
><P
|
|||
|
>x x</P
|
|||
|
><P
|
|||
|
>y y</P
|
|||
|
><P
|
|||
|
>z z</P
|
|||
|
><P
|
|||
|
>braceleft {</P
|
|||
|
><P
|
|||
|
>bar |</P
|
|||
|
><P
|
|||
|
>braceright }</P
|
|||
|
><P
|
|||
|
>tilde <09></P
|
|||
|
><P
|
|||
|
>space </P
|
|||
|
><P
|
|||
|
>Aogonek </P
|
|||
|
><P
|
|||
|
>breve </P
|
|||
|
><P
|
|||
|
>Lslash </P
|
|||
|
><P
|
|||
|
>currency </P
|
|||
|
><P
|
|||
|
>Lcaron </P
|
|||
|
><P
|
|||
|
>Sacute </P
|
|||
|
><P
|
|||
|
>section </P
|
|||
|
><P
|
|||
|
>dieresis </P
|
|||
|
><P
|
|||
|
>Scaron Š </P
|
|||
|
><P
|
|||
|
>Scedilla </P
|
|||
|
><P
|
|||
|
>Tcaron Ť </P
|
|||
|
><P
|
|||
|
>Zacute Ź </P
|
|||
|
><P
|
|||
|
>hyphen </P
|
|||
|
><P
|
|||
|
>Zcaron Ž </P
|
|||
|
><P
|
|||
|
>Zdotaccent </P
|
|||
|
><P
|
|||
|
>degree </P
|
|||
|
><P
|
|||
|
>aogonek </P
|
|||
|
><P
|
|||
|
>ogonek </P
|
|||
|
><P
|
|||
|
>lslash </P
|
|||
|
><P
|
|||
|
>acute </P
|
|||
|
><P
|
|||
|
>lcaron ľ </P
|
|||
|
><P
|
|||
|
>sacute ś </P
|
|||
|
><P
|
|||
|
>caron </P
|
|||
|
><P
|
|||
|
>cedilla </P
|
|||
|
><P
|
|||
|
>scaron š </P
|
|||
|
><P
|
|||
|
>scedilla </P
|
|||
|
><P
|
|||
|
>tcaron ť </P
|
|||
|
><P
|
|||
|
>zacute </P
|
|||
|
><P
|
|||
|
>hungarumlaut </P
|
|||
|
><P
|
|||
|
>zcaron ž </P
|
|||
|
><P
|
|||
|
>zdotaccent </P
|
|||
|
><P
|
|||
|
>Racute </P
|
|||
|
><P
|
|||
|
>Aacute </P
|
|||
|
><P
|
|||
|
>Acircumflex </P
|
|||
|
><P
|
|||
|
>Abreve </P
|
|||
|
><P
|
|||
|
>Adieresis </P
|
|||
|
><P
|
|||
|
>Lacute </P
|
|||
|
><P
|
|||
|
>Cacute </P
|
|||
|
><P
|
|||
|
>Ccedilla </P
|
|||
|
><P
|
|||
|
>Ccaron Č </P
|
|||
|
><P
|
|||
|
>Eacute <20> </P
|
|||
|
><P
|
|||
|
>Eogonek </P
|
|||
|
><P
|
|||
|
>Edieresis </P
|
|||
|
><P
|
|||
|
>Ecaron Ě </P
|
|||
|
><P
|
|||
|
>Iacute <20> </P
|
|||
|
><P
|
|||
|
>Icircumflex </P
|
|||
|
><P
|
|||
|
>Dcaron Ď </P
|
|||
|
><P
|
|||
|
>Eth </P
|
|||
|
><P
|
|||
|
>Nacute Ń </P
|
|||
|
><P
|
|||
|
>Ncaron Ň </P
|
|||
|
><P
|
|||
|
>Oacute <20> </P
|
|||
|
><P
|
|||
|
>Ocircumflex </P
|
|||
|
><P
|
|||
|
>Ohungarumlaut </P
|
|||
|
><P
|
|||
|
>Odieresis </P
|
|||
|
><P
|
|||
|
>multiply </P
|
|||
|
><P
|
|||
|
>Rcaron Ř </P
|
|||
|
><P
|
|||
|
>Uring Ů </P
|
|||
|
><P
|
|||
|
>Uacute <20> </P
|
|||
|
><P
|
|||
|
>hungarumlaut </P
|
|||
|
><P
|
|||
|
>Udieresis </P
|
|||
|
><P
|
|||
|
>Yacute </P
|
|||
|
><P
|
|||
|
>Tcedilla </P
|
|||
|
><P
|
|||
|
>germandbls </P
|
|||
|
><P
|
|||
|
>racute </P
|
|||
|
><P
|
|||
|
>aacute <20> </P
|
|||
|
><P
|
|||
|
>acircumflex </P
|
|||
|
><P
|
|||
|
>abreve </P
|
|||
|
><P
|
|||
|
>adieresis </P
|
|||
|
><P
|
|||
|
>lacute </P
|
|||
|
><P
|
|||
|
>cacute </P
|
|||
|
><P
|
|||
|
>ccedilla </P
|
|||
|
><P
|
|||
|
>ccaron č </P
|
|||
|
><P
|
|||
|
>eacute </P
|
|||
|
><P
|
|||
|
>eogonek </P
|
|||
|
><P
|
|||
|
>edieresis </P
|
|||
|
><P
|
|||
|
>ecaron </P
|
|||
|
><P
|
|||
|
>iacute </P
|
|||
|
><P
|
|||
|
>icircumflex </P
|
|||
|
><P
|
|||
|
>dcaron </P
|
|||
|
><P
|
|||
|
>dbar </P
|
|||
|
><P
|
|||
|
>nacute </P
|
|||
|
><P
|
|||
|
>ncaron </P
|
|||
|
><P
|
|||
|
>oacute </P
|
|||
|
><P
|
|||
|
>ocircumflex </P
|
|||
|
><P
|
|||
|
>ohungarumlaut </P
|
|||
|
><P
|
|||
|
>odieresis </P
|
|||
|
><P
|
|||
|
>divide </P
|
|||
|
><P
|
|||
|
>rcaron </P
|
|||
|
><P
|
|||
|
>uring </P
|
|||
|
><P
|
|||
|
>uacute </P
|
|||
|
><P
|
|||
|
>uhungarumlaut </P
|
|||
|
><P
|
|||
|
>udieresis </P
|
|||
|
><P
|
|||
|
>yacute </P
|
|||
|
><P
|
|||
|
>tcedilla </P
|
|||
|
><P
|
|||
|
>dotaccent </P
|
|||
|
><P
|
|||
|
>---------------------------------------------------------------------- </P
|
|||
|
><P
|
|||
|
>First, if you are using older systems (see the legacy solution), try to see if
|
|||
|
definitions will give you (after installing pertinent fonts and
|
|||
|
building the Xmodmap map with keyboard definitions for X) what they say they
|
|||
|
are. If they will not give you what they say they are, see my legacy soluttion.</P
|
|||
|
><P
|
|||
|
></P
|
|||
|
></DIV
|
|||
|
></DIV
|
|||
|
><DIV
|
|||
|
CLASS="NAVFOOTER"
|
|||
|
><HR
|
|||
|
ALIGN="LEFT"
|
|||
|
WIDTH="100%"><TABLE
|
|||
|
SUMMARY="Footer navigation table"
|
|||
|
WIDTH="100%"
|
|||
|
BORDER="0"
|
|||
|
CELLPADDING="0"
|
|||
|
CELLSPACING="0"
|
|||
|
><TR
|
|||
|
><TD
|
|||
|
WIDTH="33%"
|
|||
|
ALIGN="left"
|
|||
|
VALIGN="top"
|
|||
|
><A
|
|||
|
HREF="x336.html"
|
|||
|
ACCESSKEY="P"
|
|||
|
>Prev</A
|
|||
|
></TD
|
|||
|
><TD
|
|||
|
WIDTH="34%"
|
|||
|
ALIGN="center"
|
|||
|
VALIGN="top"
|
|||
|
><A
|
|||
|
HREF="index.html"
|
|||
|
ACCESSKEY="H"
|
|||
|
>Home</A
|
|||
|
></TD
|
|||
|
><TD
|
|||
|
WIDTH="33%"
|
|||
|
ALIGN="right"
|
|||
|
VALIGN="top"
|
|||
|
><A
|
|||
|
HREF="x679.html"
|
|||
|
ACCESSKEY="N"
|
|||
|
>Next</A
|
|||
|
></TD
|
|||
|
></TR
|
|||
|
><TR
|
|||
|
><TD
|
|||
|
WIDTH="33%"
|
|||
|
ALIGN="left"
|
|||
|
VALIGN="top"
|
|||
|
>Xmodmap theory and Xmodmap solution</TD
|
|||
|
><TD
|
|||
|
WIDTH="34%"
|
|||
|
ALIGN="center"
|
|||
|
VALIGN="top"
|
|||
|
> </TD
|
|||
|
><TD
|
|||
|
WIDTH="33%"
|
|||
|
ALIGN="right"
|
|||
|
VALIGN="top"
|
|||
|
>How this Xmodmap solution works on various systems</TD
|
|||
|
></TR
|
|||
|
></TABLE
|
|||
|
></DIV
|
|||
|
></BODY
|
|||
|
></HTML
|
|||
|
>
|