[Pkg-kbd-devel] Bug#633622: remap doesn't take effect

Michael Schutte michi at debian.org
Tue Jul 12 15:49:30 UTC 2011


Hi Volkan,

On Tue, Jul 12, 2011 at 11:06:51AM +0300, Volkan YAZICI wrote:
> When I uncomment
> 
> --8<---------------cut here---------------start------------->8---
> #s/keycode  58 = Caps_Lock/keycode  58 = Control/;
> --8<---------------cut here---------------end--------------->8---
> 
> line in /etc/kbd/remap, it doesn't take effect on
> /etc/console-setup/cached.kmap.gz. To further investigate the problem, I
> checked the last modification time of cached.kmap.gz, but it was far
> from current time. (dpkg-reconfigure console-setup didn't make a
> difference.)

That’s because this file only applies to keymaps loaded by the kbd init
script itself; since you use console-setup, this is disabled altogether.
Try setting

	XKBOPTIONS="ctrl:nocaps"

in /etc/default/keyboard and run

	invoke-rc.d console-setup restart

to make the changes effective.  Can you confirm that this works?

Cheers,
-- 
Michael Schutte                   | michi@{uiae.at,debian.org}
Innsbruck, Austria                | happily accepting encrypted mail
OpenPGP: 0x16fb 517b a866 c3f6 8f11 1485 f3e4 122f 1D8C 261A
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-kbd-devel/attachments/20110712/f61b9762/attachment.pgp>


More information about the Pkg-kbd-devel mailing list