Run Ubuntu 13.04 ‘Raring Ringtail’ on a Macbook Air with a proper Norwegian keyboard layout

Before I start, I would just like to add that any part below replacing the Norwegian Macintosh layout is all based on my preferences. You might think “What the hell kind of key mappings does this guy use?”, but hopefully you will get some feeling of how to tweak my settings further to please your preferences.