[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

/etc/kbd/remap



Hi!

Default contents of the /etc/kbd/remap file provided by kbd package
is as follows.

--8<---------------cut here---------------start------------->8---
# This sed script is run across the dumpkeys output to remap keys on the console

# This turns caps lock into control
#s/keycode  58 = Caps_Lock/keycode  58 = Control/;
--8<---------------cut here---------------end--------------->8---

But uncommenting the last line doesn't have any effect. Even replacing
it with below line doesn't work as well.

--8<---------------cut here---------------start------------->8---
s/keycode 58 = Caps_Lock/keycode 58 = Control/;
--8<---------------cut here---------------end--------------->8---

To further investigate the problem, I checked the last modification time
of /etc/console-setup/cached.kmap.gz, but it was far from current time.
(dpkg-reconfigure console-setup didn't make a difference.) In other
words, remap doesn't have any effect on cached.kmap.gz contents.

Finally, I edited cached.kmap.gz manually and yep, this time it worked.

Does anybody experience the same behaviour? What might I be missing?
Should I submit a bug report?


Best.


Reply to: