old-www/HOWTO/Euro-Char-Support/x59.html

236 lines
3.2 KiB
HTML

<HTML
><HEAD
><TITLE
>The Euro in the X Window System</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
"><LINK
REL="HOME"
TITLE="Euro Character Support Mini HOWTO"
HREF="index.html"><LINK
REL="PREVIOUS"
TITLE="The Euro and the Console"
HREF="x50.html"><LINK
REL="NEXT"
TITLE="Emacs"
HREF="x79.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"
>Euro Character Support Mini HOWTO</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="x50.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
></TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="x79.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="sect1"
><H1
CLASS="sect1"
><A
NAME="AEN59">5. The Euro in the X Window System</H1
><P
>&#13;With default configuration <EM
>AltGr-e</EM
> (the <EM
>right
Alt</EM
> for those who have
no AltGr) produces the generic currency symbol which looks like a four
legged spider. When the font of the program is changed to a
<EM
>ISO-8859-15</EM
> font the currency symbol is replaced by
the Euro symbol. In Debian
this can be achieved by adding line
</P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="screen"
>&#13; .XTerm.VT100.font: -jmk-neep alt-medium-r-*-*-*-120-*-*-*-*-iso8859-15
</PRE
></FONT
></TD
></TR
></TABLE
><P
>&#13;to the file <TT
CLASS="filename"
>/etc/X11/app-defaults/XTerm</TT
>. The fonts
available in distributions and installations vary.
</P
><P
>&#13;If AltGr-e does not work add line
</P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="screen"
>&#13; keycode 26 = e E EuroSign
</PRE
></FONT
></TD
></TR
></TABLE
><P
>&#13;to the file /etc/X11/Xmodmap
</P
><DIV
CLASS="sect2"
><H2
CLASS="sect2"
><A
NAME="AEN71">5.1. KDE</H2
><P
>&#13;Change the font setting in KControl to ISO-8859-15.
</P
></DIV
><DIV
CLASS="sect2"
><H2
CLASS="sect2"
><A
NAME="AEN74">5.2. GTK and Gnome</H2
><P
>&#13;Change the font setting in Gnome Control Center to ISO-8859-15.
</P
><P
>&#13;A better way of doing this is changing the system wide GTK+ configuration
with commands
</P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="screen"
>&#13;cd /etc/gtk
ln -s gtkrc.iso-8859-15 gtkrc
</PRE
></FONT
></TD
></TR
></TABLE
></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="x50.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="x79.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>The Euro and the Console</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
>&nbsp;</TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>Emacs</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>