maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   OS2008 / Maemo 4 / Chinook - Diablo (https://talk.maemo.org/forumdisplay.php?f=29)
-   -   Tab button for the thumb keyboard on a n800 (https://talk.maemo.org/showthread.php?t=43280)

Micah 2010-02-03 19:04

Tab button for the thumb keyboard on a n800
 
Im sure this has been asked before but I cannot find an answer after searching through 16+ pages of searches.

I love the full screen thumb board but I cannot figure out how to do a tab for tab completion. It is a pain to have to switch back to the small screen just to hit tab. Any suggestions?

Addison 2010-02-03 23:08

Re: Tab button for the thumb keyboard on a n800
 
Welcome to the forum, Micah.

You basically have three choices here.

Hack the full screen keyboard and change one of the keys to a Tab key.

Use Xmodmap and temporarily change one of your hardware buttons to a Tab key.

Or permanently alter one of your hardware buttons by editing your rx-44 file.

Tell me which one you prefer and I'll help you out. :)

Micah 2010-02-03 23:16

Re: Tab button for the thumb keyboard on a n800
 
Thanks for the warm welcome!!

I would prefer to change the full size keyboard. That way I dont lose one of the hardware keys.

Addison 2010-02-03 23:22

Re: Tab button for the thumb keyboard on a n800
 
Okay.

What key would you like replaced?

Also, what language are you using for the keyboard?

I'll post back a solution/file for you tomorrow night. :)

Micah 2010-02-03 23:26

Re: Tab button for the thumb keyboard on a n800
 
Thank you!! Thank you!!

I would like to replace the ' in the ^abc tab. Im using english.

Addison 2010-02-03 23:35

Re: Tab button for the thumb keyboard on a n800
 
So you don't want an apostrophe key anymore?

Is that correct?

Micah 2010-02-03 23:39

Re: Tab button for the thumb keyboard on a n800
 
Yeah. The key to the right of the p and above the /. If I need an apostrophe there is also on numbers tab.

Addison 2010-02-03 23:41

Re: Tab button for the thumb keyboard on a n800
 
Okay then.

Give me a day on this since it will be my first time attempting to hack the keyboard.

Micah 2010-02-04 00:01

Re: Tab button for the thumb keyboard on a n800
 
Awesome! No problem. I can wait. I just got my n800 yesterday so im still just messing around with it.

Addison 2010-02-05 00:33

Re: Tab button for the thumb keyboard on a n800
 
This is turning out to be much more difficult than what I thought it would be.

I'm not finding anything on what to type in the en_US.xml file so I can compile it back to a .vkb file that will be usable.

Right now, clicking on the Tab key just types out the word Tab.

Probably not what you want here. :)

I emailed the author so maybe I'll hear back from him or perhaps someone else here can jump in and help.

http://img195.imageshack.us/img195/6...0020419235.png

Micah 2010-02-05 00:43

Re: Tab button for the thumb keyboard on a n800
 
Well I applaud your effort! I hope you hear from him. How hard would it be to go the xmodmap route for now?

Addison 2010-02-06 07:54

Re: Tab button for the thumb keyboard on a n800
 
Xmodmap would be fluffy cake to use.

Move xmodmap to
/usr/bin/

chmod +x /usr/bin/xmodmap

Create a file so that you see
/home/user/.Xmodmap

That file should have in it something like
keysym F7 = TAB TAB TAB TAB

To run it, type in Xterm
xmodmap ./.Xmodmap

To stop it, type in Xterm
setxkbmap

Sorry I don't have something simple for you to just copy and paste in Xterm but I'm pretty poor with the command line.

Anyway, pressing the ZOOM IN key on top of your tablet will produce a Tabbing effect.

Still looking at a solution for you though.

This was the best post I found online.
http://www.gossamer-threads.com/list...velopers/26609

Basically the keyboard is closed source. The only way to hack it is through reverse engineering.

And the .vkb file doesn't have any codes in it for the Return, Backspace or Tab key.

It might be located in
/usr/share/X11/xkb/geometry
but I'm not sure.

Anyway, this ended up being a little beyond me so I don't think I can help you on this anymore.

Oh well. :)

Micah 2010-02-06 13:40

Re: Tab button for the thumb keyboard on a n800
 
Thank you for your help so far.

I tried using Xmodmap but it keeps throwing an error

"xmodmap: unknown command on line commandline:1
xmodmap: 1 error encountered, aborting."

Any suggestions.

Addison 2010-02-06 16:12

Re: Tab button for the thumb keyboard on a n800
 
Are you starting this with
xmodmap ./.Xmodmap
?

If you were to use Emelfm2, you should be seeing a file under
/home/user/.Xmodmap

If you were to open that file, it would only have this one line written in it.

keysym F7 = Tab Tab Tab Tab

(Sorry, I guess Tab shouldn't have been spelled out in all capital letters)


Anyway, I'm really probably one of the worst persons here to talk about such a thing because I can't seem to do anything right on my tablet.

I'll let someone else take over from here. :)

Micah 2010-02-06 16:48

Re: Tab button for the thumb keyboard on a n800
 
UPDATE: Ignore below. It works for the styles keyboard but not for the thumb keyboard :mad:

AH HA!! My first problem was i put keysum instead of keysym. After I did that when I pushed the button all it would do is tab over 5 spaces instead of auto complete. After digging around with xmodmap I found that the actual string is

keysym F7 = Tab ISO_Left_Tab

Now I have tab completion on the terminal!!!! Not a nice as hacking the keyboard but this def. makes things easier.

Thanks again Addison.

Addison 2010-02-06 22:57

Re: Tab button for the thumb keyboard on a n800
 
So it's not working with the thumb keyboard? That's weird.

Well, I tried changing the apostrophe to a different character that would never be used such as ł

But when trying to change what ł meant in Xmodmap, I couldn't get it to work.

For some reason when using
xbindkeys -k
to find the value of ł, it couldn't recognize it.

If you can figure this one out, I can make the keyboard for you.

Not sure what else to say on this.

www.rzr.online.fr 2010-03-05 13:07

Re: Tab button for the thumb keyboard on a n800
 
On my system , what about yours ? :

* TAB : Fn+SPACE, Ctrl+i

URL: http://rzr.online.fr/q/xkb


About xkbdata's rx-44 , I plan to patch upstream, is there a proper way to do this ?

I am about to import xkbdata to gitorious to track my changes see :


Regards

--
http://rzr.online.fr/q/maemo


All times are GMT. The time now is 23:34.

vBulletin® Version 3.8.8