All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Daniel G." <audobra@gmail.com>
To: kbd@lists.altlinux.org
Subject: Re: [kbd] Plus instead acute accent
Date: Sat, 30 May 2020 17:15:08 +0200	[thread overview]
Message-ID: <20200530151508.GA30525@i7> (raw)
In-Reply-To: <20200530124125.fcthljmihgk4hpnp@comp-core-i7-2640m-0182e6>

[-- Attachment #1: Type: text/plain, Size: 2258 bytes --]

On Sat, May 30, 2020 at 02:41:25PM +0200, Alexey Gladkov wrote:
> On Sat, May 30, 2020 at 02:09:47PM +0200, Daniel G. wrote:
> > > > If you try to load de Spanish keymap with:
> > > > $ loadkeys es
> > > > 
> > > > It takes you "somewhere" with a Spanish misconfigured map that shows the ñ
> > > > correctly, but with some issues with the acute accents, which appear, for
> > > > example, as +a instead of a-acute. I have no idea of which "default" map
> > > > could it be.
> > > > 
> > > > But if you put the absolute path to the map, the problem is fixed.
> > > > $ loadkeys /usr/share/keymaps/i386/qwerty/es.map.gz
> > > 
> > > Do you have /usr/share/keymaps/i386/olpc/es.map.gz ?
> > > If yes, can you try the following?
> > > 
> > > $ loadkeys /usr/share/keymaps/i386/olpc/es.map.gz
> > 
> > I've tried it. And it loads the incorrect map, I mean, one showing +a instead
> > of a-cute.
> 
> Just as I suspected.
> 
> > I have just removed that map from the system, and 'loadkeys es' works
> > properly, loading a correct Spanish map. It seems we have found the
> > "culprit".
> > 
> > As an immediate solution it is easy to remove /olpc/es.map.gz to make it
> > work as expected with 'loadkeys es'.
> 
> or you could use:
> 
> $ loadkeys qwerty/es

Undoubtedly, a much better solution.
> 
> > But it could be interesting to know why the default path to the Spanish
> > keymap goes to /olpc instead of /qwerty.  I've tried to study the code of
> > loadkeys, but sorry, it is out of my range :-(. 
> 
> This is because loadkeys recursively searches for keymap in
> the /usr/share/keymaps/*/* subdirectories (on your system). Directory
> names are sorted alphabetically.
> 
> keymaps/i386/azerty
> keymaps/i386/bepo
> keymaps/i386/carpalx
> keymaps/i386/colemak
> keymaps/i386/dvorak
> keymaps/i386/fgGIod
> keymaps/i386/neo
> keymaps/i386/olpc
> keymaps/i386/qwerty
> keymaps/i386/qwertz
> 
> as you can see /olpc goes before /qwerty.

Thank you for the explanation.
> 
> -- 
> Rgrds, legion
> 



> _______________________________________________
> kbd mailing list
> kbd@lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/kbd


-- 
----------------
Daniel Gutiérrez

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

      reply	other threads:[~2020-05-30 15:15 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-16 16:20 [kbd] Plus instead acute accent DGSJ
2020-05-28 21:34 ` Alexey Gladkov
2020-05-28 22:06 ` Ken Moffat
2020-05-30  9:27   ` Daniel G.
2020-05-30 10:13     ` Alexey Gladkov
2020-05-30 12:09       ` Daniel G.
2020-05-30 12:41         ` Alexey Gladkov
2020-05-30 15:15           ` Daniel G. [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200530151508.GA30525@i7 \
    --to=audobra@gmail.com \
    --cc=kbd@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.