Sorry for dragging this up again, and then even on the OT part

My old laptop is slowly giving up it's ghost, and after lots of faffing about I got myself a new Acer Travelmate Timeline notebook. I don't know what these designers think about, but they forgot to put a degree (°) sign on the keyboard.

I've installed Debian, with Gnome window manager. In order to re-instate the degree key, I changed the keyboard mapping in X. It's unbelievable how well hidden the link is, between pressing a key and writing something on the screen. In short:
When X starts, it calls a config file (/etc/X11/xorg.conf). In there are defined the input and output devices. In the keyboard section it states
Option "XkbLayout" "gb"
The reference to kdb layout "gb" is actually to a file, /usr/share/X11/xkb/symbols/gb . The first section reads
xkb_symbols "basic" {
include "latin"
name[Group1]="United Kingdom";
key <AE02> { [ 2, quotedbl, twosuperior, oneeighth ] };
key <AE03> { [ 3, sterling, threesuperior, sterling ] };
key <AE04> { [ 4, dollar, EuroSign, onequarter ] };
key <AC11> { [apostrophe, at, dead_circumflex, dead_caron] };
key <TLDE> { [ grave, notsign, bar, bar ] };
key <BKSL> { [numbersign, asciitilde, dead_grave, dead_breve ] };
key <LSGT> { [ backslash, bar, bar, brokenbar ] };
include "level3(ralt_switch_multikey)"
};
I wanted to have the degree ° symbol on the leftmost key in the number row, which for some reason gets the name tilde or <TLDE>. So, the corresponding line was edited to read
key <TLDE> { [ grave, degree, bar, bar ] };
and I was done. The edited file has a new name, and is called from the xorg.conf instead of the standard "gb" file.
I'm not very good at finding the right and up-to-date docu, so don' ask how long I spend on this

Hope it'll be of use to somebody.
°Klaus