How to fix an ibm t43p’s esc placement 2006 October 5 21:33
Posted by diamond in : Random , 1 comment so farThe ibm t43p is a fantastic laptop. Light, fast, built to last, works pretty much flawlessly with ubuntu dapper straight out of the box. The one niggle i have with it however is that the escape key is placed above the F1 key. This causes problems when i’m using vim as i hit escape frequently, and i’m used to it being in the position the F1 key currently occupies. The following patch fixes that, swaping the function of the Esc and F1 keys (with the added bonus that ctrl+alt+esc and ctrl+alt+f1 will both switch to the first linux VT).
--- /etc/X11/xkb/symbols/gb.orig 2006-10-05 22:12:38.000000000 +0100
+++ /etc/X11/xkb/symbols/gb 2006-10-05 22:25:50.000000000 +0100
@@ -16,6 +16,17 @@
name[Group1]="United Kingdom";
+ // Added by steve
+ key {
+ type="CTRL+ALT",
+ symbols[Group1]= [ F1, XF86_Switch_VT_1 ]
+ };
+ key {
+ type="CTRL+ALT",
+ symbols[Group1]= [ Escape, XF86_Switch_VT_1 ]
+ };
+ // Unadded
+
key { [ 2, quotedbl, twosuperior, oneeighth ] };
key { [ 3, sterling, threesuperior, sterling ] };
key { [ 4, dollar, EuroSign, onequarter ] };