maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N810 (https://talk.maemo.org/forumdisplay.php?f=28)
-   -   keyboard question (https://talk.maemo.org/showthread.php?t=13466)

Alvin 2007-12-20 02:42

keyboard question
 
I was wondering if the N810 keyboard has a 'tab' key. From the pics I have seen, I didn't see one!
thanks

smammon 2007-12-20 03:14

Re: keyboard question
 
Nope. No tab but you can use the d pad to move between fields. One really glaring omission is the pipe sign (|). You can get it - two screens deep into the alternate character menu. Makes shell script and even simple command line pipes a real pain. But then I normally use my bluetooth keyboard if it much more than a simple grep...

aki 2007-12-20 08:59

Re: keyboard question
 
I think xmodmap is working. If you don't have that app, if you have all your application repositories setup, it should be an easy install.

Once that's installed, create a file like ".xmodmap" that contains something like the following.

Code:

keycode 52 = z Z Tab Tab Tab
keycode 20 = minus braceleft underscore underscore underscore
keycode 21 = plus braceright equal equal equal
keycode 58 = m M bracketleft bracketleft bracketleft
keycode 47 = semicolon colon bracketright bracketright bracketright
keycode 60 = period greater bar bar bar
keycode 104 = Return Escape

That is just a file describing changes to the default behaviour that each key should take. Reading each entry from the "="s, the first keysym is what happens when the key is pressed, the second is when the shift key has also been pressed, the third/forth/fifth when the Fn key has been pressed. So for the "z" button, if I push "Fn"+"z", it will behave like "tab". The others are just in there for the way I use my keyboard (for programming and vi)

To implement the changes, run the following command from shell

Code:

xmodmap /path/to/your/.xmodmap
Hopefully it will work for you then. The way xmodmap works can be looked up via google. For extra constants hunt for xf86Keymap.h online.

If you are sure that your setup is working fine, you can get it to load semi-automatically by putting the xmodmap command into your .profile. It's nor perfect since it only gets executed when a shell is opened. Anyone more familiar with the system have a better solution for all this? I'll be the first to admit that it's a hackish way of going about it.

combatdoc 2008-05-18 18:30

Re: keyboard question
 
FYI There is an XModmap and xev available for OS2008 here.


All times are GMT. The time now is 13:10.

vBulletin® Version 3.8.8