Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 457524

Summary: sys-apps/openrc-0.11.8 - Euro symbol fix in /etc/init.d/keymaps is not working
Product: Gentoo Hosted Projects Reporter: Andreas Grois <andi>
Component: OpenRCAssignee: OpenRC Team <openrc>
Status: RESOLVED FIXED    
Severity: minor    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 439098    

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.