[edit] Keymap

Random notes.

xkbprint -label name $DISPLAY - >

[edit] My Maemo Keymap

Makes things nicer so sterling and pound become pipe and tab.


--- rx-51.orig	2009-10-07 10:39:13.000000000 -0300
+++ rx-51	2009-12-31 20:00:22.000000000 -0300
@@ -376,9 +376,11 @@
    key <AB09>	{ [	period,		colon,		question,	question	] };
    // 3. row
-    key <AB01>	{ [	z,		Z,		sterling,	sterling	] };
+//  key <AB01>	{ [	z,		Z,		sterling,	sterling	] };
+    key <AB01>	{ [	z,		Z,		bar,		bar		] };
    key <AB02>	{ [	x,		X,		dollar,		dollar		] };
-    key <AB03>	{ [	c,		C,		EuroSign,	EuroSign	] };
+//  key <AB03>	{ [	c,		C,		EuroSign,	EuroSign	] };
+    key <AB03>	{ [	c,		C,		Tab,		Tab		] };
    key <AB04>	{ [	v,		V,		slash,		slash		] };
    key <AB05>	{ [	b,		B,		backslash,	backslash	] };
    key <AB06>	{ [	n,		N,		quotedbl,	quotedbl	] };

[edit] xbindkeys

I think i submitted this to the builder, who knows if it made it thru, too frustrated to even bother to look.


 control + comma



SETTING=`gconftool-2 --get \

if [ $SETTING == "true" ]
	then NEWSETTING="false"
	else NEWSETTING="true"

gconftool-2 --set --type bool \
	/apps/osso/xterm/toolbar \

[edit] kernel

I'm trying to work up a patch so the keymap works when you boot into Mer or Fedora in the console. I did one patch of arch/arm/mach-omap2/board-rx51-peripherals.c, but I definitely foobar'd it. There's probably an easier way to do it with console-tools too.

[edit] upstream patch

Hints, perhaps.

commit acf442dc560437858e6a4c904678052616f8226e
Author: Amit Kucheria <>
Date:   Mon Oct 5 21:43:44 2009 -0700

   Input: fix rx51 board keymap

   The original driver was written with the KEY() macro defined as (col,
   row) instead of (row, col) as defined by the matrix keypad
   infrastructure. So the keymap was defined accordingly. Since the
   driver that was merged upstream uses the matrix keypad infrastructure,
   modify the keymap accordingly.

   While we are at it, fix the comments in twl4030.h and define
   PERSISTENT_KEY as (r,c) instead of (c, r)

   Tested on a RX51 (N900) device.

   Signed-off-by: Amit Kucheria <>
   Acked-by: Tony Lindgren <>
   Signed-off-by: Dmitry Torokhov <>

[edit] Console on Maemo

With my framebuffer console-enabled kernel, to get a console on the N900 with Maemo 5:

sudo /sbin/getty 38400 tty3
sudo chvt 3

To switch back:

sudo chvt 2

You may want to open up a big black image or xterm or something in X or it will keep obscuring what you write.

Run "gotox" to get out if you aren't ssh'd in.

~ # cat /sbin/gotox 

chvt 2

[edit] TODO

 cehteh: jebba: S-Space works nice for tab