To use a hardware dvorak keyboard on the Nokia N900, follow the following guide, as xmodmap doesn't work on the device:
To remap to a standard US keyboard, including the Escape key and keys necessary to use GNU Emacs on Nokia N900:
| $ wget http://sumoudou.org/n900/rx-51.qole |
| # cp /usr/share/X11/xkb/symbols/nokia_vndr/rx-51 /usr/share/X11/xkb/symbols/nokia_vndr/rx-51.orig # cp rx-51.qole /usr/share/X11/xkb/symbols/nokia_nvdr/rx-51 # setxkbmap |
Now your keyboard is remapped:
Escape is Fn+Left Tab is Fn+Right
For other keys, experiment.