maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N810 (https://talk.maemo.org/forumdisplay.php?f=28)
-   -   Onscreen Thumb Keyboard via hardware key? (https://talk.maemo.org/showthread.php?t=30794)

gogol 2009-12-17 07:30

Re: Onscreen Thumb Keyboard via hardware key?
 
Bummer, Tear just crashed and I lost my big N810-typed post.

Another damn good idea Addison.

I suppose the problem is that I went and used an Ipod Touch and got comfortable with the polish the device has. The N810 is just always gonna need some hacking to do what I want it to (and do a lot of things the Touch does OOTB) and actually, that's a big part of why I like it. Its a challenge and gives me something to do. I think I'll try your xkbd idea and see if I cant make an onscreen button for the onscreen keyboard.

I just wish there was another way to summon it other than the enter key.

Addison 2009-12-17 07:48

Re: Onscreen Thumb Keyboard via hardware key?
 
With Xkbd, you can customize the height, width and position of where it's on the screen.

If you went with a two-key keyboard you can also minimize it.

The key symbol "KP_Enter" is actually a "Return" key.

The key symbol "Return" brings up the hildon keyboard but only if there's a place to input text.

If that works witth Xkbd, then it should also work with mapping or hacking something like the zoom key to call the same key symbol.

I'll try that on my end and see if I can get lucky on this.

Addison 2009-12-17 08:25

Re: Onscreen Thumb Keyboard via hardware key?
 
Got it dude! :D

In Xterm:
root
emelfm2

Go to
usr/share/X11/xkb/symbols/nokia_vndr/su-8w

Near the bottom of that file, edit the one line to this:
key <FK07> { [ Return ] };


Save

Back in Xterm:
setxkbdmap

This makes the zoom-in hardware key pop up the keyboard.

Hope that's what you were looking for.

Cheers!



Edit:
You might also need to change that setting in the rx-44 file as well but I'm not sure.

Best of luck. :)

gogol 2009-12-17 08:30

Re: Onscreen Thumb Keyboard via hardware key?
 
...except now Im having this strange problem where the touchscreen is completely unresponsive when the keyboard is closed.

Wonder what the hell I did....

gogol 2009-12-17 08:31

Re: Onscreen Thumb Keyboard via hardware key?
 
But that is exactly what I was looking for! And thanks!

Addison 2009-12-17 08:33

Re: Onscreen Thumb Keyboard via hardware key?
 
Did you install xkbd from my "Xkbd *Diablo* post?

Try this in Xterm:
gconftool-2 --set -t bool /system/osso/af/keyboard-attached true && sleep 2 && gconftool-2 --set -t bool /system/osso/af/keyboard-attached false

Addison 2009-12-17 08:40

Re: Onscreen Thumb Keyboard via hardware key?
 
If that doesn't bring back life to your touch screen keyboard, try something like:

gconftool -t bool -s /system/osso/af/slide-open false
or
gconftool-2 -t bool -s /system/osso/af/keyboard-attached true

or a strange combination of the two.

If not say F it and reboot. *lol*

gogol 2009-12-17 08:53

Re: Onscreen Thumb Keyboard via hardware key?
 
Quote:

Originally Posted by Addison (Post 431538)
Did you install xkbd from my "Xkbd *Diablo* post?

Yeah, could that have caused the thumb keyboard to stop appearing?

Addison 2009-12-17 09:00

Re: Onscreen Thumb Keyboard via hardware key?
 
Quote:

Originally Posted by gogol (Post 431560)
Yeah, could that have caused the thumb keyboard to stop appearing?


Yeah, that was a mistake. :)

No one has tested it on a N810 yet... Actually no one has tested it until now.

In that Keyboards folder, copy the base_backup file over to
/usr/share/X11/xkb/rules/

Delete the base file

Rename base_backup to base

In Xterm
setxkbdmap

That should do it.

gogol 2009-12-17 09:16

Re: Onscreen Thumb Keyboard via hardware key?
 
I dont think its xkbd's fault...but I just cant get any onscreen IMs to show up now. No stylus or thumb IM. Weird. Messing with gconf editor I think did it.


All times are GMT. The time now is 17:48.

vBulletin® Version 3.8.8