Sophie

Sophie

distrib > Mandriva > 2010.1 > x86_64 > by-pkgid > 965e33040dd61030a94f0eb89877aee8 > files > 2638

howto-html-en-20080722-2mdv2010.1.noarch.rpm

<HTML
><HEAD
><TITLE
>Troubleshooting and some Xmodmap tips</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="Some national Xmodmap files"
HREF="x772.html"><LINK
REL="NEXT"
TITLE="Links"
HREF="x1709.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="x772.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
></TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="x1709.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="SECT1"
><H1
CLASS="SECT1"
><A
NAME="AEN1696"
></A
>9. Troubleshooting and some Xmodmap tips</H1
><DIV
CLASS="SECT2"
><H2
CLASS="SECT2"
><A
NAME="AEN1698"
></A
>9.1. Troubleshooting</H2
><P
>Get the newest Linux distribution. Mandrake 8.1 or RedHat 7.2 or 8.0 work
fantastically with regard to internationalization (which could not be
said about previous distributions). If locales are not installed, you must
install them. The GNU C Library comes with a locale database, which you should have on your system.
Upgrade your glibc. Troubleshooting of older versions of XFree or KDE is
insignificant in my opinion, as the systems get better and better and people
install newer versions. You may find almost any xmodmap file in the GNOME 
directory in (SuSE) /opt/gnome/share/xmodmap (with standard ISO8859-1,2 
and other definitions). To switch between the keyboards, use right Alt.
Slackware has a very good databse of xmodmap maps in /usr/share/xmodmap.
Use the command: locale -a to see all the locales.</P
><P
></P
></DIV
><DIV
CLASS="SECT2"
><H2
CLASS="SECT2"
><A
NAME="AEN1702"
></A
>9.2. Tips</H2
><P
>If you want to list the current keymap table, issue the command:
xmodmap -pk | more</P
><P
>The xkeycaps program is a sort of graphical front-end for xmodmap. Start it
and see which numbers mean which keycode.</P
><P
>To make the mouse buttons left-handed, use a command:
xmodmap -e "pointer = 3 2 1"</P
><P
>To remove the CapsLock and change it to a control key, write this
in your Xmodmap file:</P
><P
>remove Lock = Caps_Lock
keysym Caps_Lock = Control_L
add Control = Control_L</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="x772.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="x1709.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>Some national Xmodmap files</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
>&nbsp;</TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>Links</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>