1154daed1SmrgA mini-HOWTO test the XKB config without modifying the system configuration.
2154daed1Smrg(Only tested with XFree86 4.3+.) 
3154daed1Smrg
4154daed1SmrgFirst see what your configuration is. Note the model and layout.
5154daed1Smrg   $ setxkbmap -print
6154daed1Smrg
7154daed1SmrgThen unpack the sources locally ...
8154daed1Smrg   $ gzip -dc xkeyboard-config*.tar.gz | tar -tf -
9154daed1Smrg... and change to the delivered directory
10154daed1Smrg   $ cd xkeyboard-config-<version>
11154daed1Smrg
12154daed1SmrgThen try to load the current keyboard using the local rules
13154daed1Smrg   $ setxkbmap -v 10 -I$PWD -rules base
14154daed1Smrg
15154daed1SmrgNow try to set different keyboards using the -model and -layout.
16154daed1Smrg   $ setxkbmap -v 10 -I$PWD -rules base -model pc102 -layout intl
17154daed1SmrgLook in the file rules/base for other example models and layouts
18154daed1Smrg
19154daed1SmrgIf there was a problem, you can reset the keyboard like so:
20154daed1Smrg   $ setxkbmap -rules xfree86 -model <noted model> -layout <noted layout>
21154daed1Smrg
22154daed1SmrgIf that doesn't work, you may have to log out and log back in.
23