File: test-keymaps

package info (click to toggle)
console-data 2%3A1.12-10
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,396 kB
  • sloc: sh: 3,272; pascal: 472; makefile: 239; perl: 168
file content (12 lines) | stat: -rwxr-xr-x 224 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

# Run this within a pbuilder chroot, etc, within X; 
# It will trash the current setup!

set -e

dumpkeys > /tmp/keymap-backup

find /usr/share/keymaps/ -type f -exec  loadkeys {} \;

loadkeys  /tmp/keymap-backup