* Erik de Castro Lopo ([EMAIL PROTECTED]) wrote:
>
> I've got may father on a Linux machine
>
Congratulations
> Sylpheed, displays the characters he's interested in (Portuguese)
> without a problem, but I can't figure out how to generate them.
> I've search the net and tried a couple of different things that
> were suggested and none of them seem to work.
>
Erik,
Sorry I wasn't able to join the dicusssion on Friday.
You don't need gnome-applets. All the keymaps are in
/usr/X11R6/lib/X11/xkb/symbols
and are called via 'setxkbmap map'. The path is hard-wired.
The Portuguese ones are pt and br. Unfortunately both these keymaps
assume that you're using a Portuguese 105key keyboard.
I imagine your dad isn't a proficient touch typist on a Portuguese keyboard.
Most likely he'll be relying on the keylabels.
I've put an anglo-portuguese keymap at http://tandv.ws/font, called pt1.
Put this in /usr/X11R6/lib/X11/xkb/symbols and access via 'setxkbmap pt1'.
Revert to the standard us mapping by calling 'setxkbmap us'.
The keymap has an explanatory introduction. The individual keymappings
consist of two [ ] blocks, the first being for basic mappings, the second
block defining the altR mappings.
Unfortunately there isn't infinite possibility here, the symbols/ keymaps
call other definitions in /usr/X11R6/lib/X11/xkb/rules and
/usr/X11R6/lib/X11/xkb/geometry. You could however write a xkbcomp
portuguese.xkbmap from scratch, with any mapping you like, should take about
2 weeks.
================================================================
Did you need to generate other locales, like pt or en_US.UTF-8 to view pt
accents in sylpheed?
Are you able to see the accents in a terminal, or perhaps that's not an
issue? The ucs package from http://www.cl.cam.ac.uk/~mgk25/ucs-fonts.html
is absolutely great. The included ucs2any script will generate iso-8559-2
etc subsets as needed.
================================================================
Nick Croft
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html