Redirection and Other Characters on the N810

A weird quirk I’ve run into while fooling around with doing a little development on the N810, there doesn’t seem to be a way to enter redirection characters (great than or less than signs, or angle brackets, whatever you want to call them) using the hardware keyboard. They’re not on the keyboard itself. And there’s a “Chr” key that brings up a character picker onscreen for odd characters, but the greater than and less than signs aren’t there.

Escape and page up/page down are on the toolbar. So I figured maybe I could use the onscreen keyboard to add the characters I wanted to the toolbar, but also no dice. Making an entry on the toolbar with a name of ‘gt’ and value of ‘>’ just seems to generate nothing at all when I tap it.

I don’t see any general remapping tools for the hardware keyboard (though there are for a bluetooth keyboard). Any way to get these characters easily accessible? Right now I have to just use the onscreen keyboard (or use the hardware keyboard and physically close the slider, bring up the onscreen keyboard, type my characters, and switch back). There’s gotta be an easy way to get those characters available though.

This entry was posted in Maemo. Bookmark the permalink.

9 Responses to Redirection and Other Characters on the N810

  1. You can remap any key with the xmodmap utility. If it’s not available on the device itself, you can use an ssh-tunneled X11 connection to perform the modifications. Also, you may want to use xev to get the proper key codes.

    Note that the changes are non-persistent and will reset on first reboot.

  2. Lucas says:

    The ” characters are on the ‘,’ & ‘.’ keys respectively (the two keys immediately to the right of the spacebar) on mine (UK model, ‘English, Nederlands’ layout). I have to use ‘Chr’ to get a pipe symbol (‘|’) though.

  3. Lucas says:

    That was supposed to say the lt and gt characters (I typed the symbols explicitly and the clever blog software ate them).

  4. miker says:

    You’re right Lucas, they weren’t coming up for me yesterday, but after a reboot it’s working as expected. I must have done something along the line to mess up the mapping or change the keyboard type. Thanks for the info!

  5. miker says:

    Tassos, are xmodmap and xev available somewhere for the n810? I checked the repositories and didn’t see them floating around anywhere.

  6. FWIW the things you enter to configure the xterm toolbar are X11 keysyms. The ones for < and > are ‘less’ and ‘greater’.

  7. All you need is in file /usr/share/X11/xkb/symbols/nokia_vndr/rx-44.
    I make alternate cyrillic layouts by change this file in http://garage.maemo.org/projects/xkblayouts

  8. Pingback: Mike Rowehl: This is Mobility » Blog Archive » Adding Pipe and Tab to the N810 Keyboard

  9. Matt says:

    The nokia uses the sh shell, if you either create or add to your ~/.profile the line ‘xmodmap ~/.xmodmap’ you can set it so whenever you open the terminal window, it automatically loads the map for you, problem solved! No, it doesn’t do it ‘on reboot’ just when you open a terminal.. but I’ve never needed the | character outside the terminal anyways… And once you do it in the terminal, it keeps the keystroke for the rest of the device too, so it’s kinda nice and a simple work around

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">