User:Jebba/Keymap

=Keymap= Random notes.

xkbprint -label name $DISPLAY - > rx-51-keymap.ps

My Maemo Keymap
Makes things nicer so sterling and pound become pipe and tab.

/usr/share/X11/xkb/symbols/nokia_vndr/rx-51

--- 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 	{ [	period,		colon,		question,	question	] }; // 3. row -   key 	{ [	z,		Z,		sterling,	sterling	] }; +// key 	{ [	z,		Z,		sterling,	sterling	] }; +   key 	{ [	z,		Z,		bar,		bar		] }; key 	{ [	x,		X,		dollar,		dollar		] }; -   key 	{ [	c,		C,		EuroSign,	EuroSign	] }; +// key 	{ [	c,		C,		EuroSign,	EuroSign	] }; +   key 	{ [	c,		C,		Tab,		Tab		] }; key 	{ [	v,		V,		slash,		slash		] }; key 	{ [	b,		B,		backslash,	backslash	] }; key 	{ [	n,		N,		quotedbl,	quotedbl	] };

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

~/.xbindkeysrc "freemoe-xterm-toolbar" control + comma

freemoe-xterm-toolbar: SETTING=`gconftool-2 --get \ /apps/osso/xterm/toolbar` if [ $SETTING == "true" ] then NEWSETTING="false" else NEWSETTING="true" fi gconftool-2 --set --type bool \ /apps/osso/xterm/toolbar \ $NEWSETTING
 * 1) !/bin/sh

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.

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 