Ubuntu – No keyboard layout in keyboard preferences to match Danish macbook

keyboard-layoutmacbookpreferences

Some critical keys (@) are in accessible on my Macbook running Natty. It's a 2006 danish keyboard model. Is there a way to edit the layout without resorting to Terminal? Alternatively where could the right layout be found? (it's not in keyboard prefs. i tried them all)

thanks for the answer below my keyboard looks like this:

enter image description here

the danish layout on Ubuntu misses the function key. the problem is that i cant get to the 3rd and 4th levels of the other keys.

Best Answer

Is your keyboard something like this?:

enter image description here

If the answer is "yes", than you will be able to fix the @ issue by running something like this on terminal:

xmodmap -e "keycode  11 = 2 quotedbl 2 quotedbl twosuperior at twosuperior at"