View Single Post
Posts: 236 | Thanked: 223 times | Joined on Oct 2009 @ NE UK
#24
Originally Posted by twoboxen View Post
I have the following keys working with only modifying the rx-51 file and rebooting:
fn+z=>tilde
fn+c=>pipe
fn+left=>escape
fn+right=>tab

The only two keys that don't seem to work are:
fn+up=>page up
fn+down=>page down

The lines that don't seem to work for those entries are:

key <UP> { type[Group1] = "PC_FN_LEVEL2", symbols[Group1] = [ Up, PageUp ] };
key <DOWN> { type[Group1] = "PC_FN_LEVEL2", symbols[Group1] = [ Down, PageDown ] };

Anyone have any suggestions? I also tried PgDown/PgUp, but that didn't work either.
Thanks very much for your work here! I've used it to set my keys up with the following mappings:

sterling -> | (bar)
euro -> ` (grave)
fn+backspace -> delete
fn+right -> > (greater)
fn+left -> < (less)
fn+up-> ^ (asciicircum)
fn+down-> % (percent)

which together with tab, esc, [, ], {, }, and ~ in the xterm key bar gives me more or less everything I need, I think.

After editing the rx-51 file, I found the command setxkbmap with no params was enough to get the keys loaded.

By way of return, I think you want Page_Up and Page_Down (with underscores) for your mappings on the fn+up and fn+down. I did try Page_Up in the fn+up slot and it seemed to work for me.

One curiosity of my own: I tried to map shift+space to Tab in the second column for SPCE in the english_base section (tried "tab" as well as "Tab") but with no luck. Pressing the shifted space did nothing (didn't even get a space out of it). However when I put (randomly) "colon" in the place of "Tab", shifted space got me a colon no problems... Something odd about tab in that position? I don't know.

If anyone wants to replicate or investigate this setup, the xterm bar commands (run as user) are

Code:
 gconftool-2 -s /apps/osso/xterm/keys -t list --list-type=string "[Tab,Escape,bracketleft,bracketright,braceleft,braceright,asciitilde]"

 gconftool-2 -s /apps/osso/xterm/key_labels -t list --list-type=string "[Tab,Esc,\[,\],\{,\},~]"
and my /usr/share/X11/xkb/symbols/nokia_vndr/rx-51 file is attached.

Edit: if you try using the rx-51 file, results may depend on the regional settings of your n900, judging by the file itself!

Further Edit: Of course, you can get tab in the kb with ctrl-i in any case.. but still!
Attached Files
File Type: gz rx-51-kwotski.gz (4.0 KB, 198 views)

Last edited by kwotski; 2009-12-04 at 23:53.
 

The Following 3 Users Say Thank You to kwotski For This Useful Post: