On Mon, 16 Feb 2009 18:35:05 +0100, "Christian Perrier"
<[email protected]> said:
> forcemerge 417850 499608 513559
> thanks
> 
> Quoting [email protected] ([email protected]):
> 
> > When keymaps used to be in /usr/lib/kbd/keytables, I used to
> > be able to fix this by changing the cf.map file using the letter
> > "o" as an example, from:
> > 
> >    keycode 24 = o   O   section
> > 
> > to:
> > 
> >    keycode 24 = o
> >       altgr keycode 24 = section
> > 
> > I tried something similar by modifying 
> > /usr/share/keymaps/i386/qwerty/cf.map.gz by adding:
> > 
> >    keycode 24 = o
> > 
> > above the line
> > 
> >    altgr keycode 24 = section
> > 
> > (and the corresonding lines for p and m).  That fixed
> > the annoying caps lock upper case problem, but the altgr
> > characters were printed as white blanks rather the the 
> > proper symbol.
> 
> 
> Actually, even running "loadkeys cf" without changing the kmap file
> will fix the problem. See #417850 and #499608.
> 
> If you "dpkg-reconfigure console-data", then you'll get the problem
> for "cf" and Caps Lock won't work on o and p.
> 
> However, if just after this you run "loadkays cf", then it will work.

Strictly speaking, yes, but then it just moves the problem elsewhere
as described previously: the altgr characters appear as empty squares.
They work as expected when the caps lock don't.  However, I have found 
a workaround.

I don't know why this works, but it does.  First, replace 
/etc/boottime.kmap.gz with an editted copy of 
/usr/share/keymaps/i386/qwerty/cf.kmap.gz.  It was editted by replacing
all the "include" statements with the files so included:
/usr/share/keymaps/i386/include/qwerty-layout.inc.gz
/usr/share/keymaps/i386/include/linux-with-alt-and-altgr.inc.gz
and /usr/share/keymaps/i386/include/linux-keys-bare.inc.gz (actually 
"included" by linux-with-alt-and-altgr.inc.gz)

Second, move /etc/console-tools/remap out of the way.  This file is 
sourced by /etc/init.d/console-screen.sh.  On my system is all but empty
(3 commented lines, two blank lines) but it seems to mess things up.

This allows me to get "OPM" when caps lock is on and to get the expected
altgr characters for those three keys instead of blank squares.

Hope this can help someone else.

Thanks for looking into this even though it looks like it is not your
package that has the problem.

wg

> 
> The very same stands for the br-abnt2 keymap.
> 
> So, as a conclusion, these 3 bugs are the exact same one. Where it
> might be is a mystery for me....but let's at least clean this stuff
> out. These bugs are the same one.
> 
> 
-- 
  
  [email protected]

-- 
http://www.fastmail.fm - I mean, what is it about a decent email service?




-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to