xkeycaps is a graphical frontend for xmodmap. A virtual keyboard is shown and you can redefine any key on runtime change your ~/.Xmodmap or use other applications (provided that you use Click-to-Focus). For layout you should choose "PC 102 key keyboard #1 - Linux/XFree86 German".