| 1 |
A mini-HOWTO test the XKB config without modifying the system configuration. |
| 2 |
(Only tested with XFree86 4.3+.) |
| 3 |
|
| 4 |
First see what your configuration is. Note the model and layout. |
| 5 |
$ setxkbmap -print |
| 6 |
|
| 7 |
Then unpack the sources locally ... |
| 8 |
$ gzip -dc xkeyboard-config*.tar.gz | tar -tf - |
| 9 |
... and change to the delivered directory |
| 10 |
$ cd xkeyboard-config-<version> |
| 11 |
|
| 12 |
Then try to load the current keyboard using the local rules |
| 13 |
$ setxkbmap -v 10 -I$PWD -rules base |
| 14 |
|
| 15 |
Now try to set different keyboards using the -model and -layout. |
| 16 |
$ setxkbmap -v 10 -I$PWD -rules base -model pc102 -layout intl |
| 17 |
Look in the file rules/base for other example models and layouts |
| 18 |
|
| 19 |
If there was a problem, you can reset the keyboard like so: |
| 20 |
$ setxkbmap -rules xfree86 -model <noted model> -layout <noted layout> |
| 21 |
|
| 22 |
If that doesn't work, you may have to log out and log back in. |