Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 457524 - sys-apps/openrc-0.11.8 - Euro symbol fix in /etc/init.d/keymaps is not working
Summary: sys-apps/openrc-0.11.8 - Euro symbol fix in /etc/init.d/keymaps is not working
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: OpenRC (show other bugs)
Hardware: All Linux
: Normal minor
Assignee: OpenRC Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 439098
  Show dependency tree
 
Reported: 2013-02-14 13:20 UTC by Andreas Grois
Modified: 2013-02-15 22:21 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Grois 2013-02-14 13:20:09 UTC
I have been playing around with console fonts and ended up finding, that with a unicode enabled font like lat9v, pressing the Euro key does not give the Euro Symbol but the generic currency symbol. Gentoo would supply a fix for this which can be configured in /etc/conf.d/keymaps by setting fix_euro="yes", yet changing this setting did not have any effect, so I checked /etc/init.d/keymaps.

The responsible line currently reads:
echo "altgr keycode 18 = U+20AC" | loadkeys -q

Although the loadkeys manpage states that without any filename given loadkeys is supposed to read from stdin, I tried the following,

echo "altgr keycode 18 = U+20AC" | loadkeys -q -

and this change made the thing work for me. As said, I have not the slightest idea why this change makes the thing work, but well, it does...

Please try to reproduce and the fix this.

Best Regards,
Andreas
Comment 1 William Hubbs gentoo-dev 2013-02-15 22:21:30 UTC
I verified that loadkeys actually requires you to pass "-" to specify
that you want to read from stdin. I will be opening a separate bug
against loadkeys for this issue.

I have added the fix you suggest as commit 86dbd75.
This will be included in openrc-0.12. Thanks for the report.