File: test-keymaps

package info (click to toggle)
console-data 2002.12.04dbs-49
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 5,024 kB
  • ctags: 26
  • sloc: perl: 1,663; makefile: 110; sh: 61
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