Volker Kuhlmann <[EMAIL PROTECTED]> writes:
>> How do I type these sort of characters in Linux: � � ?
[...]
> There are 2 ways of doing it, I generally set up both because some apps
> sometimes only understand one of them.
>
> 1) Use the compose key feature of X11. You press the compose key, and 2
> further keys, all 3 in sequence, which gives you a new character. E.g.
> compose-"-a give �. You need:
[...]
> 2) Use X11's mode-shift feature, i.e. while holding down some key, your
> non-shifted and shifted layout changes. This is also set up with
> xmodmap. Example for German (xmodmap -pke to display):
If you have a normal US-layout keyboard, and you have the correct
number of keys configured in XF68Config with XkbModel, you can enable
the default Multi_key and Mode_switch with the command:
$ setxkbmap en_US
and switch back to plain-old ASCII input with
$ setxkbmap us
With en_US layout and a 101-key keyboard, Shift-RightAlt is
Multi_key, and RightAlt held down is Mode_switch. For example, to
type � �, I can use Multi_key or Mode_switch respectively like:
RightAlt-' e (space) RightAlt-[ e
Shift-RightAlt Shift-6 e (space) Shift-RightAlt Shift-' e
On a 105-key keyboard, two of the keys between the space bar and
right Ctrl should be Multi_key and Mode_switch separately.
You can use this to type Māori words like kōwhai with the correct
accents too, although XEmacs doesn't seem to want to let me so I've
had to use gedit: RightAlt-Shift-] a enters "ā", for example.
You can make the setxkbmap change permanent by editing
/etc/X11/XF86Config or XF86Config-4, and setting
Option "XkbLayout" "en_US"
in the keyboard driver section.
--
"Hanging is too good for a man who makes puns; he should be drawn and quoted."
-- Fred Allen