webOS Nation Forums >  Homebrew >  webOS patches > On-Screen Keyboard - Bugs, Functionality, Enhancements
On-Screen Keyboard - Bugs, Functionality, Enhancements

  Closed Thread
 
LinkBack Thread Tools Display Modes
Old 08/31/2009, 04:39 PM   #1001 (permalink)
Member
 
johnsavage06's Avatar
 
Join Date: Jun 2009
Location: oakland, cali
Posts: 98
Likes Received: 0
Thanks: 16
Thanked 18 Times in 15 Posts
Default

thats very weird, ive had that happen to me before, its happens very random, but i usually find that turning my phone off then waiting a minute or two and then turning my fone back on fixes that or sometimes it fixes itself, and this also happened before i used this patch so im not sure its just this patch
__________________


if someone posted something that helped you out dont forget to push the thanks button and let 'em they helped

always make backups of the files you mod, that or get accquainted with WebOs DR
johnsavage06 is offline  
Old 08/31/2009, 04:49 PM   #1002 (permalink)
Member
 
Join Date: Aug 2009
Posts: 120
Likes Received: 0
Thanks: 48
Thanked 6 Times in 4 Posts
Default

Quote:
Originally Posted by ujsc View Post
You can install GNU from WebOS 2.02 Quick Install (see internals menu).
Sorry, I just reread it and saw you had writtten that. My bad.
ujsc is offline  
Old 08/31/2009, 05:47 PM   #1003 (permalink)
Member
 
rdethree's Avatar
 
Join Date: Jul 2009
Posts: 105
Likes Received: 0
Thanks: 7
Thanked 26 Times in 22 Posts
Default

big tuna: the same thing happened to me once I installed " download in browser". My "web" card would not load or even load my bookmarks.

Here's what I did: went to "phone" like I was going to call someone.
Then clicked on "preferences".
Scrolled to the bottom and clicked "update network settings". Fixed my troubles like a charm.
rdethree is offline  
Old 08/31/2009, 05:51 PM   #1004 (permalink)
Member
 
Join Date: Aug 2009
Posts: 26
Likes Received: 0
Thanks: 2
Thanked 8 Times in 4 Posts
Default

Since more people are now interested in languages, I'm going to post my "findings" so far so that emoney_33 can point all of us in the right direction to move this forward.

First of all, in my case:
- Greek has a 1 to 1 mapping to English. What this means is that each key on an English keyboard can be mapped to a Greek one and you're set. No need to add (or remove!) any characters.
- We use a QWERTY keyboard, so I didn't have anything to do with QWERTZ or AZERTY files

What I did:
- Took an existing theme and changed the graphics to reflect the Greek characters. Simple. Didn't change the json file since it's convenient to keep the mapping as it is.
- Edited the kbchars_fulltable.json file (opening it in Komodo, making sure encoding was set to UTF-8 otherwise it didn't work) and changed "letter" for all english characters replacing it with the Greek ones. Didn't change "list", "keyCode" or anything else, as I said, mapping remains.
- Replaced the kbchars_fulltable.json file in my current locale (en_us) with mine and changed the keyboard theme to mine

Result:
- Fully (well, almost) functional greek keyboard

Bugs:
- Really strange: When you open the keyboard, everything is fine. After using it for a while, some characters (especially x,c,v) go crazy and instead of inputting the greek equivalent of x,c,v they start inputting a specific greek character (the greek equivalent of "w"). After a while, more keys follow and they all input that same character. If you close and reopen the keyboard, it's fixed but only for a while!

Questions:
- What does the kbchars_table.json file do? Didn't make any changes to it but the keyboard still worked in Greek.

Suggestions:
- It would be nice if we could dynamically change language while typing. For example, the bottom left key (which now does the same thing as the bottom right one, i.e. scrolling) can be used to select language. In the keyboard's config file, we could add all the locales (with corresponding themes) that we want to be displayed when we press the "language switch" button.


As I said, emoney_33 is the one to tell us whether there is a better way to do it all. I was just too excited and couldn't wait to do something
symos is offline  
Old 08/31/2009, 06:38 PM   #1005 (permalink)
Member
 
sketch42's Avatar
 
Join Date: Jan 2007
Location: in the dark recesses of the earth, awaiting "The Rise of the L@@T"
Posts: 3,991
Likes Received: 184
Thanks: 2,996
Thanked 1,967 Times in 1,402 Posts
Default

When you say other lang packs I assume only latin, not right to left . Ex:hebrew
sketch42 is offline  
Old 08/31/2009, 06:50 PM   #1006 (permalink)
Member
 
Join Date: Jun 2009
Posts: 76
Likes Received: 0
Thanks: 2
Thanked 5 Times in 4 Posts
Default

Originally Posted by DuStU
I keep getting this error "An Error occured while attempting to run /var/usr/lib/ipkg/info/org.webosinternals.virtual-keyboard.postinst (err1)

Please help me with a solution

Quote:
Originally Posted by crusty19 View Post
Sounds like you didn't load the package Manager Services, you will find this the same place as the virtual keyboard package (Webos-Internals Feed (all)).

I loaded it and it still didnt work.... how do I uninstall the package manager services? also I still dont have a solution to the error I am getting
DuStU is offline  
Old 08/31/2009, 06:56 PM   #1007 (permalink)
Member
 
Join Date: Dec 2006
Posts: 1,020
Likes Received: 12
Thanks: 814
Thanked 353 Times in 273 Posts
Default

Can someone address whether they have installed this patch using WebOS Quick Install successfully? it's very hard to tell, since apparently most have installed it through Preware.
davidra is offline  
Old 08/31/2009, 08:07 PM   #1008 (permalink)
Member
 
Join Date: Jul 2009
Posts: 86
Likes Received: 0
Thanks: 20
Thanked 11 Times in 10 Posts
Default

@davidra I can confirm it works with WebOS Quick Install.

You have to make sure you don't have the keyboard already installed another way, like through quilt. To install it with WebOS Quick Install you have to delete the patch from quilt.

Once its been removed then you can download it through WebOS Quick Install.

Hope this helps.
TCCCCnME is offline  
Thanked By: davidra
Old 08/31/2009, 08:12 PM   #1009 (permalink)
Member
 
mrloserpunk's Avatar
 
Join Date: Jul 2008
Location: Syracuse
Posts: 2,564
Likes Received: 0
Thanks: 740
Thanked 442 Times in 327 Posts
Default

Anyone else not able to pin point the cursor since installing the kb?
mrloserpunk is offline  
Old 08/31/2009, 08:48 PM   #1010 (permalink)
Member
 
rlanza1054's Avatar
 
Join Date: Jan 2005
Location: Astoria Queens, NYC
Posts: 1,823
Likes Received: 1
Thanks: 201
Thanked 154 Times in 118 Posts
Default

I had too much trouble with WebOS Quick Install, on the patch. Kept getting the error that everyone is reporting.

I ended up in the end using Preware.

Rob
__________________
Robert L
Astoria Queens, N.Y.C
- Palm Pre (Sprint) - formally Palm Treo 650
Version 1.4.1.1
Sprint Configuration 2.3
Model: P100EWW
Hardware Version: A
Firmware: CC1.4(510)

rlanza1054 is offline  
Old 08/31/2009, 08:48 PM   #1011 (permalink)
Member
 
rlanza1054's Avatar
 
Join Date: Jan 2005
Location: Astoria Queens, NYC
Posts: 1,823
Likes Received: 1
Thanks: 201
Thanked 154 Times in 118 Posts
Default

I had too much trouble with WebOS Quick Install, on the patch. Kept getting the error that everyone is reporting.

I ended up in the end using Preware.

Rob
__________________
Robert L
Astoria Queens, N.Y.C
- Palm Pre (Sprint) - formally Palm Treo 650
Version 1.4.1.1
Sprint Configuration 2.3
Model: P100EWW
Hardware Version: A
Firmware: CC1.4(510)

rlanza1054 is offline  
Old 08/31/2009, 09:00 PM   #1012 (permalink)
Developer
 
Join Date: Jul 2009
Posts: 1,400
Likes Received: 3
Thanks: 17
Thanked 1,540 Times in 376 Posts
Default

Quote:
Originally Posted by symos View Post
Since more people are now interested in languages, I'm going to post my "findings" so far so that emoney_33 can point all of us in the right direction to move this forward.

First of all, in my case:
- Greek has a 1 to 1 mapping to English. What this means is that each key on an English keyboard can be mapped to a Greek one and you're set. No need to add (or remove!) any characters.
- We use a QWERTY keyboard, so I didn't have anything to do with QWERTZ or AZERTY files

What I did:
- Took an existing theme and changed the graphics to reflect the Greek characters. Simple. Didn't change the json file since it's convenient to keep the mapping as it is.
- Edited the kbchars_fulltable.json file (opening it in Komodo, making sure encoding was set to UTF-8 otherwise it didn't work) and changed "letter" for all english characters replacing it with the Greek ones. Didn't change "list", "keyCode" or anything else, as I said, mapping remains.
- Replaced the kbchars_fulltable.json file in my current locale (en_us) with mine and changed the keyboard theme to mine

Result:
- Fully (well, almost) functional greek keyboard

Bugs:
- Really strange: When you open the keyboard, everything is fine. After using it for a while, some characters (especially x,c,v) go crazy and instead of inputting the greek equivalent of x,c,v they start inputting a specific greek character (the greek equivalent of "w"). After a while, more keys follow and they all input that same character. If you close and reopen the keyboard, it's fixed but only for a while!

Questions:
- What does the kbchars_table.json file do? Didn't make any changes to it but the keyboard still worked in Greek.

Suggestions:
- It would be nice if we could dynamically change language while typing. For example, the bottom left key (which now does the same thing as the bottom right one, i.e. scrolling) can be used to select language. In the keyboard's config file, we could add all the locales (with corresponding themes) that we want to be displayed when we press the "language switch" button.


As I said, emoney_33 is the one to tell us whether there is a better way to do it all. I was just too excited and couldn't wait to do something


Awesome job tracking this down, and giving language packs a kickstart!!

Currently the kbchars_table.json is useless, it was a leftover from the symbols port that use a alternatechars_fulltable.json and alternatechars.json.

The kbchars_fulltable.json is absolutely the place to start. The "list" part of it is an array, containing the html for displayed characters on the keyboard (i.e. what you would see when the keyboard is open but no image themes are used). The "letter" is the text that will output when that element is pressed.

This will be undergoing some changes going forward, as the idea of an array named "list" comes from the symbols popup keyboard, which we do not need. They use to map a list of symbols to a key on the hard keyboard. e.g. when you press a on the hard keyboard with symbols popup open, it will open a sub-screen which contains all the listed elements mapped to a (all the accented a's etc...).

The keyboard will do better with a 1:1 mapping, and I will be changing that list from an array to a single string like the "letter" field.

I have some ideas going around in my head for what the restructuring of the .json files, theme files, and how I handle things to make it easier for language packs. Tomorrow I will review the code portions and hammer out a plan that I think will work. I will post here and/or message anyone who wants to help out with different languages the plan going forward.

Great job with the language pack symos, and I think it's an awesome idea to have dynamic language packs for the keyboard!

I have a lot of things to re-think and rework in the structure of the keyboard, including better options/control for theme designers. Now that the keyboard is in a relatively stable state, I will continue to expand on that and hopefully will have more detailed plan by tomorrow evening.
egaudet is offline  
Old 08/31/2009, 09:11 PM   #1013 (permalink)
Member
 
Join Date: Jun 2009
Posts: 13
Likes Received: 0
Thanks: 3
Thanked 0 Times in 0 Posts
Default

Can someone please show me how the json file is supposed to look like because I think I messed it up!
Flash 3 is offline  
Old 08/31/2009, 09:21 PM   #1014 (permalink)
Developer
 
Join Date: Jul 2009
Posts: 1,400
Likes Received: 3
Thanks: 17
Thanked 1,540 Times in 376 Posts
Default

Quote:
Originally Posted by Flash 3 View Post
Can someone please show me how the json file is supposed to look like because I think I messed it up!
Which json file? If kb_config.json, then you can simply remove it, uninstall and reinstall the keyboard to get the default one back.
egaudet is offline  
Thanked By: Flash 3
Old 08/31/2009, 09:56 PM   #1015 (permalink)
Member
 
Join Date: Jun 2009
Posts: 13
Likes Received: 0
Thanks: 3
Thanked 0 Times in 0 Posts
Default

Thanx!!!!!!!!! Now do you know how to make the sound work?
Flash 3 is offline  
Old 08/31/2009, 09:59 PM   #1016 (permalink)
Developer
 
Join Date: Jul 2009
Posts: 1,400
Likes Received: 3
Thanks: 17
Thanked 1,540 Times in 376 Posts
Default

Quote:
Originally Posted by Flash 3 View Post
Thanx!!!!!!!!! Now do you know how to make the sound work?

Insert click1.wav into the empty quotes on the line begging with "clickFile", so that line looks like:

"clickFile": "click1.wav",
egaudet is offline  
Old 08/31/2009, 11:12 PM   #1017 (permalink)
Member
 
Join Date: Aug 2009
Posts: 10
Likes Received: 0
Thanks: 0
Thanked 0 Times in 0 Posts
Default

heyy guys i need help deleting this through putty/quilt.

first i tried quilt delete /opt/src/patches/add-onscreen-keyboard.patch and said "cannot remove blah blah read file only"

then i tried quilt pop /opt/src/patches/add-onscreen-keyboard.patch and got the same message.

then tried quilt pop -f and same message. =( any help please
olsen10287 is offline  
Old 08/31/2009, 11:15 PM   #1018 (permalink)
Member
 
Kyusaku's Avatar
 
Join Date: Apr 2007
Posts: 1,483
Likes Received: 5
Thanks: 92
Thanked 195 Times in 142 Posts
Default

Quote:
Originally Posted by olsen10287 View Post
heyy guys i need help deleting this through putty/quilt.

first i tried quilt delete /opt/src/patches/add-onscreen-keyboard.patch and said "cannot remove blah blah read file only"

then i tried quilt pop /opt/src/patches/add-onscreen-keyboard.patch and got the same message.

then tried quilt pop -f and same message. =( any help please
you need to do
Code:
 sudo mount -o remount,rw /
to make the filesystem writable. And then
Code:
sudo mount -o remount,ro /
when you're done
Kyusaku is offline  
Old 08/31/2009, 11:18 PM   #1019 (permalink)
Member
 
Join Date: Jul 2009
Posts: 33
Likes Received: 0
Thanks: 3
Thanked 1 Time in 1 Post
Default

I know this has nothing to do with it but how do u openn a comand prompt
ccunit1995c is offline  
Old 08/31/2009, 11:46 PM   #1020 (permalink)
Member
 
Join Date: Aug 2009
Posts: 10
Likes Received: 0
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by Kyusaku View Post
you need to do
Code:
 sudo mount -o remount,rw /
to make the filesystem writable. And then
Code:
sudo mount -o remount,ro /
when you're done
Thanks dude
olsen10287 is offline  
Closed Thread

 

Thread Tools
Display Modes



 


Content Relevant URLs by vBSEO 3.6.0